1INTERFACE="$1" 2IPV4_ROUTE_1=$(awk -F'=' '/IPV4_ROUTE_1=/{gsub(/"/, "", $2);print $2}' nat.conf) 3 4kill $(cat /var/run/dnsmasq_zeth.pid) 5sysctl -w net.ipv4.ip_forward=0 6iptables -t nat -D POSTROUTING -j MASQUERADE -s $IPV4_ROUTE_1 7
1INTERFACE="$1" 2IPV4_ROUTE_1=$(awk -F'=' '/IPV4_ROUTE_1=/{gsub(/"/, "", $2);print $2}' nat.conf) 3 4kill $(cat /var/run/dnsmasq_zeth.pid) 5sysctl -w net.ipv4.ip_forward=0 6iptables -t nat -D POSTROUTING -j MASQUERADE -s $IPV4_ROUTE_1 7