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

View File

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