Community discussions

MikroTik App
Member Candidate
Member Candidate
Topic Author
Posts: 102
Joined: Wed Oct 07, 2009 9:17 pm

Hotspot: Accept Terms->WalledGarden->Login - advise needed

Thu Oct 10, 2013 11:36 am


I have a customer who has end users. These end users need:
1 to login to the network and see landing page which is Terms Acceptance page,
2 if the end user accepts, he is allowed to Walled Garden (single http site).
3 once end user becames bored with the landing page, he decides to move on and chooses another site, which is some internet. Now my customer (that is, me) needs the end user to login (using static credentials or radius, not important).

The 1 is possible with Hotspot Trial feature. The 2 is also possible in some way; as I can easily limit the Trial user with firewall. But limiting end user on firewall is dead end: the user cannot be directed to login page.

Is there any reliable way of doing what I need to provide?

User avatar
Posts: 610
Joined: Sun Feb 14, 2010 11:41 pm
Location: Van, Texas

Re: Hotspot: Accept Terms->WalledGarden->Login - advise need

Mon Feb 17, 2014 8:26 am

#2 can be done with the web proxy.
#3 might be able to be accomplished with the web proxy or might have to be scripted.
Launch your company forward with professional training! ... raining-2/
Member Candidate
Member Candidate
Posts: 123
Joined: Sat Nov 30, 2013 7:49 am

Re: Hotspot: Accept Terms->WalledGarden->Login - advise need

Mon Feb 17, 2014 3:44 pm

This will help you: ... login_page
Basically solves almost all problems. (you should have a radius server for this, or users defined in mikrotik device)
Problem 2 is easily done using walled garden IP list.
Then here comes problem 1 and 3. When the user want's to browse the rest of the internet, they will be redirected to the login page of mikrotik. This is the login.html found in mikrotik.
Based on the link, edit the login.html of mikrotik to redirect to the external landing page. But don't do it automatically. Put the terms and conditions on this page so that when they click Accept, they will be forwarded to the external landing page.
Then on the external landing, you ca leave it as it is or just edit the page. On this page the users will enter their credentials (username/password) and they will be sent back to the mikrotik for authentication.
On successful authentication, users will be redirected to the page they wanted to browse.

Who is online

Users browsing this forum: Baidu [Spider], Bing [Bot], Google [Bot], mohkhalifa and 141 guests