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

    Apple IOS Captive Portal Option 114

    Scheduled Pinned Locked Moved DHCP and DNS
    2 Posts 2 Posters 1.7k 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.
    • Mr_JinXM
      Mr_JinX
      last edited by

      Hi,

      I was looking into an issue with an iPhone getting certificate warnings when using captive portal, Apple seems to have a document named "How to modernize your captive network" https://developer.apple.com/news/?id=q78sq5rv

      The document refers to DHCP option 114

      Would this be correct under advanced DHCP:
      Option:-
      Number: 114
      Type: text
      Value: https://auth.contoso.com:8003/index.php?zone=contoso_captive_portal

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

        @mr_jinx

        The "value", according https://developer.apple.com/news/?id=q78sq5rv must be a JSON API file.

        This file shows an example how the connection phase works.
        As you can see, this file doesn't contain a static value.
        An non logged in device would retrieve :

          {
              "captive": true,
              "user-portal-url": "https://example.org/portal.html"
           }
        

        After login, the same JSON API file could show :

           {
              "captive": false,
              "user-portal-url": "https://example.org/portal.html",
              "venue-info-url": "https://flight.example.com/entertainment",
              "seconds-remaining": 326,
              "can-extend-session": true
           }
        

        The good new : IPv4 and IPv6 ready.
        This will simplify the "get the login page shown to the client" a lot.
        'https' isn't an option here : your portal will need valid certificates.
        From what I understood, IPv6 is still optional.

        I played with this 'DHCP 14' option, and it worked well.
        Dono / didn't test any Android devices ....

        edit : this is still 'draft' .....

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