Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    VLAN authentication

    Scheduled Pinned Locked Moved Firewalling
    5 Posts 3 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.
    • T Offline
      tsolrm
      last edited by

      We have a workgroup network, is there a way of forcing authentication when someone plugs into the network with a cable? Could this be done with a VLAN + RADIUS server? Does anyone have any tips in this?

      1 Reply Last reply Reply Quote 0
      • A Offline
        almabes
        last edited by

        That sounds like a captive portal to me.
        https://doc.pfsense.org/index.php/Captive_Portal

        1 Reply Last reply Reply Quote 0
        • DerelictD Offline
          Derelict LAYER 8 Netgate
          last edited by

          802.1x  pfSense not really involved.  It'll all be in your switch.

          Chattanooga, Tennessee, USA
          A comprehensive network diagram is worth 10,000 words and 15 conference calls.
          DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
          Do Not Chat For Help! NO_WAN_EGRESS(TM)

          1 Reply Last reply Reply Quote 0
          • T Offline
            tsolrm
            last edited by

            @Derelict:

            802.1x  pfSense not really involved.  It'll all be in your switch.

            Could this be achieved via dynamic VLAN allocation + RADIUS server (possibly freeradius2 on pfsense)?

            1 Reply Last reply Reply Quote 0
            • DerelictD Offline
              Derelict LAYER 8 Netgate
              last edited by

              You don't need dynamic VLANs.  Just 802.1x on the ports which requires an AAA server - usually RADIUS.

              It would probably be nice to have a guest VLAN for no login/failed logins that has no access to anything except maybe a redirected web server that tells people what to do or whom to contact for access.  Depends on the scale of the project how much you want to put into it.

              Dynamic VLANs allow you to place a port on a specific VLAN based on who logged into the port.

              Chattanooga, Tennessee, USA
              A comprehensive network diagram is worth 10,000 words and 15 conference calls.
              DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
              Do Not Chat For Help! NO_WAN_EGRESS(TM)

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