From a5fc2e80c75d3eb44e53c8f7a6b9ee0bb5e40ee5 Mon Sep 17 00:00:00 2001 From: tavo Date: Wed, 17 Sep 2025 10:06:29 -0600 Subject: [PATCH] fix --- bypasser | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bypasser b/bypasser index ddcf20c..31a39d9 100755 --- a/bypasser +++ b/bypasser @@ -7,7 +7,7 @@ BP_WG_DEFAULT_MIN_PORT="${BP_WG_DEFAULT_MIN_PORT:-55107}" BP_WG_DEFAULT_MAX_PORT="${BP_WG_DEFAULT_MAX_PORT:-55207}" BG_WG_SUBNET_PREFIX="69.0" BG_WG_INTERFACE_SUBNET_MASK="24" -BG_WG_PEER_SUBNET_MASK="24" +BG_WG_PEER_SUBNET_MASK="32" _IPV4_RULE="net.ipv4.ip_forward" _IPV6_RULE="net.ipv6.conf.all.forwarding" @@ -411,7 +411,7 @@ _peer_new() { echo "[Peer] PublicKey = ${_server_pub_key} PresharedKey = ${_peer_pre_key} - AllowedIPs = ${BG_WG_SUBNET_PREFIX}.${_vpn_octet}.0/${BG_WG_PEER_SUBNET_MASK} + AllowedIPs = ${BG_WG_SUBNET_PREFIX}.${_vpn_octet}.0/${BG_WG_INTERFACE_SUBNET_MASK} Endpoint = ${_server_ipv4}:${_server_port} PersistentKeepalive = 25" >>"$_peer_file"