on wireguard switch back to 0.0.0.0/0 from 0.0.0.0/1, 128.0.0.0/1, as this is blocking connections on some devices

This commit is contained in:
gheorghe 2022-02-20 13:53:02 +02:00
parent 9ee75c4df1
commit c7336e9e03
1 changed files with 1 additions and 1 deletions

View File

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