Blocking Multiple Websites:
We would create a file /etc/squid/sitelist and add all to be blocked
websites in the file. Below is a sample content of this file:
|
acl localhost src
127.0.0.1/32
acl to_localhost dst
127.0.0.0/8
acl our_network src
192.168.200.0/24
acl facebook url_regex [i]
.facebook.com
acl bad_domain urlpath_regex [i] “/etc/squid/sitelist”
http_access deny facebook
http_access allow
our_network
Comments
Post a Comment