From 6714113fe534eb0788fccb50ae5e81274968f67c Mon Sep 17 00:00:00 2001 From: teastep Date: Fri, 19 Mar 2004 14:43:03 +0000 Subject: [PATCH] Rethink how SNAT netmap works git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@1208 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall2/firewall | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shorewall2/firewall b/Shorewall2/firewall index 6795046ad..d248f58f3 100755 --- a/Shorewall2/firewall +++ b/Shorewall2/firewall @@ -1791,7 +1791,7 @@ setup_netmap() { addnatrule $(input_chain $interface) -d $net1 -j NETMAP --to $net2 ;; SNAT) - addnatrule $(output_chain $interface) -d $net1 -j NETMAP --to $net2 + addnatrule $(output_chain $interface) -s $net1 -j NETMAP --to $net2 ;; *) fatal_error "Unvalid type $type in entry \"$type $net1 $interface $net2\""