The mikrotik router hotspot login page has been redesigned to be a form rather than username and password.Once you click login, the mail script in the login page sends form elements/parameters to a specified email address. This then redirects to the status page.
Now, from the status page, you should be able to browse just one website only.
So i setup IP webproxy and allowed just that site alone and then used a wildcard to deny all other sites.
The issue:
The deny blocks the mail script in the login.html page and does not re-direct to status page,so no user is able to login.
I need to re-direct all http/https traffic to just one website which is allowed on the hotspot so no matter the website you type, it re-directs you to just one.
I have setup proxy to block several sites but this is just cumbersome and have setup filter and NAT rules but this doesn’t do the trick either.
I setup a dst path wild card * in proxy to deny all http request and allow the website i want.This works but the issue i now have is that the post mail script which sends the form data on the hotspot login page to the mail server gets blocked :
when this is blocked, user does not get authenticated and nothing works.
So i figured out that rather than blocking sites, why don’t i just do something like a permanent re-direct to just that website.
Setup hotspot
remove all stuff you put in walled garden
add http://xxxx.xxxxxxx.com/ in your walled garden
So, all (http) sites will be redirected to local rlogin.html page, which leads to http://xxxx.xxxxxxx.com/send.php, which is allowed. Problem should be solved.