Community discussions

MikroTik App
 
mo1seev
just joined
Topic Author
Posts: 4
Joined: Fri Nov 13, 2015 4:54 pm

Redirect authorized hotspot users to login.html page

Tue Mar 29, 2016 2:08 pm

Hello! I have RouterOS 6.34.3 with hotspot.
I create 2 users:
1st user have ip from pool: 172.16.16.2-172.16.25.254
2nd user have ip from pool 172.16.26.1-172.16.34.254
Also i add L7 list with sites and create address-list "test" with ip:
172.16.26.0/24
172.16.27.0/24
172.16.28.0/24
172.16.29.0/24
172.16.30.0/24
172.16.31.0/24

Now i what i want: when the 2nd user navigates to a site that is not in the L7 list Microtik must redirect user to login.html
I need use 80,8080 and 443 ports. I think what i must use NAT rules in firewall but dont know how.
 
kiaunel
Member Candidate
Member Candidate
Posts: 219
Joined: Mon Jul 21, 2014 7:59 pm
Location: Germany

Re: Redirect authorized hotspot users to login.html page

Tue Mar 29, 2016 10:54 pm

Maybe you should use wallen garden feature and not ip list.
 
mo1seev
just joined
Topic Author
Posts: 4
Joined: Fri Nov 13, 2015 4:54 pm

Re: Redirect authorized hotspot users to login.html page

Wed Mar 30, 2016 4:54 pm

This is 2nd stage. After walled-garden.