Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: Squid Proxy Hide System’s Real IP Address  (Read 10068 times)

0 Members and 1 Guest are viewing this topic.

Aby

  • Guest
Squid Proxy Hide System’s Real IP Address
« on: August 06, 2014, 02:47:36 pm »
Squid Proxy Hide System’s Real IP Address

Scenario:

My squid proxy server is displaying system's real IP address. I've a corporate password protected squid proxy server located at xxx.xxx.xxx.xxx .  My clients works from home or offices via A/DSL / cable connections. Squid should hide all system's IP address, but it is forwarding and displaying the system's IP address. How do I configure squid to hide client's real IP address?

Solution:
Code: [Select]
X-Forwarded-For: xxx.xxx.xxx.xxx (Your IP)If you disable this, it will appear as

Code: [Select]
X-Forwarded-For: unknown
Open squid.conf file:

Code: [Select]
# vi squid.conf
Set forwarded_for to off:
Code: [Select]
forwarded_for off
Save and close the file. Restart squid server:
Code: [Select]
# /etc/init.d/squid restart