how to add more port
-
- OpenVpn Newbie
- Posts: 5
- Joined: Mon Aug 08, 2011 1:03 am
how to add more port
hello
is it possible to add more UDP port?
like port 69....
defult is:
Port for VPN client connections: tcp/443, udp/1194
is it possible to add more UDP port?
like port 69....
defult is:
Port for VPN client connections: tcp/443, udp/1194
- Mimiko
- Forum Team
- Posts: 1564
- Joined: Wed Sep 22, 2010 3:18 am
Re: how to add more port
Hello
Just create a copy of the configuration file and change port and proto options.
Just create a copy of the configuration file and change port and proto options.
-
- OpenVpn Newbie
- Posts: 5
- Joined: Mon Aug 08, 2011 1:03 am
Re: how to add more port
hi; you mean that i should edit Client.ovpn file in C:\Program Files\OpenVPN\config ? and no need to add port in server with ssh?
i searching for command to add port in server.
i edited ovpn client file and replaced port 1194 to 53 now give this error:
Sat Aug 20 07:46:53 2011 OpenVPN 2.1.4 i686-pc-mingw32 [SSL] [LZO2] [PKCS11] built on Nov 8 2010
Sat Aug 20 07:47:02 2011 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Sat Aug 20 07:47:02 2011 Control Channel Authentication: tls-auth using INLINE static key file
Sat Aug 20 07:47:02 2011 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Sat Aug 20 07:47:02 2011 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Sat Aug 20 07:47:02 2011 LZO compression initialized
Sat Aug 20 07:47:02 2011 Control Channel MTU parms [ L:1542 D:166 EF:66 EB:0 ET:0 EL:0 ]
Sat Aug 20 07:47:02 2011 Socket Buffers: R=[8192->100000] S=[8192->100000]
Sat Aug 20 07:47:02 2011 Data Channel MTU parms [ L:1542 D:1450 EF:42 EB:135 ET:0 EL:0 AF:3/1 ]
Sat Aug 20 07:47:02 2011 Local Options hash (VER=V4): '504e774e'
Sat Aug 20 07:47:02 2011 Expected Remote Options hash (VER=V4): '14168603'
Sat Aug 20 07:47:02 2011 UDPv4 link local: [undef]
Sat Aug 20 07:47:02 2011 UDPv4 link remote: 21x.95.5x.18:53
Sat Aug 20 07:47:03 2011 read UDPv4: Connection reset by peer (WSAECONNRESET) (code=10054)
Sat Aug 20 07:47:04 2011 read UDPv4: Connection reset by peer (WSAECONNRESET) (code=10054)
Sat Aug 20 07:47:06 2011 Server poll timeout, restarting
Sat Aug 20 07:47:06 2011 TCP/UDP: Closing socket
Sat Aug 20 07:47:06 2011 SIGUSR1[soft,server_poll] received, process restarting
Sat Aug 20 07:47:06 2011 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Sat Aug 20 07:47:06 2011 Control Channel Authentication: tls-auth using INLINE static key file
Sat Aug 20 07:47:06 2011 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Sat Aug 20 07:47:06 2011 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Sat Aug 20 07:47:06 2011 LZO compression initialized
tnx
i searching for command to add port in server.
i edited ovpn client file and replaced port 1194 to 53 now give this error:
Sat Aug 20 07:46:53 2011 OpenVPN 2.1.4 i686-pc-mingw32 [SSL] [LZO2] [PKCS11] built on Nov 8 2010
Sat Aug 20 07:47:02 2011 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Sat Aug 20 07:47:02 2011 Control Channel Authentication: tls-auth using INLINE static key file
Sat Aug 20 07:47:02 2011 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Sat Aug 20 07:47:02 2011 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Sat Aug 20 07:47:02 2011 LZO compression initialized
Sat Aug 20 07:47:02 2011 Control Channel MTU parms [ L:1542 D:166 EF:66 EB:0 ET:0 EL:0 ]
Sat Aug 20 07:47:02 2011 Socket Buffers: R=[8192->100000] S=[8192->100000]
Sat Aug 20 07:47:02 2011 Data Channel MTU parms [ L:1542 D:1450 EF:42 EB:135 ET:0 EL:0 AF:3/1 ]
Sat Aug 20 07:47:02 2011 Local Options hash (VER=V4): '504e774e'
Sat Aug 20 07:47:02 2011 Expected Remote Options hash (VER=V4): '14168603'
Sat Aug 20 07:47:02 2011 UDPv4 link local: [undef]
Sat Aug 20 07:47:02 2011 UDPv4 link remote: 21x.95.5x.18:53
Sat Aug 20 07:47:03 2011 read UDPv4: Connection reset by peer (WSAECONNRESET) (code=10054)
Sat Aug 20 07:47:04 2011 read UDPv4: Connection reset by peer (WSAECONNRESET) (code=10054)
Sat Aug 20 07:47:06 2011 Server poll timeout, restarting
Sat Aug 20 07:47:06 2011 TCP/UDP: Closing socket
Sat Aug 20 07:47:06 2011 SIGUSR1[soft,server_poll] received, process restarting
Sat Aug 20 07:47:06 2011 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Sat Aug 20 07:47:06 2011 Control Channel Authentication: tls-auth using INLINE static key file
Sat Aug 20 07:47:06 2011 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Sat Aug 20 07:47:06 2011 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Sat Aug 20 07:47:06 2011 LZO compression initialized
tnx
- Mimiko
- Forum Team
- Posts: 1564
- Joined: Wed Sep 22, 2010 3:18 am
Re: how to add more port
Oh, I thought that you wanted that OpenVPN server leasin on multiple ports.
Please state clearly where do you want more ports to add?
Please state clearly where do you want more ports to add?
-
- OpenVpn Newbie
- Posts: 5
- Joined: Mon Aug 08, 2011 1:03 am
Re: how to add more port
in my openvpn server.Mimiko wrote:Oh, I thought that you wanted that OpenVPN server leasin on multiple ports.
Please state clearly where do you want more ports to add?
add more port than 1194/443.
- Mimiko
- Forum Team
- Posts: 1564
- Joined: Wed Sep 22, 2010 3:18 am
Re: how to add more port
Go to /etc/openvpn on your OpenVPN server, and make copy of *.conf files changing in config files port and protocol.
-
- OpenVpn Newbie
- Posts: 5
- Joined: Mon Aug 08, 2011 1:03 am
Re: how to add more port
[root@ovpn ~]# cd /etc/openvpnMimiko wrote:Go to /etc/openvpn on your OpenVPN server, and make copy of *.conf files changing in config files port and protocol.
-bash: cd: /etc/openvpn: No such file or directory
centos 5.5
Access Server version: 1.5.6
openvpn version 1.1.15
-
- OpenVpn Newbie
- Posts: 5
- Joined: Mon Aug 08, 2011 1:03 am
Re: how to add more port
any idea?
thanks
thanks
- Mimiko
- Forum Team
- Posts: 1564
- Joined: Wed Sep 22, 2010 3:18 am
Re: how to add more port
Oh, you had to say that you use OpenVPN AS. I think you can use only two ports, one for TCP and one for UDP. See the administration page of OpenVPN AS from your server.
- Bebop
- Forum Team
- Posts: 301
- Joined: Wed Dec 15, 2010 9:24 pm