Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    [SOLVED] Connection drops after 1 Hour

    Scheduled Pinned Locked Moved OpenVPN
    3 Posts 2 Posters 5.7k 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.
    • W
      Wasca
      last edited by

      Hi Guys

      I've noticed that for a road warrior connecting into my OpenVPN server the connection will drop after about 1 hour of inactivity. Is there a command I can use to prevent this idle dropout?

      I do already have resolve-retry infinite in my client config.

      Wasca

      1 Reply Last reply
      Reply Quote 0
      • M
        marvosa
        last edited by

        Good question.  I have clients that stay connected for 2-3 days with no disconnect issues, so I don't know.  I just used the standard Road Warrior setup thru the wizard… nothing fancy.

        Post your server and client configs...maybe there's something different in your setup.

        1 Reply Last reply
        Reply Quote 0
        • W
          Wasca
          last edited by

          I figured it out. I'm using TLS + username password, and I had auth-nocache set in the client config.

          After I removed that it was all good.

          1 Reply Last reply
          Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post
          Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
          Privacy Policy · Cookie Policy