• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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.0k 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 Mar 1, 2012, 8:50 AM Mar 1, 2012, 12:26 AM

    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 Mar 1, 2012, 7:02 AM

      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 Mar 1, 2012, 8:48 AM

        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
        3 out of 3
        • First post
          3/3
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
          This community forum collects and processes your personal information.
          consent.not_received