RE: [squid-users] Redirecting Squid traffic to another Proxy. How ?

From: Chris & Val Bamber <dasher@dont-contact.us>
Date: Mon, 24 Mar 2003 21:05:29 -0000

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: hno@marasystems.com [mailto:hno@marasystems.com] On Behalf Of
Henrik Nordstrom
Sent: 01 February 2003 11:29
To: Chris & Val Bamber
Cc: squid-users@squid-cache.org
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
Received on Mon Mar 24 2003 - 14:05:32 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:14:19 MST