B
B
Braind2015-10-08 21:18:56
Mikrotik
Braind, 2015-10-08 21:18:56

Mikrotik hotspot how to redirect to the login page on ios devices and with long addresses?

There is a hotspot with an authorization page. On android there are no problems, a tooltip is shown. On ios - nothing is shown if the user opens a random page from a bookmark with a long address (if you specify the site root - the redirect works, if you specify a link with parameters - the connection is reset), or with the https protocol - then the page with an Internet connection error is simply shown.
Interested in the possibility of implementing the redirection of all traffic for an unregistered user. (Login is by mac address, trial).
Please let me know if anyone has had this problem and what are the solutions.
Thank you for attention.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
Cool Admin, 2015-10-10
@ifaustrue

Have you tried doing this?

/ip hotspot walled-garden
add action=allow comment="place hotspot rules here" disabled=yes dst-port=""
add action=allow disabled=no dst-host=*.apple.com dst-port=""
add action=allow disabled=no dst-host=*.apple.com.edgekey.net dst-port=""
add action=allow disabled=no dst-host=*.akamaiedge.net dst-port=""
add action=allow disabled=no dst-host=*.akamaitechnologies.com dst-port=""
/ip hotspot walled-garden ip
add action=accept disabled=no dst-host=captive.apple.com
add action=accept disabled=no dst-host=www.appleiphonecell.com
add action=accept disabled=no dst-host=www.itools.info
add action=accept disabled=no dst-host=www.ibook.info
add action=accept disabled=no dst-host=www.airport.us
add action=accept disabled=no dst-host=www.thinkdifferent.us
add action=accept disabled=no dst-host=static.ess.apple.com
add action=accept disabled=no dst-host=init-p01md.apple.com
add action=accept disabled=no dst-host=ess.apple.com
add action=accept disabled=no dst-host=apple.com
add action=accept disabled=no dst-host=gps.apple.com

This will allow the device to understand that there is a network at all and it has the Internet, and after that a redirect will already occur. (can't test yet)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question