What's new

OpenVPN Client wont connect

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

cosycactus

New Around Here
Hi,

I have the following setup

1. Static IP Internet connection connected to WAN port of the router (AC68U with Merlin 3.0.0.4.374.39_0 firmware.

after configuring the Open VPN Client I get the following error in the system log

Mar 25 07:26:09 openvpn[4018]: Socket Buffers: R=[120832->131072] S=[120832->131072]
Mar 25 07:26:09 openvpn[4018]: UDPv4 link local: [undef]
Mar 25 07:26:09 openvpn[4018]: UDPv4 link remote: [AF_INET]46.28.49.140:2049
Mar 25 07:27:09 openvpn[4018]: TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Mar 25 07:27:09 openvpn[4018]: TLS Error: TLS handshake failed
Mar 25 07:27:09 openvpn[4018]: SIGUSR1[soft,tls-error] received, process restarting
Mar 25 07:27:09 openvpn[4018]: Restart pause, 2 second(s)
Mar 25 07:27:11 openvpn[4018]: Socket Buffers: R=[120832->131072] S=[120832->131072]
Mar 25 07:27:12 openvpn[4018]: UDPv4 link local: [undef]
Mar 25 07:27:12 openvpn[4018]: UDPv4 link remote: [AF_INET]46.28.49.140:2049
Mar 25 07:28:12 openvpn[4018]: TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Mar 25 07:28:12 openvpn[4018]: TLS Error: TLS handshake failed
Mar 25 07:28:12 openvpn[4018]: SIGUSR1[soft,tls-error] received, process restarting
Mar 25 07:28:12 openvpn[4018]: Restart pause, 2 second(s)
Mar 25 07:28:14 openvpn[4018]: Socket Buffers: R=[120832->131072] S=[120832->131072]
Mar 25 07:28:14 openvpn[4018]: UDPv4 link local: [undef]
Mar 25 07:28:14 openvpn[4018]: UDPv4 link remote: [AF_INET]83.170.117.176:2049

Configuration

1. Firewall is off in the router

# Automatically generated configuration
daemon
client
dev tun11
proto udp
remote vpn.ivpn.net 2049
resolv-retry infinite
nobind
persist-key
persist-tun
comp-lzo adaptive
cipher AES-256-CBC
redirect-gateway def1
verb 3
ca ca.crt
cert client.crt
key client.key
auth-user-pass up
status-version 2
status status

# Custom Configuration
client
nobind
persist-tun
persist-key
pull
ns-cert-type server


I am able to connect my laptop as openVPN client behind the router..

Not sure where is the problem
 
Thanks for the reply.

1. if i choose to do TCP, then I have to change change the port to 443 as well cause the service provider needs it at port 443.

I get the following error for TCP

ar 25 12:01:18 openvpn[29106]: Attempting to establish TCP connection with [AF_INET]46.28.49.140:443 [nonblock]
Mar 25 12:01:19 openvpn[29106]: TCP connection established with [AF_INET]46.28.49.140:443
Mar 25 12:01:19 openvpn[29106]: TCPv4_CLIENT link local: [undef]
Mar 25 12:01:19 openvpn[29106]: TCPv4_CLIENT link remote: [AF_INET]46.28.49.140:443
Mar 25 12:01:20 openvpn[29106]: Connection reset, restarting [0]
Mar 25 12:01:20 openvpn[29106]: SIGUSR1[soft,connection-reset] received, process restarting
Mar 25 12:01:20 openvpn[29106]: Restart pause, 5 second(s)
Mar 25 12:01:25 openvpn[29106]: Socket Buffers: R=[87380->131072] S=[16384->131072]
Mar 25 12:01:25 openvpn[29106]: Attempting to establish TCP connection with [AF_INET]83.170.117.176:443 [nonblock]
Mar 25 12:01:26 openvpn[29106]: TCP connection established with [AF_INET]83.170.117.176:443
Mar 25 12:01:26 openvpn[29106]: TCPv4_CLIENT link local: [undef]
Mar 25 12:01:26 openvpn[29106]: TCPv4_CLIENT link remote: [AF_INET]83.170.117.176:443
Mar 25 12:01:26 openvpn[29106]: Connection reset, restarting [0]
Mar 25 12:01:26 openvpn[29106]: SIGUSR1[soft,connection-reset] received, process restarting
Mar 25 12:01:26 openvpn[29106]: Restart pause, 5 second(s)
 

Similar threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top