fff-firewall: Flush nat und mangle iptables table
We should flush all tables and not only filter to reset the complete firewall Signed-off-by: Christian Dresel <freifunk@dresel.systems>
This commit is contained in:
parent
55d03264d0
commit
5013238166
|
@ -1,7 +1,7 @@
|
||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=fff-firewall
|
PKG_NAME:=fff-firewall
|
||||||
PKG_RELEASE:=7
|
PKG_RELEASE:=8
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
|
|
|
@ -5,5 +5,17 @@ ebtables -X
|
||||||
iptables -F
|
iptables -F
|
||||||
iptables -X
|
iptables -X
|
||||||
|
|
||||||
|
iptables -F -t nat
|
||||||
|
iptables -X -t nat
|
||||||
|
|
||||||
|
iptables -F -t mangle
|
||||||
|
iptables -X -t mangle
|
||||||
|
|
||||||
ip6tables -F
|
ip6tables -F
|
||||||
ip6tables -X
|
ip6tables -X
|
||||||
|
|
||||||
|
ip6tables -F -t nat
|
||||||
|
ip6tables -X -t nat
|
||||||
|
|
||||||
|
ip6tables -F -t mangle
|
||||||
|
ip6tables -X -t mangle
|
||||||
|
|
Loading…
Reference in New Issue
Block a user