aboutsummaryrefslogtreecommitdiffstats
path: root/package/firewall/files/lib/core_init.sh
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-09-04 15:49:13 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-09-04 15:49:13 +0000
commite5450d5a1b84eabeec1376a4725435356a19a0d2 (patch)
tree88a17580d23ee629e53c39245958dcb5e4082ecd /package/firewall/files/lib/core_init.sh
parent047f0425682a9998f012de50b538b5bcde32717f (diff)
downloadupstream-e5450d5a1b84eabeec1376a4725435356a19a0d2.tar.gz
upstream-e5450d5a1b84eabeec1376a4725435356a19a0d2.tar.bz2
upstream-e5450d5a1b84eabeec1376a4725435356a19a0d2.zip
[package] firewall:
- handle NAT reflection in firewall hotplug, solves synchronizing issues on boot - introduce masq_src and masq_dest options to limit zone masq to specific ip ranges, supports multiple subnets and negation git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22888 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/firewall/files/lib/core_init.sh')
-rw-r--r--package/firewall/files/lib/core_init.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/firewall/files/lib/core_init.sh b/package/firewall/files/lib/core_init.sh
index 72cef2f8cc..bce94afe02 100644
--- a/package/firewall/files/lib/core_init.sh
+++ b/package/firewall/files/lib/core_init.sh
@@ -142,6 +142,8 @@ fw_config_get_zone() {
string output "$FW_DEFAULT_OUTPUT_POLICY" \
string forward "$FW_DEFAULT_FORWARD_POLICY" \
boolean masq 0 \
+ string masq_src "" \
+ string masq_dest "" \
boolean conntrack 0 \
boolean mtu_fix 0 \
boolean custom_chains "$FW_ADD_CUSTOM_CHAINS" \