Captive Portal / Apple Auto detect & voucher multi devices



  • 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



  • @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.



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



  • @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 ;)



  • 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



  • @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.



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