The cache_peer line expects the address or name of the proxy to use.

You then control with cache_peer_access and never_direct which requests
are sent there.

Regards
Henrik


Chris & Val Bamber wrote:
> 
> I have replaced the values as shown below.
> 
> cache_peer jp.sonix.net parent 8080 0 no-query
> acl intranet dstdomain uk.sonix.com
> cache_peer_access allow jp.sonix.net
> never_direct allow intranet
> 
> I do not see from here where I would specify the IP address
> for the proxy in Japan that should handle any requests for
> anything with jp.sonix.net in the URL. Looking at the
> Documentation it seems I might have to specify it on the
> cache_peer line ?
> 
> I decided to go back to the original idea of adding an extra
> network card and creating an static route rather than routing
> to another squid box which I was first planning.
> 
> Basically to re-cap on the original requirement. I have a single
> Squid box which is used for normal internet access. If a user
> decides to browse for anything in the domain jp.sonix.net then
> It should be directed to a proxy to Japan for processing.
> 
> If I wanted to add additional domains for processing by the
> Proxy in Japan I assume I could add additional cache_peer
> lines ?
> 
> The uk.sonix.com is my domain.
> 
> Thanks
> Chris
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
> Henrik Nordstrom
> Sent: 01 February 2003 11:29
> To: Chris & Val Bamber
> Cc: [EMAIL PROTECTED]
> Subject: Re: [squid-users] Redirecting Squid traffic to another Proxy.
> How ?
> 
> Something like this should work:
> 
> cache_peer proxy-jp.your.domain parent jpproxyportnumber 0 no-query acl
> intranet dstdomain intranet.your.domain cache_peer_access allow
> proxy-jp.your.domain never_direct allow intranet
> 
> You need to replace proxy-jp.your.domain, jpproxyportnumber,
> intranet.your.domain with values suitable for your setup.
> 
> Regards
> Henrik

Reply via email to