remove quotes around server config AllowedIps

This commit is contained in:
Stephen Toth 2023-09-02 20:13:10 -05:00
parent f16041cedd
commit 80f1b5a902
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ cat << EOF | tee "client-$Name.srv"
# $Name # # $Name #
PublicKey = $(cat "client-$Name.pub") PublicKey = $(cat "client-$Name.pub")
PresharedKey = $(cat "client-$Name.psk") PresharedKey = $(cat "client-$Name.psk")
AllowedIPs = "$Ip/32" AllowedIPs = $Ip/32
EOF EOF
echo; echo;
echo "[*] Generated server lines and outputed to file \"${OutputDir}client-$Name.srv\"" echo "[*] Generated server lines and outputed to file \"${OutputDir}client-$Name.srv\""