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

    Controll networksegment access based on usergroups via OpenVPN

    Scheduled Pinned Locked Moved OpenVPN
    2 Posts 2 Posters 286 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.
    • Y
      yannik.hinteregger
      last edited by

      Hi,

      if i had a network like the one in the model.
      The network can be accessed via OpenVPN. Furthermore the pfSense is linked to the windows domain via LDAP.
      So every Domain-User has the ability to use OpenVPN with his AD-Credentials.

      Networkmodel.png

      My question is: Is it possible to give users access to specific VLANs using AD-Groups. E.g.: A user of the group admin is able y to access every device on every VLAN, while a user of the group client is can only access the Service and Client VLAN.

      Thanks!

      1 Reply Last reply Reply Quote 0
      • JKnottJ
        JKnott
        last edited by

        You'd need some way to tell the user's devices which VLAN to connect to. There is DHCP option 43, but that's based on MAC address. By the time a user logs in, it's too late. The normal way to restrict access is to configure it in Active Directory. Why do you think you have to do it with VLANs?

        PfSense running on Qotom mini PC
        i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
        UniFi AC-Lite access point

        I haven't lost my mind. It's around here...somewhere...

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