mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
[package] firewall: process custom rules after forwardings and redirects, this actually allows blocking traffic to certain hosts and other rules
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15278 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||
PKG_NAME:=firewall
|
||||
|
||||
PKG_VERSION:=1
|
||||
PKG_RELEASE:=2
|
||||
PKG_RELEASE:=3
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
|
||||
@@ -401,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
|
||||
|
||||
Reference in New Issue
Block a user