mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-25 02:12:58 +02:00
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:
committed by
Michael Tremer
parent
4682d02723
commit
e1eef9d53e
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user