Re: [squid-users] using multiple squids with multiple interface addresses

From: Henrik Nordstrom <[email protected]>
Date: Wed, 6 Oct 2004 08:01:06 +0200 (CEST)

On Wed, 6 Oct 2004, Rolf wrote:

> One reason for wanting the client address exposed I suppose is that one has
> all requests go through the proxy but have the destination know where they
> actually originated.

For this purpose Squid adds the X-Forwarded-For header.

> It would useful to me to be able to have the destination servers see
> different requesting ip addresses (not, naturally, the originating clients),
> but without deploying multiple physical proxy servers. Would it be possible
> to run multiple instances of squid on the one box and use the
> cache_peer_access parameter to direct each request from a "master" squid
> instance to one of the others AND have each instance of the other squid
> processes bound to a different ip address?

This can be done with a single Squid. See tcp_outgoing_address (2.5 or
later required).

Regards
Henrik
Received on Wed Oct 06 2004 - 00:01:10 MDT

This archive was generated by hypermail pre-2.1.9 : Mon Nov 01 2004 - 12:00:01 MST