I am using squid server in my Debian server, I want to block some websites in my system and I followed all the procedures for this but there is no result.
You have to do some changes in squid.conf and here are the steps:
open this file /etc/squid3/squid.conf
add these lines:
acl bad_url dstdomain "/etc/squid3/bad-sites.acl" http_access deny bad_url
then go to /etc/squid3/bad-sites.acl and add domains with this format
.google.com .msn.com .app.facebook.com
You can also do by following changes in squid.conf
acl toblock dstdomain .facebook.com .google.com http_access deny toblock
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With