Search squid archive

Re: Fine Tuning ACLs to only make certain IPs jailed/restricted to certain sites?

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

 



Adam McCarthy wrote:
I already have my squid so that it will deny users access to any site
unless it's one of three specified.

My question is, now, in this example, how would I tell Squid, to say
only restrict say 192.168.0.120-192.168.0.125 to those 3 sites?

acl localnet src 192.168.0.0/16
acl AllowedSites dstdom_regex "/etc/squid/allowed-sites"
http_access allow AllowedSites
http_access deny !AllowedSites
http_access allow localnet

Combine the ACL names on one http_access line produces a boolean AND condition between them.

AMos
--
Please use Squid 2.7.STABLE4 or 3.0.STABLE9

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

  Powered by Linux