• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Connection drops after a while (inactivity timeout)

Scheduled Pinned Locked Moved OpenVPN
2 Posts 1 Posters 2.2k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H
    hampstenj
    last edited by Aug 21, 2013, 1:45 PM Aug 21, 2013, 1:43 PM

    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

    1 Reply Last reply Reply Quote 0
    • H
      hampstenj
      last edited by Aug 21, 2013, 5:42 PM

      anybody??

      1 Reply Last reply Reply Quote 0
      2 out of 2
      • First post
        2/2
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
        This community forum collects and processes your personal information.
        consent.not_received