From 291f78f21ab699d2650a7f308ac8c58ccf85275e Mon Sep 17 00:00:00 2001 From: jow Date: Sat, 4 Sep 2010 15:49:13 +0000 Subject: [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 --- package/firewall/files/reflection.hotplug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/firewall/files/reflection.hotplug') diff --git a/package/firewall/files/reflection.hotplug b/package/firewall/files/reflection.hotplug index af88fe024..dc6780a72 100644 --- a/package/firewall/files/reflection.hotplug +++ b/package/firewall/files/reflection.hotplug @@ -2,7 +2,7 @@ . /etc/functions.sh -if [ "$ACTION" = "ifup" ] && [ "$INTERFACE" = "wan" ]; then +if [ "$ACTION" = "add" ] && [ "$INTERFACE" = "wan" ]; then local wanip=$(uci -P/var/state get network.wan.ipaddr) iptables -t nat -F nat_reflection_in 2>/dev/null || { -- cgit v1.2.3