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
This commit is contained in:
@@ -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 || {
|
||||
|
||||
Reference in New Issue
Block a user