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

    Captive Portal / Apple Auto detect & voucher multi devices

    Scheduled Pinned Locked Moved Captive Portal
    7 Posts 2 Posters 3.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.
    • M
      MarMottE
      last edited by

      Hello all,

      I have installed a captive portal in my company for the guest.

      When a IOS is connected on the wifi, there is a page which appeared and the link : http://xxxxx/…captive.apple.com/%2Fhotspot-detect.html

      When the user want to paste something in the page, it's not working.

      I would like to know how to desactivated this auto detect page or allow the past in this page.


      I would like to know also if it possible to have 2 devices for the same voucher ?

      Thank in advance for your help

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

        @MarMottE:

        ….
        I have installed a captive portal in my company for the guest.
        When a IOS is connected on the wifi, there is a page which appeared and the link : http://xxxxx/...captive.apple.com/%2Fhotspot-detect.html

        I have also a lot of Apple devices on my Captive portal the last couple (about 10 now) of years, but never, ever, saw this linj (why hiding it : "apple.com" ?)
        @MarMottE:

        When the user want to paste something in the page, it's not working.

        Paste what where using what ?
        I'm missing a complete description of what you try to do.
        Use the default pfSense login age, and all will be fine !!

        @MarMottE:

        I would like to know how to desactivated this auto detect page or allow the past in this page.

        This "captive.apple.com" is probably an URL stored into an IOS device ….

        @MarMottE:

        I would like to know also if it possible to have 2 devices for the same voucher ?

        I guess not (but I'm not sure).

        Do not check this option :
        Concurrent user logins
        Disable Concurrent user logins If enabled only the most recent login per username will be active. Subsequent logins will cause machines previously logged in with the same username to be disconnected.

        I'll check this tomorrow when I have access to my pfSense setup.

        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
        • M
          MarMottE
          last edited by

          @Gertjan:

          @MarMottE:

          ….
          I have installed a captive portal in my company for the guest.
          When a IOS is connected on the wifi, there is a page which appeared and the link : http://xxxxx/...captive.apple.com/%2Fhotspot-detect.html

          @Gertjan:

          I have also a lot of Apple devices on my Captive portal the last couple (about 10 now) of years, but never, ever, saw this linj (why hiding it : "apple.com" ?)

          Because I can't copy or paste the link on the captive portal windows  :-\

          @MarMottE:

          When the user want to paste something in the page, it's not working.

          @Gertjan:

          Paste what where using what ?
          I'm missing a complete description of what you try to do.
          Use the default pfSense login age, and all will be fine !!

          It's working on Android and PC but not Ipad or Iphone. It's strange because on MAC it's working …

          Regarding the login page it's the default login page Pfsense.

          If I open safari on iphone or ipad, it's working but there is this page which appeared automaticaly

          @MarMottE:

          I would like to know how to desactivated this auto detect page or allow the past in this page.

          @Gertjan:

          This "captive.apple.com" is probably an URL stored into an IOS device ….

          Yes maybe but you have not the same problem …

          @MarMottE:

          I would like to know also if it possible to have 2 devices for the same voucher ?

          @Gertjan:

          I guess not (but I'm not sure).

          Do not check this option :
          Concurrent user logins
          Disable Concurrent user logins If enabled only the most recent login per username will be active. Subsequent logins will cause machines previously logged in with the same username to be disconnected.

          I'll check this tomorrow when I have access to my pfSense setup.

          If I understood, one voucher can be used by many users ?

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

            @MarMottE:

            Because I can't copy or paste the link on the captive portal windows  :-\

            Not normal.
            When I test vouchers (voucher letter sequence is hard to retype) I always send them to my iPhone by mail, so I can copy them over into the field on the login page.
            Works for me … ;)

            Btw : when vouchers are activate, the default html page will also show an "Input Voucher Entry box".

            Btw : Apple device use a stripped down version of the integrated Safari browser.
            The device "knows" that it is behind a captive portal.
            The final test is a https GET call to on of several integrated (into the iOS) - and if it succeeds (it show Ok or Succes on the page if you look carefully) then the device knows that it has an Internet acces.
            You should close this browser, and open the real Safari or Firefox or other browser app you have.

            @MarMottE:

            When the user want to paste something in the page, it's not working.

            @Gertjan:

            Paste what where using what ?
            I'm missing a complete description of what you try to do.
            Use the default pfSense login age, and all will be fine !!

            It's working on Android and PC but not Ipad or Iphone. It's strange because on MAC it's working …

            Regarding the login page it's the default login page Pfsense.

            If I open safari on iphone or ipad, it's working but there is this page which appeared automaticaly

            @MarMottE:

            If I understood, one voucher can be used by many users ?

            Well, it take a couple of minutes to setup … you tell me ;)

            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
            • M
              MarMottE
              last edited by

              Yes it's work fine :)

              But we have a new idea to authenticate the users,

              it's free Radius with external SQL database. I see the tutorial for the local Mysql but no external SQL.

              That's working the same way ?

              Thanks and sorry if I'll create a new post

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

                @MarMottE:

                But we have a new idea to authenticate the users,
                it's free Radius with external SQL database. I see the tutorial for the local Mysql but no external SQL.
                That's working the same way ?

                Vouchers are one-word codes,
                Radius auth means login code and password, so 2 things to type, and you have to maintain the access codes (access rights, bandwidth, etc).
                I never used radius myself.

                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
                • M
                  MarMottE
                  last edited by

                  Ok thanks for your feedback, I will continue to search how it's working with an external database

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