Fix 'ipsecnat' tunnels

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5639 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2007-03-22 22:31:08 +00:00
parent 8f5d49a517
commit 7b116d1ae0

View File

@ -64,7 +64,8 @@ sub setup_tunnels() {
if ( $kind eq 'ipsec' ) {
add_rule $inchainref, "-p udp $source --dport $options";
} else {
add_rule $inchainref, "-p udp $source -m multiport --dports 500,4500 $options";
add_rule $inchainref, "-p udp $source -m multiport --dports 500,4500 $options";
add_rule $outchainref, "-p udp $dest -m multiport --dports 500,4500 $options";
}
for my $zone ( split /,/, $gatewayzones ) {