• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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 294 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 Oct 29, 2019, 7:04 AM

    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
    • J
      JKnott
      last edited by Oct 29, 2019, 10:36 AM

      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
      2 out of 2
      • First post
        2/2
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
        This community forum collects and processes your personal information.
        consent.not_received