Restricting Acess with Squid Proxy
Let me explain this:
I am using the proxy via port 8080
I am using the cache directory in /var/spool/squid and 800 is the size by default with a megabyte
Now i have created the ACL, i am creating the hosts which are defined by 'internal' and then the action that will be applied on them
With Squid you can restrict access by domain name or regular expression
If it is a long list of domain you can use a file populated by these domain maybe you have a script that will do this for you
In this example, i'll block video streaming from domains inserted into a file
acl video_streaming dstdomain "/etc/squi/streaming.list"
http_access deny video_streaming
You can view a full list of ACL TYPES on this page
Last updated