Openvpn connection breaks

This forum is for admins who are looking to build or expand their OpenVPN setup.
Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
d.koryakin
OpenVpn Newbie
Posts: 1
Joined: Thu Mar 19, 2020 7:47 am

Openvpn connection breaks

Post by d.koryakin » Thu Mar 19, 2020 9:20 am

We have a problem connecting to our customer’s network through openvpn. Some time after the connection is established, an error appears in the log and the connection is disconnected. Then it connects again and so on. The problem is observed only with one customer, with other clients the connection (also through OpenVPN) does not break. I also want to inform that using another provider (mobile operator) the connection does not break.
Any ideas on how to solve this problem?

Code: Select all

Thu Mar 19 12:13:21 2020 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Thu Mar 19 12:13:21 2020 TLS Error: TLS handshake failed
Client config

dev tun
proto udp
remote x.x.x.x 1194
float
resolv-retry 10
nobind
persist-key
persist-tun
tls-client
key-direction 1
compress lzo
verb 3
route 10.1.0.0 255.255.0.0
route 10.2.0.0 255.255.0.0
route 10.8.0.0 255.255.252.0
route 10.9.0.0 255.255.252.0
Last edited by Pippin on Thu Mar 19, 2020 11:35 am, edited 1 time in total.
Reason: Formatting

User avatar
Pippin
Forum Team
Posts: 759
Joined: Wed Jul 01, 2015 8:03 am

Re: Openvpn connection breaks

Post by Pippin » Thu Mar 19, 2020 11:38 am

The problem is observed only with one customer, with other clients the connection (also through OpenVPN) does not break. I also want to inform that using another provider (mobile operator) the connection does not break.
Any ideas on how to solve this problem?
Talk to that customers provider.

Post Reply