mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-16 10:38:26 +01:00
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:
parent
8f5d49a517
commit
7b116d1ae0
@ -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 ) {
|
||||
|
Loading…
Reference in New Issue
Block a user