mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-16 11:20:53 +01:00
Fix OUTPUT DNAT rule generated by nat entry
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6346 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
d80ebb0661
commit
0812b938ff
@ -349,7 +349,7 @@ sub do_one_nat( $$$$$ )
|
||||
add_nat_rule output_chain( $interface ) , "-s $internal $policyout -j SNAT --to-source $external";
|
||||
}
|
||||
|
||||
add_nat_rule 'OUTPUT' , "-d $external$policyout -j DNAT --to-destination $internal " if $localnat;
|
||||
add_nat_rule 'OUTPUT' , "-d $external $policyout -j DNAT --to-destination $internal " if $localnat;
|
||||
|
||||
if ( $add_ip_aliases ) {
|
||||
unless ( $addresses_to_add{$external} ) {
|
||||
|
Loading…
Reference in New Issue
Block a user