Re: [squid-users] cache_peer selection

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Fri, 29 Jan 2010 23:58:04 +1300

Dieter Bloms wrote:
> Hi,
>
> On Wed, Jan 27, Soporte Técnico AlemNet wrote:
>
>> How can i make cache_peer selection for blocks of ip of my network ?
>> Example.
>>
>> 192.168.0.xxx i want to use
>> cache_peer 172.16.1.1
>>
>> 192.168.1.xxx i want to use
>> cache_peer 172.16.1.2
>>
>> 192.168.1.xxx i want to use DIRECT
>
> this has to be done in the browser (not proxy).
> A proxy.pac file may help you.
> Have a look at
> http://homepage.ntlworld.com./jonathan.deboynepollard/FGA/web-browser-auto-proxy-configuration.html
>

No Dieter. Read again.. :)

cache_peer selection by source is done with "src" type ACLs and
cache_peer_access. As described in the FAQ and configuration file
documentation
   http://wiki.squid-cache.org/SquidFaq/SquidAcl
   http://www.squid-cache.org/Doc/config/cache_peer_access/

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE7 or 3.0.STABLE21
   Current Beta Squid 3.1.0.15
Received on Fri Jan 29 2010 - 10:58:23 MST

This archive was generated by hypermail 2.2.0 : Fri Jan 29 2010 - 12:00:05 MST