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

    It is possible launch automatic popup when user connect to wifi ?

    Scheduled Pinned Locked Moved Captive Portal
    9 Posts 3 Posters 5.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.
    • T Offline
      trasher
      last edited by

      Hi all,
      As title says, it is possible launch automatic popup when user connect to wifi ?

      example:
      user connects wifi, once connected, opens browser or windows says:
      welcome:
      login:passwd
      Next step, redirect to my page.

      Cheers!

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

        Above and beyond the captive portal intercepting requests to port 80 and forwarding to the portal page, no.

        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
        • T Offline
          trasher
          last edited by

          I've seen some payment solutions, with a captive portal website … a simple router or something.

          You connect to the wireless network and automatically opens the login page, without opening the browser yourself.

          I would like to emulate these payment solutions pfsense as close as possible.

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

            That all has to do with the client automatically attempting a web page when wi-fi connects.  When the client does that, the captive portal page automatically appears.  There is no facility to PUSH the web page to the client.  It has to request it first.

            search the internet for apple captive network.

            I know people want there to be some magic solution but there just isn't.  And https makes it even worse.

            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
            • T Offline
              trasher
              last edited by

              ok I understand,

              I will see how I can handle it

              Thanks!

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

                Android will notice its behind a CP and pops a login page.
                Windows will also notice.

                For iPhone you need top allow some adresses to have a popup on iPhone.

                captive.apple.com
                ibook.info
                appleiphonecell.com
                airport.us
                thinkdifferent.us
                itools.info

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

                  Not true.  You don't need to allow anything.  When an apple device connects to a network it makes a web request to a url, some of which you listed.  If it doesn't receive "Success" back it assumes it's behind a portal and opens a mini web browser window and makes another request.  This should be intercepted by the portal and the login page will display.

                  I'm sure the other CP-sensing methods are similar.

                  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
                  • E Offline
                    EMWEE
                    last edited by

                    I had problems with IOS devices switching back to cellular because they couldn't access these URL on the WiFi. So yes you are right it has nothing to do with the popup.

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

                      I have those problems too.  I don't believe the timeout is long enough before iOS gives up on the Wi-Fi and goes back to cell.

                      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
                      • First post
                        Last post
                      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.