In SQUID - Block all websites but a couple - but only apply to a particular IP range
I'm using SQUID and would like to block all websites except for a couple. I copied the code below from an old post that should do the trick. However, I want to take it a step further and only apply it to a certain IP range.
In other words:
Range: 192.168.0.x - .x - Access any websites
Range: 10.10.0.x - .x - Deny all websites, but two.
Sample SQUID Code:
acl whitelist dstdomain .google.com .mycompany.com
acl all src 0.0.0.0/0.0.0.0
http_access permit whitelist
http_access deny all
|