Clear raw table on 'clear'

This commit is contained in:
Tom Eastep 2010-09-17 17:12:34 -07:00
parent a42576aef8
commit 580c561a51
2 changed files with 2 additions and 0 deletions

View File

@ -614,6 +614,7 @@ clear_firewall() {
setpolicy OUTPUT ACCEPT
run_iptables -F
qt $IPTABLES -t raw -F
echo 1 > /proc/sys/net/ipv4/ip_forward

View File

@ -584,6 +584,7 @@ clear_firewall() {
setpolicy OUTPUT ACCEPT
run_iptables -F
qt $IP6TABLES -t raw -F
echo 1 > /proc/sys/net/ipv6/conf/all/forwarding