Community discussions

MikroTik App
black187
刚刚加入了
Topic Author
Posts: 2
加入: Mon Nov 21, 2011 4:25 pm

[HotSpot] - restrict access to web pages for certain users

Mon Nov 21, 2011 4:35 pm

Hello,

Is is possible to restrict access to certain webpages (like facebook.com, torrent sites...) for a hotspot user.

Example:

User with login "userA" -> Can access everything
User with login "userB" -> Can access everything except Facebook.com, twitter.com...
Top
用户头像
sadeghrafie
Long time Member
Long time Member
Posts: 514
加入: Sat Nov 14, 2009 11:28 am
Location:Bushehr, IRAN

Re: [HotSpot] - restrict access to web pages for certain use

Mon Nov 21, 2011 4:40 pm

Top
black187
刚刚加入了
Topic Author
Posts: 2
加入: Mon Nov 21, 2011 4:25 pm

Re: [HotSpot] - restrict access to web pages for certain use

Tue Nov 22, 2011 9:34 am

Ok, I thought that Walled Garden is only for allowing some sites to passthrough the hotspot.--
Top
Feklar
Forum Guru
Forum Guru
Posts: 1724
加入: Tue Dec 01, 2009 11:46 pm

Re: [HotSpot] - restrict access to web pages for certain use

Wed Nov 23, 2011 7:29 pm

You will need to play around with the proxy to get it working. Basically have two methods of doing this.

1.) You have two different user profiles in the RB. One of them has "use transparent proxy" enabled and the other doesn't. UserB's access code is tied to the profile that tells it to use the transparent proxy. Set up the appropriate access rules in the proxy.
2)。你有两个维ifferent user profiles in the RB. You use RADIUS, and upon a signing into the network, RADIUS tells the RB to add userB to the address list. You then use a NAT rule to redirect userB's HTTP traffic to the proxy.

The main thing to keep in mind is that the transparent proxy ONLY works with HTTP traffic. So if they go to the secured version of Facebook etc. it will not block them. You would need a more comprehensive solution than what MikroTik offers out of the box.
Top

Who is online

Users browsing this forum:fposavecand 26 guests