Community discussions

MikroTik App
 
Cvan
Member Candidate
Member Candidate
Topic Author
Posts: 129
Joined: Sat Jun 09, 2018 3:32 am

Hotspot Apple CNA

Fri May 10, 2019 8:14 am

I need to somehow get past the Apple CNA (Captive Network Assistant) for hotspot.
The CNA still needs to popup w/o giving internet access. Need to trick the CNA to
think its online but still be restricted so user authentication can be processed externally
before given full access.

Anyone got an idea for this challenge?

Thanks
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26950
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Re: Hotspot Apple CNA

Fri May 10, 2019 3:53 pm

You are trying to do opposite things. Why?
 
Cvan
Member Candidate
Member Candidate
Topic Author
Posts: 129
Joined: Sat Jun 09, 2018 3:32 am

Re: Hotspot Apple CNA

Sat May 11, 2019 4:30 am

The CNA browser has limited functionality. For our external authentication process; we need the users to download and install a file.
Unfortunately, the CNA browser can not download files. The CNA provides a nice seamless intuitive user experience that we want to keep,
rather then adding captive.apple.com to the walled garden access list; which in consequence would bypass the CNA window.

Alas, I did find a solution, but it is not so elegant and I am not happy with my solution.

How about moving a client from one hotspot to another after login? or moving a client to a different subnet after login...?
Also or, change/add to vlan after hotspot logiN?
Open to better solutions...
 
blingblouw
Member
Member
Posts: 345
Joined: Wed Aug 25, 2010 9:43 am

Re: Hotspot Apple CNA

Sat May 11, 2019 5:23 am

Curious. What was your inelegant solution?
 
Cvan
Member Candidate
Member Candidate
Topic Author
Posts: 129
Joined: Sat Jun 09, 2018 3:32 am

Re: Hotspot Apple CNA

Mon May 13, 2019 7:21 am

Some slight of hand so to speak. Let them login passively and allow the CNA to do its remediation; then force them off and redirect them to external auth page where they can complete the registration process. All is transparent to the user. Using CNA web browser detection as well to make logic decision for action forward..

That is about it.

Also, figured out how to move them from one hotspot to another internally on the same server.. what is the benefit of this you might ask? Can force the user on to different subnets etc...
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26950
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Re: Hotspot Apple CNA

Tue May 14, 2019 10:22 am

we need the users to download and install a file.
maybe you don't need hotspot ? sounds like some kind of secure organization. how about using iOS profiles ?
 
Cvan
Member Candidate
Member Candidate
Topic Author
Posts: 129
Joined: Sat Jun 09, 2018 3:32 am

Re: Hotspot Apple CNA

Wed May 15, 2019 2:24 am

It is a BYOD (bring your own device) environment and we are not allowed to modify any of the BYOD devices; we have virtually no control over them, so unfortunately we can not setup iOS profiles. Otherwise, yes that would be a great solution.
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26950
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Re: Hotspot Apple CNA

Wed May 15, 2019 1:13 pm

How about using the Trial feature? It gives the user a very limited amount of online time, then logs them out and then gives only the login/pass option:
https://wiki.mikrotik.com/wiki/Manual:I ... ot/Profile
 
Cvan
Member Candidate
Member Candidate
Topic Author
Posts: 129
Joined: Sat Jun 09, 2018 3:32 am

Re: Hotspot Apple CNA

Tue May 21, 2019 3:42 am

That is a good idea, and should effectively do the same thing, but cleaner w/o having to muck around with markup. Just need to set the trial to the right time window for CNA completion.

Thanks for that, Normis.
 
jmangion
just joined
Posts: 2
Joined: Mon Sep 09, 2019 4:46 pm

Re: Hotspot Apple CNA

Tue Sep 10, 2019 12:50 pm

Hi Cyan,
We a a similar use case and was viewing this thread, Can you kindly shed more light on the following questions:
What do you need to let them log passively?
and also how do you push a user from one hotspot to another internally on the same server?

Thanks
Joseph