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

    OpenVPN client timing out in Windows 7

    Scheduled Pinned Locked Moved OpenVPN
    4 Posts 3 Posters 3.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.
    • T
      ttblum
      last edited by

      Hello,

        I have a user running Windows 7 64 bit who is complaining that their OpenVPN client keeps appearing while they're working, asking for username and password again.  They then have to re-login to their application.  I am logging 'Inactivity timeout (–ping-restart)' on the pfSense.  I've tried adding the 'keepalive 30 3600;' option to the OpenVPN server config, but this means the user's connection only lasts an hour.  I am assuming the Windows 7 firewall is blocking OpenVPN's keepalive packets?  Windows 7 is showing the TAP adapter as a 'Public Network'.

      Todd

      1 Reply Last reply
      Reply Quote 0
      • C
        cmb
        last edited by

        guessing you have "auth-nocache" in the client config, which will do what you describe by design.

        1 Reply Last reply
        Reply Quote 0
        • T
          ttblum
          last edited by

          Hello,

            Yes, you're right, I do have the 'auth-nocache' option enabled, I'll disable this.

          Thanks,

          Todd

          1 Reply Last reply
          Reply Quote 0
          • T
            toomeek
            last edited by

            Thank You!
            I was going to post about this issue, but I always use "auth-nocache" option as recommended by OpenVPN client :)
            I was thinking this is about communication issue (temporary time-out) or so. Or I was going to use TCP instead of UDP to fix this.

            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