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"