Re: Squid with two gateways

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Fri, 30 Apr 1999 21:42:15 +0200

Henrique Pantarotto wrote:

> - Use only one single Squid server
> - Proxy requests from 200.231.199.x users through Squid at 200.231.199.2
> and fetch web pages from gateway 200.231.199.1
> - Proxy requests from 200.224.215.x users through Squid at 200.224.215.2
> and fetch web pages from gateway 200.224.215.1
> - Both proxies share the same dir_cache

The answer would be "Yes, but not really". You will need more than one
Squid process.

What you can do is to set up three Squids. One main Squid which
maintains the cache, and two backend Squids which acts as application
level routers to route the requests to the correct path. All three can
be running on the same machine or on separate machines. Use
cache_peer_access to limit each path to requests from the correct
network, and tcp_outgoing_address to force the backend Squids to use the
correct outgoing interface for their requests.

--
Henrik Nordstrom
Received on Fri Apr 30 1999 - 13:34:35 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:46:08 MST