Connection drops after a while (inactivity timeout)



  • Not sure what is causing me to drop off, usually after an hour. Can anybody help me figure this one out, Here are my logs:

    I x'd out the wan address info in my log information for privacy reasons.

    Aug 20 14:48:21 	openvpn: user jhampsten authenticated
    Aug 20 14:48:21 	openvpn[14463]: xx.xxx.xxx.2:4892 [jhampsten] Peer Connection Initiated with xx.xxx.xxx.2:4892
    Aug 20 15:49:22 	openvpn[14463]: jhampsten/xx.xxx.xxx.2:4892 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
    Aug 20 15:49:22 	openvpn[14463]: jhampsten/xx.xxx.xxx.2:4892 TLS Error: TLS handshake failed
    Aug 20 15:50:22 	openvpn[14463]: jhampsten/xx.xxx.xxx.2:4892 [UNDEF] Inactivity timeout (--ping-restart), restarting
    Aug 20 15:51:46 	openvpn[14463]: xx.xxx.xxx.2:5043 Re-using SSL/TLS context
    Aug 20 15:51:46 	openvpn[14463]: xx.xxx.xxx.2:5043 LZO compression initialized
    Aug 20 15:51:48 	openvpn: user jhampsten authenticated
    Aug 20 15:51:48 	openvpn[14463]: xx.xxx.xxx.2:5043 [jhampsten] Peer Connection Initiated with xx.xxx.xxx.2:5043
    Aug 20 16:52:48 	openvpn[14463]: jhampsten/xx.xxx.xxx.2:5043 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
    Aug 20 16:52:48 	openvpn[14463]: jhampsten/xx.xxx.xxx.2:5043 TLS Error: TLS handshake failed
    Aug 20 16:53:48 	openvpn[14463]: jhampsten/xx.xxx.xxx.2:5043 [UNDEF] Inactivity timeout (--ping-restart), restarting
    Aug 20 17:06:40 	openvpn[14463]: xx.xxx.xxx.2:5223 Re-using SSL/TLS context
    Aug 20 17:06:40 	openvpn[14463]: xx.xxx.xxx.2:5223 LZO compression initialized
    Aug 20 17:06:42 	openvpn: user jhampsten authenticated
    Aug 20 17:06:42 	openvpn[14463]: xx.xxx.xxx.2:5223 [jhampsten] Peer Connection Initiated with xx.xxx.xxx.2:5223
    Aug 20 18:07:42 	openvpn[14463]: jhampsten/xx.xxx.xxx.2:5223 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
    Aug 20 18:07:42 	openvpn[14463]: jhampsten/xx.xxx.xxx.2:5223 TLS Error: TLS handshake failed
    Aug 20 18:08:42 	openvpn[14463]: jhampsten/xx.xxx.xxx.2:5223 [UNDEF] Inactivity timeout (--ping-restart), restarting
    
    

    and my config file:

    dev tun
    persist-tun
    persist-key
    cipher AES-256-CBC
    tls-client
    client
    resolv-retry infinite
    remote xx.xxx.xxx.3 1194 udp
    tls-remote vpn-ca
    auth-user-pass
    auth-nocache
    pkcs12 setlab2-udp-1194-stormsedge.p12
    tls-auth setlab2-udp-1194-stormsedge-tls.key 1
    comp-lzo
    

    When this happens it keeps the ip address, and I can see it in an IPconfig, however I can not ping the server, and the user authentication screen to put in my username & Password comes up. Trying to troubleshoot this so I can get it working and stay online Thanks in advance



  • anybody??


Log in to reply