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

    Block Users in OpenVPN

    Scheduled Pinned Locked Moved OpenVPN
    3 Posts 2 Posters 1.8k 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.
    • N
      Niquest
      last edited by

      I set up an OpenVPN server, a CA to handle the certificates, and a server and user certificate to use with it.  I created a user for openvpn access using that certificate, and it can access the openvpn server without issue, exactly as expected.

      But, the built in System Administrator user admin (which doesn't even have a certificate by default that I can see) can ALSO access the open vpn, and I want to block that.

      I read a few forum posts, and tried adding a certificate to the admin user, and then created a certificate revocation list with that certificate and set that revocation list in the OpenVPN settings, but the admin user can still access the openvpn system.  How can I block the admin user, or other users, from being able to log into the openvpn server?

      1 Reply Last reply Reply Quote 0
      • V
        viragomann
        last edited by

        Check "Strict User-CN Matching".

        1 Reply Last reply Reply Quote 0
        • N
          Niquest
          last edited by

          That was it, thank you!

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