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

    [SOLVED] Connection drops after 1 Hour

    Scheduled Pinned Locked Moved OpenVPN
    3 Posts 2 Posters 5.1k 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
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.