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

    Bypass Captive portal on Pfsense using a unify SSID

    Scheduled Pinned Locked Moved Captive Portal
    6 Posts 3 Posters 1.3k 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.
    • M
      mrvanity
      last edited by

      Hello there.
      I use pfsense for a captive portal (also DHCP and DNS forwarder).I also installed unify controller on the box to control my AP's.
      The SSID has no security on it (open) and the users land to captive portal.
      I have a situation that i have 400 devices that i want them to bypass the captive portal.Of course i can whitelist 400 hundred mac addresses in the captive portal, but i was wondering if i can add another SSID to the unify ap's via the controller, use this SSID for these 400 devices,and "whitelist" that SSID on pfsense somehow.
      Can i accomplish this?

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

        Ok.
        So i configured a second ssid to unify controller with a vlan tag.
        I also configured a vlan to pfsense attached to the same hardware interface as the normal wifi.I also entered the same vlan tag.
        I set up dhcp, but when connecting to the new SSID i get no dynamic ip from pfsense.
        The whole network runs on Layer 2 Gbit switches.

        You think that this is the problem?

        1 Reply Last reply Reply Quote 0
        • johnpozJ
          johnpoz LAYER 8 Global Moderator
          last edited by

          So you setup the vlans on your switches, with the tag setup for your new vlan.

          An intelligent man is sometimes forced to be drunk to spend time with his fools
          If you get confused: Listen to the Music Play
          Please don't Chat/PM me for help, unless mod related
          SG-4860 24.11 | Lab VMs 2.8, 24.11

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

            Thank for your time answering this topic.
            The switches are all unmanaged layer 2.
            So no vlan information can "travel" through them.

            My regards.

            1 Reply Last reply Reply Quote 0
            • johnpozJ
              johnpoz LAYER 8 Global Moderator
              last edited by

              its not so much that vlan tags can not travel through them.  Many dumb layer 2 switches will carry the vlan tags through the switch.  But its not the correct way to do it, and possible that the switch strips it or doesn't pass the tagged traffic.

              The correct solution to using vlans is use a switch that understands them and correctly set them up on said switch(es)..

              An intelligent man is sometimes forced to be drunk to spend time with his fools
              If you get confused: Listen to the Music Play
              Please don't Chat/PM me for help, unless mod related
              SG-4860 24.11 | Lab VMs 2.8, 24.11

              1 Reply Last reply Reply Quote 0
              • S
                seanpearman
                last edited by

                you'll need a layer 3 switch to achieve this with trunk ports facing the AP's and FW.

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