fff-firewall: Flush all installed tables.
With this patch all installed tables are flushed. We no longer have to worry about the modules installed or not. (nat, mangle ...) Signed-off-by: Robert Langhammer <rlanghammer@web.de>
This commit is contained in:
parent
51d3858ed4
commit
2fb7ced585
|
@ -2,8 +2,5 @@
|
|||
ebtables -F
|
||||
ebtables -X
|
||||
|
||||
iptables -F
|
||||
iptables -X
|
||||
|
||||
ip6tables -F
|
||||
ip6tables -X
|
||||
iptables-save | awk '/^[*]/ { print $1 } /^:[A-Z]+ [^-]/ { print $1 " ACCEPT" ; } /COMMIT/ { print $0; }' | iptables-restore
|
||||
ip6tables-save | awk '/^[*]/ { print $1 } /^:[A-Z]+ [^-]/ { print $1 " ACCEPT" ; } /COMMIT/ { print $0; }' | ip6tables-restore
|
||||
|
|
Loading…
Reference in New Issue