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

    Portal Captive page does not appear except with Firefox

    Captive Portal
    2
    6
    637
    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
      nicolas.pissard
      last edited by

      Hi,

      We are having a problem with the captive portal on pfsense 2.7.

      When you connect to wifi, the captive portal page is offered with Firefox.
      With Chrome or Edge, it is not offered.

      If I enter an HTTP URL in Chrome or Edge, the captive portal page is displayed.

      Can you help me find out where the problem is?

      I thank you in advance for any help you can give me.

      Sincerely

      GertjanG 1 Reply Last reply Reply Quote 0
      • GertjanG
        Gertjan @nicolas.pissard
        last edited by

        @nicolas-pissard said in Portal Captive page does not appear except with Firefox:

        Can you help me find out where the problem is?
        If I enter an HTTP URL in Chrome or Edge, the captive portal page is displayed

        DNS seems to work.

        When you connect a device to a network that is also a captive portal, right after the DHCP sequence, it will emit a http (not https) request. Every OS uses its own http URL for that. This will happen in the background, without any action from your side (no browsers running at that moment).

        You should see that URL request here : Status > System Logs > System > GUI Service.

        I will have to bring in my laptop tomorrow, a Windows 11 device, and it has "Edge" as far as I can tell.
        ( Chrome : sorry - not for me. I love Google, but not at that point )

        I'll do some test tomorrow morning, and report back here.

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

        N 1 Reply Last reply Reply Quote 0
        • N
          nicolas.pissard @Gertjan
          last edited by

          @Gertjan

          Thanks you for your help

          GertjanG 1 Reply Last reply Reply Quote 0
          • GertjanG
            Gertjan @nicolas.pissard
            last edited by

            @nicolas-pissard

            I didn't forget your question. I did forget to bring my laptop. I'll get back to you.

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

            GertjanG 1 Reply Last reply Reply Quote 0
            • F FSC830 referenced this topic on
            • GertjanG
              Gertjan @Gertjan
              last edited by

              @Gertjan

              I had my "Windows 11" laptop this morning, so I could do some testing.

              I connected to to the portal wifi, and the login page showed up right away, using my default browser, Firefox.
              Humm. Great, but not what I wanted to see. Other might have another browser after all.
              I fired up Edge manually. The good new was : I saw the portal login page right away.
              I told Edge that he was now the elected Default browser, and restart the PC.
              I connected to the portal wifi again, and now Edge opened with the portal login page right away.

              My browser us the PC's DNS obtained by DHCP. No DoH or something like that.

              I don't have / want / use other browsers.

              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
                nicolas.pissard
                last edited by nicolas.pissard

                Thank you for this feedback.

                Correct me if I'm wrong but the normal process for the captive portal is as follows (on Windows 10 22H2) :

                • step 1: action of connection to public wifi

                • step 2: the PC obtains an IP address from DHCP

                • step 3: the Windows system attempts to connect to a url "www.msftconnecttest.com" with the LNASvc service (NCSI probe)

                • step 4a: the captive portal "captures" the previous HTTP connection attempt and opens the default browser. The captive portal login page opens.

                • step 4b: launch the browser by entering an HTTP URL and the captive portal page is displayed

                My problem is that step 4a is not done. The default browser does not open. Unlike I can successfully perform step 4b.

                The fact that the browser does not open is a problem for BYOD.
                We cannot configure user devices...

                I don't know if this is a problem related to PfSense...but in other establishments, it works with the same configuration...

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