forked from extern/shorewall_code
Fix silly tunnels file problem
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5872 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
67c7ced78b
commit
1e6b3fe0c2
@ -128,7 +128,7 @@ sub setup_tunnels() {
|
|||||||
$port = $p;
|
$port = $p;
|
||||||
$protocol = $proto;
|
$protocol = $proto;
|
||||||
} elsif ( $proto ) {
|
} elsif ( $proto ) {
|
||||||
$port = $proto;
|
$protocol = $proto;
|
||||||
}
|
}
|
||||||
|
|
||||||
add_rule $inchainref, "-p $protocol $source --dport $port -j ACCEPT";
|
add_rule $inchainref, "-p $protocol $source --dport $port -j ACCEPT";
|
||||||
@ -147,7 +147,7 @@ sub setup_tunnels() {
|
|||||||
$port = $p;
|
$port = $p;
|
||||||
$protocol = $proto;
|
$protocol = $proto;
|
||||||
} elsif ( $proto ) {
|
} elsif ( $proto ) {
|
||||||
$port = $proto;
|
$protocol = $proto;
|
||||||
}
|
}
|
||||||
|
|
||||||
add_rule $inchainref, "-p $protocol $source --sport $port -j ACCEPT";
|
add_rule $inchainref, "-p $protocol $source --sport $port -j ACCEPT";
|
||||||
@ -166,7 +166,7 @@ sub setup_tunnels() {
|
|||||||
$port = $p;
|
$port = $p;
|
||||||
$protocol = $proto;
|
$protocol = $proto;
|
||||||
} elsif ( $proto ) {
|
} elsif ( $proto ) {
|
||||||
$port = $proto;
|
$protocol = $proto;
|
||||||
}
|
}
|
||||||
|
|
||||||
add_rule $inchainref, "-p $protocol $source --dport $port -j ACCEPT";
|
add_rule $inchainref, "-p $protocol $source --dport $port -j ACCEPT";
|
||||||
|
Loading…
Reference in New Issue
Block a user