forked from extern/shorewall_code
Clear raw table on 'clear'
This commit is contained in:
parent
a42576aef8
commit
580c561a51
@ -614,6 +614,7 @@ clear_firewall() {
|
|||||||
setpolicy OUTPUT ACCEPT
|
setpolicy OUTPUT ACCEPT
|
||||||
|
|
||||||
run_iptables -F
|
run_iptables -F
|
||||||
|
qt $IPTABLES -t raw -F
|
||||||
|
|
||||||
echo 1 > /proc/sys/net/ipv4/ip_forward
|
echo 1 > /proc/sys/net/ipv4/ip_forward
|
||||||
|
|
||||||
|
@ -584,6 +584,7 @@ clear_firewall() {
|
|||||||
setpolicy OUTPUT ACCEPT
|
setpolicy OUTPUT ACCEPT
|
||||||
|
|
||||||
run_iptables -F
|
run_iptables -F
|
||||||
|
qt $IP6TABLES -t raw -F
|
||||||
|
|
||||||
echo 1 > /proc/sys/net/ipv6/conf/all/forwarding
|
echo 1 > /proc/sys/net/ipv6/conf/all/forwarding
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user