mirror of
https://github.com/pia-foss/manual-connections.git
synced 2025-02-05 14:08:29 +00:00
updated AllowedIPs to fix iptables errors
This commit is contained in:
parent
448502d767
commit
f5653e2ed9
|
@ -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}
|
||||
|
|
Loading…
Reference in New Issue
Block a user