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

Reply via email to