mirror of
https://github.com/pivpn/pivpn.git
synced 2025-04-26 17:20:12 +00:00
Expose AllowedIPs settings inside setupVars.conf
This commit is contained in:
parent
443ef51e29
commit
3ed54bf71d
2 changed files with 5 additions and 1 deletions
|
@ -110,7 +110,7 @@ echo "[Peer]
|
|||
PublicKey = $(cat keys/server_pub)
|
||||
PresharedKey = $(cat "keys/${CLIENT_NAME}_psk")
|
||||
Endpoint = ${pivpnHOST}:${pivpnPORT}
|
||||
AllowedIPs = 0.0.0.0/0, ::0/0" >> "configs/${CLIENT_NAME}.conf"
|
||||
AllowedIPs = ${ALLOWED_IPS}" >> "configs/${CLIENT_NAME}.conf"
|
||||
echo "::: Client config generated"
|
||||
|
||||
echo "### begin ${CLIENT_NAME} ###
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue