Change default port for OpenVPN to 1194

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@1841 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2004-12-19 20:38:52 +00:00
parent 54190bd228
commit 7369295919
3 changed files with 8 additions and 18 deletions

View File

@ -1655,7 +1655,7 @@ setup_tunnels() # $1 = name of tunnels file
setup_one_openvpn() # $1 = gateway, $2 = kind[:port]
{
local protocol=udp
local p=${OPENVPNPORT:-5000}
local p=1194
case $2 in
*:*:*)

View File

@ -270,6 +270,10 @@ Issues when migrating from Shorewall 2.0 to Shorewall 2.2:
shorewall.conf that does not set IPTABLES then you should
experience no change in behavior).
8) The default port for OpenVPN tunnels has been changed from 5000 to
1194 to reflect the recent IANA allocation of that port for
OpenVPN.
-----------------------------------------------------------------------
New Features:
@ -835,7 +839,7 @@ New Features:
Examples:
openvpn:tcp net 1.2.3.4 # TCP tunnel on port 5000
openvpn:tcp net 1.2.3.4 # TCP tunnel on port 1194
openvpn:3344 net 1.2.3.4 # UDP on port 3344
openvpn:tcp:4455 net 1.2.3.4 # TCP on port 4455
@ -855,8 +859,5 @@ New Features:
39) The IANA has recently registered port 1194 for use by OpenVPN. In
previous versions of Shorewall (and OpenVPN), the default port was
5000. To deal with this change of default, the OPENVPNPORT option
has been added to shorewall.conf. If this option is not set then
the OpenVPN port will continue to default to 5000. Otherwise, it
will default to the value of this option (which is set to 1194 in
the released shorewall.conf file).
5000 but has been changed to 1194 to conform to the new OpenVPN
default.

View File

@ -737,17 +737,6 @@ PKTTYPE=Yes
# DROPINVALID=Yes is assumed.
DROPINVALID=No
#
# OpenVPN Default Port
#
# Open VPN has recenly received a registered port (1194) from the IANA. This
# will be the default port in future versions of OpenVPN. In order to maintain
# compatibility with previous Shorewall versions, if OPENVPNPORT is not
# specified, then the default port will be 5000.
OPENVPNPORT=1194
################################################################################
# P A C K E T D I S P O S I T I O N
################################################################################