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

    OpenVPN client timing out in Windows 7

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