From c7336e9e03087a2affe124619f4446fd4b7dd29c Mon Sep 17 00:00:00 2001 From: gheorghe Date: Sun, 20 Feb 2022 13:53:02 +0200 Subject: [PATCH] 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 --- connect_to_wireguard_with_token.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/connect_to_wireguard_with_token.sh b/connect_to_wireguard_with_token.sh index 6d0c89e..30aa3a2 100755 --- a/connect_to_wireguard_with_token.sh +++ b/connect_to_wireguard_with_token.sh @@ -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}"