X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/9a3973d64e53d52287ee8ba12c2c0cb7eb8998e9..f1f21f8cef03d3df90454231ead06e7aefedb69d:/package/firewall/files/uci_firewall.sh diff --git a/package/firewall/files/uci_firewall.sh b/package/firewall/files/uci_firewall.sh index f38bd6b9a..c19700359 100755 --- a/package/firewall/files/uci_firewall.sh +++ b/package/firewall/files/uci_firewall.sh @@ -154,9 +154,7 @@ fw_defaults() { $IPTABLES -P FORWARD DROP $IPTABLES -F - $IPTABLES -t mangle -F $IPTABLES -t nat -F - $IPTABLES -t mangle -X $IPTABLES -t nat -X $IPTABLES -X @@ -403,12 +401,12 @@ fw_init() { config_foreach fw_defaults defaults echo "Loading zones" config_foreach fw_zone zone - echo "Loading rules" - config_foreach fw_rule rule echo "Loading forwarding" config_foreach fw_forwarding forwarding echo "Loading redirects" config_foreach fw_redirect redirect + echo "Loading rules" + config_foreach fw_rule rule echo "Loading includes" config_foreach fw_include include uci_set_state firewall core loaded 1 @@ -419,9 +417,7 @@ fw_init() { fw_stop() { $IPTABLES -F - $IPTABLES -t mangle -F $IPTABLES -t nat -F - $IPTABLES -t mangle -X $IPTABLES -t nat -X $IPTABLES -X $IPTABLES -P INPUT ACCEPT