Open VPN Client - Not Connecting

Need help configuring your VPN? Just post here and you'll get that help.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
shawnpabla
OpenVpn Newbie
Posts: 1
Joined: Mon Nov 07, 2022 2:38 pm

Open VPN Client - Not Connecting

Post by shawnpabla » Mon Nov 07, 2022 2:44 pm

[oconf=] Hi I am trying to connect to an Open VPN Client on my Asus Router, however it does not connect.
Any idea what the issue is here? Thank you.

System Log:
Nov 7 09:41:23 rc_service: httpd 285:notify_rc restart_vpncall
Nov 7 09:41:23 openvpn[28127]: event_wait : Interrupted system call (code=4)
Nov 7 09:41:23 openvpn[28127]: SIGTERM[hard,] received, process exiting
Nov 7 09:41:28 rc_service: httpd 285:notify_rc restart_vpncall
Nov 7 09:41:28 openvpn[28356]: OpenVPN 2.3.2 mipsel-unknown-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [eurephia] [MH] [IPv6] built on Mar 15 2017
Nov 7 09:41:28 openvpn[28356]: Control Channel Authentication: using 'static.key' as a OpenVPN static key file
Nov 7 09:41:28 openvpn[28356]: Outgoing Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication
Nov 7 09:41:28 openvpn[28356]: Incoming Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication
Nov 7 09:41:28 openvpn[28356]: Socket Buffers: R=[118784->237568] S=[118784->237568]
Nov 7 09:41:38 openvpn[28362]: UDPv4 link local: [undef]
Nov 7 09:41:38 openvpn[28362]: UDPv4 link remote: [AF_INET]50.118.143.41:1195
Nov 7 09:41:39 openvpn[28362]: TLS: Initial packet from [AF_INET]50.118.143.41:1195, sid=c70b03ab c067e2b6
Nov 7 09:41:39 openvpn[28362]: WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Nov 7 09:42:38 openvpn[28362]: TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Nov 7 09:42:38 openvpn[28362]: TLS Error: TLS handshake failed
Nov 7 09:42:38 openvpn[28362]: SIGUSR1[soft,tls-error] received, process restarting
Nov 7 09:42:38 openvpn[28362]: Restart pause, 2 second(s)
Nov 7 09:42:40 openvpn[28362]: Socket Buffers: R=[118784->237568] S=[118784->237568]
Nov 7 09:42:40 openvpn[28362]: UDPv4 link local: [undef]
Nov 7 09:42:40 openvpn[28362]: UDPv4 link remote: [AF_INET]50.118.143.41:1195
Nov 7 09:42:40 openvpn[28362]: TLS: Initial packet from [AF_INET]50.118.143.41:1195, sid=e1f91a29 3af84b79

User avatar
Pippin
Forum Team
Posts: 1201
Joined: Wed Jul 01, 2015 8:03 am
Location: irc://irc.libera.chat:6697/openvpn

Re: Open VPN Client - Not Connecting

Post by Pippin » Mon Nov 07, 2022 9:32 pm

Hi,

Code: Select all

OpenVPN 2.3.2
This is ancient, update if possible.
.

Code: Select all

TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Generally this means that the server was not reached.
The server log at --verb 4 might reveal more.

See here:
viewtopic.php?t=22603#p68963
I gloomily came to the ironic conclusion that if you take a highly intelligent person and give them the best possible, elite education, then you will most likely wind up with an academic who is completely impervious to reality.
Halton Arp

khelkun
OpenVpn Newbie
Posts: 1
Joined: Mon Jan 15, 2024 3:53 pm

Re: Open VPN Client - Not Connecting

Post by khelkun » Mon Jan 15, 2024 3:59 pm

Because I have an old debian distro with a openvpn server with 2.3.x version that cannot be upgraded, I faced the same issue with an 4G-AX56 asus router.
After several config tries, and looking to the server log it appears that the credentials were not provided although those were in the profile form filled in the AX56 router admin portal. It seems that providing the credentials this way in the profile file and specifying those credentials also in the AX56 form of the admin portal solves the issue:

Code: Select all

;auth-user-pass blob.txt
<auth-user-pass>
myuser
mypassword
</auth-user-pass>
Not sure it's gonna help others but who knows? ...

Post Reply