4 # reset.fw: reset the default firewall rules
8 # Note: your PATH is inherited from the gateway process
11 # Flush all user-defined chains
13 iptables
-t filter
-D FORWARD
-j NoCat
2>/dev
/null
15 iptables
-t nat
-D PREROUTING
-j NoCat_Capture
2>/dev
/null
17 # Only nat if we're not routing
19 if [ -z "$RouteOnly" ]; then
20 iptables
-t nat
-D POSTROUTING
-j NoCat_NAT
2>/dev
/null
23 iptables
-t mangle
-D PREROUTING
-j NoCat
2>/dev
/null