forked from extern/shorewall_code
Shorewall 2.2.0 RC2
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@1852 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
d6f9f805f1
commit
1c9d1e9949
@ -1595,6 +1595,7 @@ setup_tunnels() # $1 = name of tunnels file
|
|||||||
options="-m state --state NEW -j ACCEPT"
|
options="-m state --state NEW -j ACCEPT"
|
||||||
addrule2 $inchain -p 50 $(source_ip_range $1) -j ACCEPT
|
addrule2 $inchain -p 50 $(source_ip_range $1) -j ACCEPT
|
||||||
addrule2 $outchain -p 50 $(dest_ip_range $1) -j ACCEPT
|
addrule2 $outchain -p 50 $(dest_ip_range $1) -j ACCEPT
|
||||||
|
|
||||||
if [ -z "$noah" ]; then
|
if [ -z "$noah" ]; then
|
||||||
run_iptables -A $inchain -p 51 $(source_ip_range $1) -j ACCEPT
|
run_iptables -A $inchain -p 51 $(source_ip_range $1) -j ACCEPT
|
||||||
run_iptables -A $outchain -p 51 $(dest_ip_range $1) -j ACCEPT
|
run_iptables -A $outchain -p 51 $(dest_ip_range $1) -j ACCEPT
|
||||||
@ -1655,7 +1656,7 @@ setup_tunnels() # $1 = name of tunnels file
|
|||||||
setup_one_openvpn() # $1 = gateway, $2 = kind[:port]
|
setup_one_openvpn() # $1 = gateway, $2 = kind[:port]
|
||||||
{
|
{
|
||||||
local protocol=udp
|
local protocol=udp
|
||||||
local p=5000
|
local p=1194
|
||||||
|
|
||||||
case $2 in
|
case $2 in
|
||||||
*:*:*)
|
*:*:*)
|
||||||
|
@ -1 +1 @@
|
|||||||
2.2.0-RC1
|
2.2.0-RC2
|
||||||
|
Loading…
Reference in New Issue
Block a user