Community discussions

MikroTik App
 
electravis
Member Candidate
Member Candidate
Topic Author
Posts: 274
Joined: Tue Jan 26, 2010 12:06 am

drop https requests then force a redirect

Thu Oct 05, 2017 7:16 pm

Im trying to see if this is even possible. So what I am trying to get arouns is the error you get when trying to do a redirect on an https request. As far as I can tell its not possible.

However is this maybe possible but not sure where to start. Can I create some type of firewall rule the rejects, drops, resets all https traffic and then after failing forwards there traffic on to a different webpage?

Thanks
 
blingblouw
Member
Member
Posts: 345
Joined: Wed Aug 25, 2010 9:43 am

Re: drop https requests then force a redirect

Thu Oct 05, 2017 11:12 pm

If you drop the traffic, browser will display an internal error and stop processing the request which means you will not be able to intercept traffic as there will be no more traffic.

If there was a way around this issue (from a router perspective) it would have been resolved by now.

We rarely have this kind of issue anymore, smart phones and PC'S these days know how to handle hotspots
 
electravis
Member Candidate
Member Candidate
Topic Author
Posts: 274
Joined: Tue Jan 26, 2010 12:06 am

Re: drop https requests then force a redirect

Tue Nov 28, 2017 3:08 am

Yes its not so much the get to the login https screen as it is to force the guest into seeing the post auth page with advertisements after login. Most of the cells use a dumbed down version to get to the login screen and then after login immediately shut down and never do the redirect to the post auth page.

Any thoughts?
 
reinerotto
Long time Member
Long time Member
Posts: 520
Joined: Thu Dec 04, 2008 2:35 am

Re: drop https requests then force a redirect

Wed Nov 29, 2017 9:34 am

>and then after login immediately shut down<
This happens on new Android devices automatically, because the mini-browser closes the window, as soon as web access granted.
Same for Windows-mobile.
Some possible workarounds for this behaviour, but not on MT. Needs smarter (or more open) hotspot systems, as I am doing on openwrt/LEDE.

Who is online

Users browsing this forum: DanSch1982, mkx and 185 guests