squid options for Intranets
Some of squid's default config params are not really satisfying.Â
Usually, you want to change the size of the cache to say 20 Gig ...Â
cache_dir ufs /var/spool/squid 20000 16 256Â
... and allow your complete LAN to access your squid:Â
# after acl localhost src 127.0.0.1/255.255.255.255Â
acl lan 10.0.13.0/255.255.255.255Â
# and after http_access allow localhostÂ
http_access allow lanÂ
or simply change ...Â
http_access allow localhostÂ
... to ...Â
http_access allow allÂ
... and leave the rest to iptables + /etc/hosts.deny + /etc/hosts.allow
From: IBCL BLog.
Originally posted: 2006-06-25