From 94cc75b63ae2fe59b839735bed6442be62f8b9e7 Mon Sep 17 00:00:00 2001 From: teastep Date: Wed, 27 Nov 2002 19:16:06 +0000 Subject: [PATCH] Fix bug in NAT exclusion -- Roger Aich git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@344 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- STABLE/firewall | 2 +- Shorewall/firewall | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/STABLE/firewall b/STABLE/firewall index 5832dad68..42ff1696d 100755 --- a/STABLE/firewall +++ b/STABLE/firewall @@ -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 diff --git a/Shorewall/firewall b/Shorewall/firewall index 5832dad68..42ff1696d 100755 --- a/Shorewall/firewall +++ b/Shorewall/firewall @@ -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