Ban domain access in squid proxy server
By Fahad Ahammed
- One minute read - 107 wordsSome times we need to control internet users in public hotspot or wifi or also school-college-university network . Anyone can control domains accessed by squid proxy by this tutorial .
First open squid proxy configuration :
Add below lines to that configuration anywhere and save it :
Then open a new file by this command :
And add domains which you want to ban in every line each like below :
Now save that file and restart squid by :
Now users who will use this proxy of yours will not be able to access facebook or whatever you have entered in your /etc/squid3/blocked.domains.acl domain list .