mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-20 09:47:51 +02:00
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…
x
Reference in New Issue
Block a user