On Tue, Mar 11, 2008 at 10:32:49AM +0100, Luca Gervasi wrote: > Hello, > i'm pretty new to squid. I installed it for the first time in a lab > which needs to access to some specific domains through a parent proxy, > using direct connection for all the requests. > > I setup Squid Cache: Version 2.6.STABLE16, on Fedora 8, adding those commands: > > cache_peer MY_PARENT_PROXY parent 3128 0 no-query proxy-only default > > acl ieee dstdomain .ieee.org > acl acmorg dstdomain .acm.org > > cache_peer_access MY_PARENT_PROXY allow ieee acmorg > cache_peer_access MY_PARENT_PROXY deny all http://wiki.squid-cache.org/SquidFaq/SquidAcl#head-af2c190759b099a7986221cd12a4066eb146a1c4 Thus: cache_peer_access MY_PARENT_PROXY allow ieee cache_peer_access MY_PARENT_PROXY allow acmorg cache_peer_access MY_PARENT_PROXY deny all Or more simply: acl to_parent dstdomain .ieee.org .acm.org cache_peer_access MY_PARENT_PROXY allow to_parent cache_peer_access MY_PARENT_PROXY deny all