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

    Firewall rules for open VPN users by LDAP Security Groups.

    Scheduled Pinned Locked Moved General pfSense Questions
    3 Posts 3 Posters 1.6k 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.
    • V
      vinnyvekaria
      last edited by

      Hi Guys,

      We have an Open VPN server setup configured with LDAP. We have got VPN access working with a AD VPN group. How do we get Open VPN working with Multiple AD Groups.

      What we are trying to do is restrict one AD Group to only allow RDP over VPN and another group to have free reign over VPN.

      Cheers
      Vinny

      1 Reply Last reply Reply Quote 0
      • M
        marvosa
        last edited by

        Someone chime in if I am mistaken, but I do not think PFsense can deploy separate firewall rules based on what AD Group or OU the user auth's from.  PFsense is a firewall only and not a UTM with a rack system like other products.

        My suggestion, configure a 2nd OpenVPN server that auth's to a separate group/OU and limit the routes from that 2nd server to the resources you want the users to connect to.  You could also use firewall rules to log when people are trying to access things they shouldn't, but since there's no route to those other resources, the traffic would never get there anyway.

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

          There isn't any mechanism for LDAP to give that info to pfSense.

          It does work for OpenVPN logins using RADIUS with the rules passed back in Cisco acl style using an avpair reply attribute (Search around, there are examples on the forum), but LDAP doesn't have a way to do that at this time.

          You could set that up in NPS, most likely.

          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
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.