Fix DNAT with 'fw' source

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@226 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2002-09-01 17:30:11 +00:00
parent ff412cba4d
commit be3f7e6580

View File

@ -1536,7 +1536,7 @@ add_nat_rule() {
# Generate nat table rules
if [ "$source" = "$FW" ]; then
run_iptables -t nat -A OUTPUT $proto $sports -d addr
run_iptables -t nat -A OUTPUT $proto $sports -d addr \
$multiport $dports -j $target1
else
chain=`dnat_chain $source`