forked from freifunk-franken/firmware
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
5469399112
commit
93106ff9d6
|
@ -1,7 +1,7 @@
|
|||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=fff-firewall
|
||||
PKG_RELEASE:=5
|
||||
PKG_RELEASE:=6
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
|
||||
|
||||
|
|
|
@ -5,5 +5,11 @@ ebtables -X
|
|||
iptables -F
|
||||
iptables -X
|
||||
|
||||
iptables -F -t nat
|
||||
iptables -X -t nat
|
||||
|
||||
iptables -F -t mangle
|
||||
iptables -X -t mangle
|
||||
|
||||
ip6tables -F
|
||||
ip6tables -X
|
||||
|
|
Loading…
Reference in New Issue
Block a user