Re: [squid-users] Change EXTERNAL IP address with Squid 3.1.8

From: Giles Coochey <giles_at_coochey.net>
Date: Wed, 6 Oct 2010 11:59:24 +0200

On Wed, October 6, 2010 11:51, Daniel Herbert-Ward wrote:
> I know this can be done, because at work I went to www.whatismyip.com and
> it came up with MY machines IP address, and I did confirm that it was my
> machines ip address at the time. and then I tried it again a few weeks
> later, and all of a sudden after asking the technicians of why this was
> happening, the site then showed the INTERNAL IP address of the squid
> machine. So I am curious to how to set this up please.
>

Well maybe that particular site is identifying the "X-Fordwarded-For"
header. http://en.wikipedia.org/wiki/X-Forwarded-For

You can turn it off with:

forwarded_for off

http://www.squid-cache.org/Doc/config/forwarded_for/

> On 6/10/2010, at 10:36 PM, Giles Coochey wrote:
>
>> On Wed, October 6, 2010 11:25, Daniel Herbert-Ward wrote:
>>> Hi guys, I would like to change the external IP address of my whole
>>> network by using squid 3. As in, I know there is a way to show the
>>> clients
>>> IP address of THEIR machine when they go to a site like
>>> www.whatismyip.com
>>> But I have no idea on what to put into the squid config in order for
>>> this
>>> to work, Can you please help me??
>>>
>>
>> If you are using Squid at all then when your clients go to
>> www.whatismyip.com they will see the external IP of the Squid machine.
>>
>> The only way to change this is to change the IP address of the Squid
>> machine.
>>
>> Those sites simply display the IP that is making the request from their
>> point of view, and you cannot hide that kind of information, without
>> breaking TCP communication in the first place.
>>
>>
>
>
>
Received on Wed Oct 06 2010 - 09:59:41 MDT

This archive was generated by hypermail 2.2.0 : Wed Oct 06 2010 - 12:00:02 MDT