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

    OpenVPN with LDAP authentication | Disabling AD user keeps connectin alive

    Scheduled Pinned Locked Moved OpenVPN
    3 Posts 2 Posters 754 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.
    • S
      salim
      last edited by

      -pfsense - 2.3.3-RELEASE(amd64)
      -Windows Server 2012 R2 Active Directory
      -Server Mode is Remote Access with SSL/TLS + User Authentication

      OpenVPN clients authenticate through AD credentials. Once connected, connection remains alive even after disabling that AD User. This (on average) remained 1+ hour up after multiple times testing. Is this a bug or misconfiguration somewhere? Please guide.

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        Once the client is initially authenticated, that is not checked again until the client disconnects and reconnects. There is no way for OpenVPN to know that the account was disabled. You would have to login to the pfSense firewall and manually disconnect the client.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • S
          salim
          last edited by

          Thanks for clarification. That's what I am currently doing killing OpenVPN connection manually from pfsense firewall. But was seeking some auto mechanism that you clarified there is no way for OpenVPN.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.