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

    Captive portal not displaying authentication page

    Scheduled Pinned Locked Moved Captive Portal
    5 Posts 4 Posters 3.7k 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.
    • V
      vronp
      last edited by

      Hi All,

      Running 1.2.3-RELEASE here.  Captive portal is set for "local user manager".

      Well, Captive Portal is blocking everything but never shows the login page.

      I can manually go to:  http://192.168.5.1:8000 and it displays fine although when I login there, it looks like it is trying to redirect me to 192.168.0.1.

      So, not sure what the problem is.

      Any ideas?

      thanks,

      1 Reply Last reply Reply Quote 0
      • B
        bravo83
        last edited by

        I have the same problem although my captive portal isn't blocking the users (the service seems to be running- it is green) and no login page is displayed. Manually I can open the captive portal page.

        Sometimes after reboot it is working but after I installed some additional packages the problem couldn't be fixed with reboot. Tried to deinstall the new packages but that didn't solve the problem…  :(

        Help please  ::)

        p.s. I use FreeRADIUS for the authentication

        // If you really want to do something, you will find a way. If you don't, you will find an excuse. //

        1 Reply Last reply Reply Quote 0
        • L
          LostInIgnorance
          last edited by

          I had a problem like this a bunch of times.  If you end up changing the IP of the interface where the captive portal is running on, it tends to think it is still using the old IP.  I never did figure out what caused it, but even after reboot or disabling and re-enabling the captive portal, the IP wouldn't change.  I know there is a place through shell to edit the address manually, but I never did find it.  Easiest thing that I had found being a newbie, just start from scratch, setup all the IPs, then enable the captive portal again.

          1 Reply Last reply Reply Quote 0
          • C
            chettawan
            last edited by

            This problem (may) caused by your client can't resolve the dns name from DNS server. Just add your dns servers IP on Captive portal's Allowed IP Addresses tab (Direction to).

            Explanation: By default Captive portal will block every things from clients which haven't authenticated including dns service (port 53). So when you tried to access some website, your client pc/laptop can't resolve the website's IP adress then there is no connection made from your client to pfSense and resulted in no Captive Portal screen shown.

            1 Reply Last reply Reply Quote 0
            • B
              bravo83
              last edited by

              @LostInIgnorance:

              I had a problem like this a bunch of times.  If you end up changing the IP of the interface where the captive portal is running on, it tends to think it is still using the old IP.  I never did figure out what caused it, but even after reboot or disabling and re-enabling the captive portal, the IP wouldn't change.  I know there is a place through shell to edit the address manually, but I never did find it.  Easiest thing that I had found being a newbie, just start from scratch, setup all the IPs, then enable the captive portal again.

              Thank you for your answer. I also think if i do a factory defaults reset it will work then but it's a bit tough for me to do that now.

              If somebody knows how to edit the address of the captive portal manually from the shell please share :)

              I found a some config files but are not the right ones for editing manually the portal ip : lighty-CaptivePortal.conf and lighty-webConfigurator.conf

              // If you really want to do something, you will find a way. If you don't, you will find an excuse. //

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