Re: [squid-users] Getting valid ip address thru browser

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Tue, 10 May 2005 14:33:49 +0200 (CEST)

On Tue, 10 May 2005, Rahul Sinha wrote:

> Hi,
> I'm trying to get valid ip-address thru proxy server using
> http://checkip.dyndns.org/
> But it shows private ip address of the machine.

This is because this web service is proxy aware and looks into the custom
X-Forwarded-For header added by Squid. This to help users using an ISP
proxy or similar.

> How do u I get the valid ip address using this URL..?

Hard, unless you configure Squid to NOT forward the internal IP address..

   header_access X-Forwarded-For deny all

Regards
Henrik
Received on Tue May 10 2005 - 06:33:52 MDT

This archive was generated by hypermail pre-2.1.9 : Wed Jun 01 2005 - 12:00:02 MDT