Search squid archive

Re: Need ACL to restrict specific hosts to specific websites

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



George wrote:
Hi All;

Relatively new to Squid, and am having a problem with an ACL.
Currently, my setup allows all hosts access to all sites on the
Internet with the exception of "bad" sites that I've already
restricted via another ACL.

I want to add another ACL to allow 5 specific hosts on our network to
access 6 specific Internet websites, but nothing else. What would be
the simplest and most effective way to do this? All suggestions
appreciated. Thanks!

George

acl restrictedHosts src 10.0.0.25 10.0.0.28 10.0.0.35 10.0.0.42 10.0.0.199
acl allowedSites dstdomain .whitelist.com list.example.com
http_access allow restrictedHosts allowedSites
http_access deny restrictedHosts
# Other http_access rules go here.

The FAQ has a pretty comprehensive section on ACLs (http://wiki.squid-cache.org/SquidFaq/SquidAcl).

Chris

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux