forked from extern/shorewall_code
Remove dead global variable OPENVPNPORT
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@1849 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
91145626ef
commit
b93b8a2522
@ -188,3 +188,5 @@ Changes since 2.0.3
|
|||||||
dynamic chain.
|
dynamic chain.
|
||||||
|
|
||||||
92) Add OPENVPNPORT option.
|
92) Add OPENVPNPORT option.
|
||||||
|
|
||||||
|
93) Remove OPENVPNPORT option and change default port to 1194.
|
||||||
|
@ -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
|
||||||
@ -7122,7 +7123,6 @@ do_initialize() {
|
|||||||
LOGTAGONLY=
|
LOGTAGONLY=
|
||||||
LOGALLNEW=
|
LOGALLNEW=
|
||||||
DROPINVALID=
|
DROPINVALID=
|
||||||
OPENVPNPORT=
|
|
||||||
|
|
||||||
RESTOREBASE=
|
RESTOREBASE=
|
||||||
TMP_DIR=
|
TMP_DIR=
|
||||||
|
Loading…
Reference in New Issue
Block a user