OpenVPN - Inactivity Timeout (--ping-restart), restarting

Need help configuring your VPN? Just post here and you'll get that help.
Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See https://forums.openvpn.net/viewtopic.php?f=30&t=21589 for an example.
saeed_k
OpenVpn Newbie
Posts: 3
Joined: Mon Apr 21, 2014 11:05 am

OpenVPN - Inactivity Timeout (--ping-restart), restarting

Postby saeed_k » Mon Apr 21, 2014 11:26 am

Dear All,

I am using OpenVPN to connect to my office network. It's working perfectly from 5-6 month but suddenly from 2 days it's not able to work.

It's got connected but then disconnecting. below is the log that I can see. (Inactivity Timeout (--ping-restart), restarting)

Can any one guide what will be the issue. I have tried it from 4-5 different networks. But not able to workout.

openvpn: user dominguez_l authenticated
Apr 21 14:24:20 openvpn[38216]: 217.165.68.4:54208 [dominguez_l] Peer Connection Initiated with [AF_INET]217.165.68.4:54208
Apr 21 14:24:20 openvpn[38216]: dominguez_l/217.165.68.4:54208 MULTI_sva: pool returned IPv4=10.0.X.X, IPv6=34da:bfbf:42:4728:b8d7:bfbf:2391:608
Apr 21 14:24:22 openvpn[38216]: dominguez_l/217.165.68.4:54208 send_push_reply(): safe_cap=960
Apr 21 14:26:29 openvpn[38216]: dominguez_l/217.165.68.4:54208 [dominguez_l] Inactivity timeout (--ping-restart), restarting
Apr 21 14:32:47 openvpn[38216]: 217.165.68.4:54208 Re-using SSL/TLS context
Apr 21 14:32:47 openvpn[38216]: 217.165.68.4:54208 LZO compression initialized
Apr 21 14:33:47 openvpn[38216]: 217.165.68.4:54208 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Apr 21 14:33:47 openvpn[38216]: 217.165.68.4:54208 TLS Error: TLS handshake failed

Thanks

saeed_k
OpenVpn Newbie
Posts: 3
Joined: Mon Apr 21, 2014 11:05 am

Re: OpenVPN - Inactivity Timeout (--ping-restart), restartin

Postby saeed_k » Mon Apr 21, 2014 12:05 pm

OpenVPN Version 2.2.0

saeed_k
OpenVpn Newbie
Posts: 3
Joined: Mon Apr 21, 2014 11:05 am

Re: OpenVPN - Inactivity Timeout (--ping-restart), restartin

Postby saeed_k » Mon Apr 21, 2014 12:55 pm

Client Config as below:

dev tun
persist-tun
persist-key
proto udp
cipher AES-128-CBC
tls-client
client
resolv-retry infinite
remote adsil.wsdip.com 1194
auth-user-pass
pkcs12 adsil-udp-1194.p12
tls-auth adsil-udp-1194-tls.key 1
comp-lzo

Can you please guide me from where I can download/export the server configuration file or location. I am not able to find it. I am new to configuring OpenVPN:)

help_me_please
OpenVpn Newbie
Posts: 5
Joined: Tue Oct 20, 2015 7:36 am

Re: OpenVPN - Inactivity Timeout (--ping-restart), restarting

Postby help_me_please » Sun Jul 16, 2017 8:31 pm

I have the same problem. Openvpn client connects then after 5mins there is an inactivity timeout, it tries to reconnect and fails with a TLS error. Anyone any ideas?

help_me_please
OpenVpn Newbie
Posts: 5
Joined: Tue Oct 20, 2015 7:36 am

Re: OpenVPN - Inactivity Timeout (--ping-restart), restarting

Postby help_me_please » Tue Jul 18, 2017 3:28 pm

I resolved my problem - this was due to an IP clash. The destination and source network IP was the same (192.168.0.X) Once I changed the destintion it all worked. :D


Return to “Configuration”

Who is online

Users browsing this forum: Bing [Bot] and 6 guests