Browse Source

peers.txt -> peers.cfg

dominik 1 year ago
parent
commit
55b575347a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      linux/wireguard/create-config/wg-createconfig.sh

+ 2 - 2
linux/wireguard/create-config/wg-createconfig.sh

@@ -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