There are two "parent" proxies in this file which this
personal proxy can access. Obviously,
replace username and password with your own
authentication information. Also, don't
forget to change cache_effective_user and
cache_effective_group to your liking or your distro.
Change the cache_replacement_policy to fit your caching
needs, and finally, make sure to edit the acl
local-servers to specify which servers you do not want to
proxy.
cache_effective_user proxy # Ubuntu-specific?
cache_effective_group proxy # Ubuntu-specific?
http_port 3128
http_access allow all
cache_peer prx1 parent 3128 3190 no-query login=username:pass
cache_peer prx2 parent 3128 3190 no-query login=username:pass
cache_peer_access prx1 allow all
cache_peer_access prx2 allow all
hierarchy_stoplist cgi-bin ?
cache_mem 64 MB # How much memory Squid uses for cache.
# Make lower if you have less memory
maximum_object_size_in_memory 64 KB # Make lower
if you have less memory
cache_replacement_policy heap LFUDA
cache_dir aufs /var/spool/squid3 6000 16 256
maximum_object_size 16384 KB
access_log /var/log/squid3/access.log squid
shutdown_lifetime 1 second
acl local-servers dst 127.0.0.1 192.168.1.0/24
never_direct deny local-servers
never_direct allow all
Also ref-:
http://fedora.co.in/2008/03/05/setting-up-a-hierarchical-caching-proxy-s\
erver-with-squid-on-fedora
B.Sadhiq