mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-14 19:54:06 +01:00
Fix bug in NAT exclusion -- Roger Aich
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@344 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
3666482643
commit
94cc75b63a
@ -2716,7 +2716,7 @@ setup_masq()
|
||||
|
||||
if [ -n "$nomasq" ]; then
|
||||
newchain=masq${masq_seq}
|
||||
run_iptables -t nat -N $newchain
|
||||
createnatchain $newchain
|
||||
addnatrule $chain -d $destnet $iface $subnet -j $newchain
|
||||
masq_seq=$(($masq_seq + 1))
|
||||
chain=$newchain
|
||||
|
@ -2716,7 +2716,7 @@ setup_masq()
|
||||
|
||||
if [ -n "$nomasq" ]; then
|
||||
newchain=masq${masq_seq}
|
||||
run_iptables -t nat -N $newchain
|
||||
createnatchain $newchain
|
||||
addnatrule $chain -d $destnet $iface $subnet -j $newchain
|
||||
masq_seq=$(($masq_seq + 1))
|
||||
chain=$newchain
|
||||
|
Loading…
Reference in New Issue
Block a user