Navigation

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

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

    Captive Portal
    7
    9
    2696
    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
      NickM last edited by

      Hello,
      I am running version 2.2.2 and all works fine when i use a mobile device, i get redirected to the portal page and i get internet access after i authenticate. However, when i try doing the same on a desktop or laptop, i get no redirect and even if i access the page manually and authenticate, i do not have internet access.

      Did anyone else run into this problem? Can anyone tell me what is wrong ?

      1 Reply Last reply Reply Quote 0
      • 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
        • Gertjan
          Gertjan last edited by

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

          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
              • Derelict
                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?

                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
                      • First post
                        Last post

                      Products

                      • Platform Overview
                      • TNSR
                      • pfSense Plus
                      • Appliances

                      Services

                      • Training
                      • Professional Services

                      Support

                      • Subscription Plans
                      • Contact Support
                      • Product Lifecycle
                      • Documentation

                      News

                      • Media Coverage
                      • Press
                      • Events

                      Resources

                      • Blog
                      • FAQ
                      • Find a Partner
                      • Resource Library
                      • Security Information

                      Company

                      • About Us
                      • Careers
                      • Partners
                      • Contact Us
                      • Legal
                      Our Mission

                      We provide leading-edge network security at a fair price - regardless of organizational size or network sophistication. We believe that an open-source security model offers disruptive pricing along with the agility required to quickly address emerging threats.

                      Subscribe to our Newsletter

                      Product information, software announcements, and special offers. See our newsletter archive to sign up for future newsletters and to read past announcements.

                      © 2021 Rubicon Communications, LLC | Privacy Policy