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

    Max Captive portal interfaces

    Scheduled Pinned Locked Moved Captive Portal
    11 Posts 3 Posters 2.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.
    • Y
      yanqian
      last edited by

      Hello,
      have you tried to setup multi captive portal instances in different VLAN OPT interfaces?

      I tried, but it didn't work, it seems that pfsense doesn't support this.

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

        Multiple VLAN in the same LAN.

        Switch<–--trunk port(or tag port)---->pfsense [igb3] Port(VlanXX)

        m_lan.png
        m_lan.png_thumb

        1 Reply Last reply Reply Quote 0
        • Y
          yanqian
          last edited by

          Hi, magura,
          Yes, We did the same as you, but when 2 zones are both enabled, client doesn't work as expected.

          Is your settings working?
          May I know which version of pfsense you are using ?

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

            2.2.6,yes ,can work

            Your client authentication page is http or https protocol?

            1 Reply Last reply Reply Quote 0
            • Y
              yanqian
              last edited by

              It's https, and I also tried 2.2.6, client session shows in status pages of both zones, and clients get login page repeatedly when they tries to access internet.

              when we tried to set up two zones with different physical interfaces, it works.

              I was not sure it is by design or something wrong with my settings, if it works in your end, I will try it again.

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

                I tested properly authenticated

                SSL certificate(Let's Encrypt) : https://www.sslforfree.com/

                RADIUS Auth

                two physical lan bind one portal

                test1.zip

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

                  one lan bind one portal

                  Because the auth URL nslookup IP is lan1(192.168.1.1)

                  need allowed hostnames (wifitest.xxx.xxx.xxx)

                  test2.zip

                  1 Reply Last reply Reply Quote 0
                  • Y
                    yanqian
                    last edited by

                    Hi,Magura,
                    Thanks for your reply.

                    But there is some misunderstanding here, I read both files you attached, but they are not what I expect.
                    What I was asking is enable 2 or more captive portal instances which operate on different VLAN OPT interfaces (but in the same physical interface), just like the settings in the first post you replied.

                    https://forum.pfsense.org/index.php?topic=105985.msg591485#msg591485

                    Actually I posted another thread for this issue, just for your reference.

                    https://forum.pfsense.org/index.php?topic=106119.0

                    Could you please help to test multi zones with VLAN/opt interfaces on the same physical interface ?

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

                      Yes, can work, one vlan bind one CP:  https://forum.pfsense.org/index.php?topic=105985.msg591485#msg591485

                      You want to ask two or more VLAN using a CP?I will test  :)

                      1 Reply Last reply Reply Quote 0
                      • Y
                        yanqian
                        last edited by

                        Hi, Magura,
                        Please test the settings as described in this link:

                        https://forum.pfsense.org/index.php?topic=106119.0

                        thank you very much!

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