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

    Captive Portal Across Multiple Interfaces Workaround

    Scheduled Pinned Locked Moved Captive Portal
    5 Posts 2 Posters 1.5k 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
      tempaccount325
      last edited by

      Greetings,

      I am planning to install a pfSense box very soon at a small Hotel. The machine will serve as the gateway for the Guest Wifi network and hence we will be implementing the captive portal system. This machine will be on the 192.168.151.254/24 subnet.

      I have three ethernet cables that will be going to three different unmanaged switches that in turn have approximately five Access Points each (acting as transparent bridges). These access points will be on the 10.10.10.1/24 subnet. The machine in production has 4 NICs ( one designated for WAN and the remainder destined to the Guest network ). I have read on Matt Williamson's Cookbook that it not possible to have Captive Portal running on my setup (multiple NICs and Captive Portal).

      Which is the proper path to handle this issue? Would an external unmanaged switch solve this issue? Wouldn't this create Layer 2 Loops or packets taking longer paths and subsequently a lower throughput?

      Excuse my lack of knowledge in this issue, but in the past I have just kept my self to quick fixes, because that was what I was requested to do.

      Best Regards.

      1 Reply Last reply Reply Quote 0
      • T
        tempaccount325
        last edited by

        I am the original poster. Due to the lack of response in this topic, I will pay less attention to it and just chain one more switch into my network.
        It is mentioned in various sources that having Captive Portal on more than one interface is not possible, but it never seems to cover bridging or VLANs. The sources themselves may contain information that no longer holds truth.

        I have reduced my build for a 60 room hotel (some external users - peak at wireless 50 concurrent users - no users connected by ethernet) to:
        2 GHz Dual Core Intel Processor
        128 GB HDD (for squid caching and other network services)
        4 GB RAM (for the above and other packages)
        3 Gigabit Intel NICs

        I will try to update this topic.

        1 Reply Last reply Reply Quote 0
        • GertjanG
          Gertjan
          last edited by

          Hi,
          @tempaccount325:

          I have read on Matt Williamson's Cookbook that it not possible to have Captive Portal running on my setup (multiple NICs and Captive Portal).

          Upgrade pfSense.
          Upgrade the book.
          Now you can have a portal interface on every (internal) LAN NIC.

          No "help me" PM's please. Use the forum, the community will thank you.
          Edit : and where are the logs ??

          1 Reply Last reply Reply Quote 0
          • T
            tempaccount325
            last edited by

            Thank you. I guess, I will proceed with my build. Local PC builders can get really slow during summer time.

            1 Reply Last reply Reply Quote 0
            • T
              tempaccount325
              last edited by

              I have built the computer and I am now running pfSense with the above setup and one interface for LAN and the other for WAN. The remaining NIC will not be supported until pfSense 2.2 comes around.

              I do have a bit of an issue with DHCP leases/timeouts and Captive Portal timeouts , but it's somewhat fixed: https://forum.pfsense.org/index.php?topic=80255.0.

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