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

    Captive portal working on Mobile Devices, but not on Laptops/Desktops

    Scheduled Pinned Locked Moved Captive Portal
    11 Posts 9 Posters 4.1k 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.
    • N
      n3by
      last edited by

      Are you sure is not a setting in computer browser that prevent redirection ?
      Try to clear browser cache also.

      Check Status Captive portal after login to see if client is authenticated in portal.

      ( until you did not block the MAC of computers in portal or you have some rule in firewall that block the traffic. )

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

        Another check : did you 'PC' get an IP from pfSense (using its client-DHCP) ?

        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
        • N
          NickM
          last edited by

          @n3by i am sure there is no such thing because it's a brand new installed laptop.

          As i said, i can access the captive portal page manually, but once i get connected to the pfsense wifi and DHCP gives me an ip address i do not get internet access until i access the portal page and authenticate.
          However, the redirection doesn't work, when i open a browser and it goes to google.com it should redirect me to the portal page, but it keeps trying to access that page until it gets timed out.

          @Gertjan, yes, it does get IP from pfsense. What do you mean by client-DHCP?

          1 Reply Last reply Reply Quote 0
          • D
            doktornotor Banned
            last edited by

            Do you actually have working DNS on your machines?

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

              pfSense doesn't care if the device is a laptop, desktop, tablet, or phone.  Check the devices that aren't working for the proper settings.

              Note that it is up to the client device to run some form of test to try to determine there's a portal and to open some kind of web browser and try a site and display the portal page.  Nothing is "pushed" from the portal.  It all has to be requested by the client and they all do it differently, if at all.  Sometimes the user has to open a browser himself.

              When you navigate the portal page and still don't get internet access, is there a proper entry with the correct IP and MAC address in Status > Captive Portal?

              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
              • D
                demco
                last edited by

                NickM,

                On your laptop, when you manually go to the captive portal page and authenticate. Can you access Internet after authenticated? Just to confirm as your first and second post seem to contradict on whether you can access Internet after authenticated.

                If you can access Internet after authenticated. Likely DHCP and DNS are working, just issue with redirecting to captive portal.

                On your captive portal configuration, do you enable HTTPS login? If no, the captive portal will NOT redirect https connection to the portal login page. Try non-https site like www.cnn.com.

                Your browser might access www.google.com using https due to previous visit history. Try http site to be sure.

                1 Reply Last reply Reply Quote 0
                • E
                  EMWEE
                  last edited by

                  Check your DNS and default gateway on your laptop.

                  1 Reply Last reply Reply Quote 0
                  • N
                    NickM
                    last edited by

                    @EMWEE:

                    Check your DNS and default gateway on your laptop.

                    Solved.

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

                      Two thoughts ... is it possible your windows/mac have statically defined DNS servers that aren't resolvable in the pre-logon role? Or, the DNS servers that they are using, does the ClearPass FQDN resolve correctly?

                      I seldom see static DNS entries on mobile devices, but it is much more common on laptops. Start there to ensure that name resolution is working and web requests are being generated, and then go up to the user-role on the controller to verify that it's being destination natted to the captive portal page.

                      1 Reply Last reply Reply Quote 0
                      • F
                        FSC830
                        last edited by

                        Well, I am rather sure, after about 8 years he did found a solution...🙃

                        Regards

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