updated AllowedIPs to fix iptables errors

This commit is contained in:
T. Nowah 2021-12-25 00:08:58 -06:00 committed by goonix
parent 448502d767
commit f5653e2ed9
1 changed files with 1 additions and 1 deletions

View File

@ -138,7 +138,7 @@ $dnsSettingForVPN
[Peer]
PersistentKeepalive = 25
PublicKey = $(echo "$wireguard_json" | jq -r '.server_key')
AllowedIPs = 0.0.0.0/0
AllowedIPs = 0.0.0.0/1, 128.0.0.0/1
Endpoint = ${WG_SERVER_IP}:$(echo "$wireguard_json" | jq -r '.server_port')
" > /etc/wireguard/pia.conf || exit 1
echo -e ${GREEN}OK!${NC}