|
@@ -62,7 +62,7 @@ Address = $serverip
|
|
|
DNS = $dns
|
|
|
EOL
|
|
|
|
|
|
-## Create peers' key-pair, psk and config from peers.txt
|
|
|
+## Create peers' key-pair, psk and config from peers.cfg
|
|
|
while read peer;
|
|
|
do
|
|
|
ip=`echo $peer | cut -d' ' -f1`
|
|
@@ -79,4 +79,4 @@ PublicKey = `cat $confdir/$host.pub`
|
|
|
AllowedIPs = $ip
|
|
|
PresharedKey = `cat $confdir/$host.psk`
|
|
|
EOL
|
|
|
- done < peers.txt
|
|
|
+ done < peers.cfg
|