FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14455 questions

17168 answers

28195 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
0 votes
318 views 2 comments
by anonymous
Hi, here is, my first question.

VPN server running on ubuntu server, where I generated 2 ovpn files for 2 clients.

 App openvpn, on my mobile, is able to connect to vpn-server, RUT360 doesn't.

I configure  RUT VPN by means of  ovpn file. No other configuration , neither firewall nor port forwarding.

VPN is always disconnected. In the following, you can see system log file contents.

Can you help me to connect VPN?

Thank you in advance, Corri

Sat Mar 19 10:16:05 2022 daemon.notice openvpn(Cataldi)[32294]: Socket Buffers: R=[180224->180224] S=[180224->180224]

Sat Mar 19 10:16:05 2022 daemon.notice openvpn(Cataldi)[32294]: UDP link local: (not bound)

Sat Mar 19 10:16:05 2022 daemon.notice openvpn(Cataldi)[32294]: UDP link remote: [AF_INET]93.38.114.75:1194

Sat Mar 19 10:17:05 2022 daemon.err openvpn(Cataldi)[32294]: TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)

Sat Mar 19 10:17:05 2022 daemon.err openvpn(Cataldi)[32294]: TLS Error: TLS handshake failed

Sat Mar 19 10:17:05 2022 daemon.notice openvpn(Cataldi)[32294]: SIGUSR1[soft,tls-error] received, process restarting

Sat Mar 19 10:17:05 2022 daemon.notice openvpn(Cataldi)[32294]: Restart pause, 300 second(s)

Sat Mar 19 10:22:05 2022 daemon.notice openvpn(Cataldi)[32294]: Outgoing Control Channel Authentication: Using 256 bit message hash 'SHA256' for HMAC authentication

Sat Mar 19 10:22:05 2022 daemon.notice openvpn(Cataldi)[32294]: Incoming Control Channel Authentication: Using 256 bit message hash 'SHA256' for HMAC authentication

Sat Mar 19 10:22:05 2022 daemon.notice openvpn(Cataldi)[32294]: TCP/UDP: Preserving recently used remote address: [AF_INET]93.38.114.75:1194

Sat Mar 19 10:22:05 2022 daemon.notice openvpn(Cataldi)[32294]: Socket Buffers: R=[180224->180224] S=[180224->180224]

Sat Mar 19 10:22:05 2022 daemon.notice openvpn(Cataldi)[32294]: UDP link local: (not bound)

Sat Mar 19 10:22:05 2022 daemon.notice openvpn(Cataldi)[32294]: UDP link remote: [AF_INET]93.38.114.75:1194

Sat Mar 19 10:23:05 2022 daemon.err openvpn(Cataldi)[32294]: TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)

Sat Mar 19 10:23:05 2022 daemon.err openvpn(Cataldi)[32294]: TLS Error: TLS handshake failed

Sat Mar 19 10:23:05 2022 daemon.notice openvpn(Cataldi)[32294]: SIGUSR1[soft,tls-error] received, process restarting

Sat Mar 19 10:23:05 2022 daemon.notice openvpn(Cataldi)[32294]: Restart pause, 300 second(s)
by anonymous
Other info,  fw version RUT36X_R_00.07.01.4
by anonymous
more info, openvpn is disconnected. After router reboot, VPN is connected for a while, 1 or 2 minutes, after that it becomes disconnected and there is no way to reconnect it again, even if I delete and create it  again. The only way to connect VPN is after reboot.

If requested, troubleshoot file is available. Also ovpn file of course.

1 Answer

0 votes
by anonymous

Hi, 

Regarding the issue, you are having it seems the issue is caused by a TLS Certificate mismatch. 

Sat Mar 19 10:17:05 2022 daemon.err openvpn(Cataldi)[32294]: TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)

Kindly try generating new TLS certificates by following the steps mentioned in this link: 
How to generate TLS certificates (Windows)? - Teltonika Networks Wiki (teltonika-networks.com)

If the issue is still persisting after regenerating the scripts. Kindly try to generate a copy of the troubleshoot file of the VPN Client and with the logs of OpenVPN from the server side.

I hope this helps.

Regards,
Jerome