Search squid archive

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]

 



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

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

  Powered by Linux