Forward Firewall: BUGFIX: When creating DMZ Rules with MANUAL IP as source and afterwards editing the rule, the rule was copied and not just edited.

BUGFIX: When using SNAT (outbound) the rule does not seem to work. The NAT_SOURCE chain was on wron position in POSTROUTING
This commit is contained in:
Alexander Marx
2013-05-27 10:33:50 +02:00
committed by Michael Tremer
parent 4682d02723
commit e1eef9d53e
2 changed files with 5 additions and 5 deletions

View File

@@ -243,7 +243,7 @@ case "$1" in
/sbin/iptables -t nat -N NAT_DESTINATION
/sbin/iptables -t nat -N NAT_SOURCE
/sbin/iptables -t nat -A PREROUTING -j NAT_DESTINATION
/sbin/iptables -t nat -A POSTROUTING -j NAT_SOURCE
/sbin/iptables -t nat -I POSTROUTING 2 -j NAT_SOURCE
# upnp chain for our upnp daemon