Control Facebook.com web access

Hello, we have setup the web proxy rule for facebook.com, but our students are still able to visit this web site.

Our web proxy rule settings are:
Dst.Host [ facebook.com ] we have tried both an upper and lower case F
Action [ Deny ]
Redirect to [ .Htm ] page

Any suggestions would be appreciated as to how to stop the web access to this site, as at this time only this web address is not controlled.

could you paste exact rule you added that does not work?

for example i have rule that blocks all the urls that ends with *.mp3

[admin@Mikrotik] > ip proxy access export
/ip proxy access
add action=deny comment="" disabled=no path=*.mp3

Dst.Host [ facebook.com ] will block only facebook.com and nothing else. It is best to use regular expressions in this case http://en.wikipedia.org/wiki/Regular_expression. For example, Dst.Host [ facebook ] will block any domain containing word “facebook” including facebook.com, www.facebook.com and www.facebook.se etc.

Thank you for your suggestions and we will try the following type of rules:
facebook
*.mp3
:login.yahoo
:mail.yahoo

We have to wait until school starts to see if this will help us control our student’s web access.

be careful with regular expressions, you are blocking every url that is containing facebook even page intranet.local/facebook_off_limits.html

Thank you for your note and we will watch what happens with our students.