Rethink how SNAT netmap works

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@1208 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2004-03-19 14:43:03 +00:00
parent 46692547bc
commit 6714113fe5

View File

@ -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\""