Community discussions

MikroTik App
 
januszzz
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

Hello,

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?

Thanks!
 
User avatar
rickfrey
Trainer
Trainer
Posts: 610
Joined: Sun Feb 14, 2010 11:41 pm
Location: Van, Texas
Contact:

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!
http://rickfreyconsulting.com/product-c ... raining-2/
 
nerdtron
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: http://wiki.mikrotik.com/wiki/HotSpot_e ... 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