From a5464fe4ef4beb712806ee4beef9d9664899cc31 Mon Sep 17 00:00:00 2001 From: tavo Date: Wed, 17 Sep 2025 11:04:13 -0600 Subject: [PATCH] less config --- bypasser | 3 --- 1 file changed, 3 deletions(-) diff --git a/bypasser b/bypasser index 2b33da5..df82796 100755 --- a/bypasser +++ b/bypasser @@ -207,10 +207,7 @@ _vpn_new() { PrivateKey = ${_server_sec_key} ListenPort = ${_port} Address = ${BG_WG_SUBNET_PREFIX}.${_new}.1/${BG_WG_INTERFACE_SUBNET_MASK} - PreUp = PostUp = iptables -t nat -A POSTROUTING -s ${BG_WG_SUBNET_PREFIX}.${_new}.0/24 -o ${_server_interface} -j MASQUERADE; iptables -A INPUT -p udp -m udp --dport ${_port} -j ACCEPT; iptables -A FORWARD -i ${_vpn_interface} -j ACCEPT; iptables -A FORWARD -o ${_vpn_interface} -j ACCEPT; - PreDown = - PostDown = " >"$_vpn_file" chmod 600 "$_vpn_file"