diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2010-09-04 15:49:13 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2010-09-04 15:49:13 +0000 |
commit | ca5bf9e291d7ba8cbd6bd287cec22298809fba81 (patch) | |
tree | 7b12789be106bf1f7688b2f3926cfb00d23c13cf /package/firewall/files/lib/core_init.sh | |
parent | 3e747a7f7534d1c7a5ac1b8e58b99a2585cac0c9 (diff) | |
download | mtk-20170518-ca5bf9e291d7ba8cbd6bd287cec22298809fba81.zip mtk-20170518-ca5bf9e291d7ba8cbd6bd287cec22298809fba81.tar.gz mtk-20170518-ca5bf9e291d7ba8cbd6bd287cec22298809fba81.tar.bz2 |
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
SVN-Revision: 22888
Diffstat (limited to 'package/firewall/files/lib/core_init.sh')
-rw-r--r-- | package/firewall/files/lib/core_init.sh | 2 |
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 72cef2f..bce94af 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" \ |