Wednesday, 7 November 2012

Linux for you Admin Tips:10

Squid - Hide System’s IP Address

Squid proxy server has directive called forwarded_for. If set, Squid will include your system's IP address or name n the HTTP requests it forwards. By default it looks like
If you disable this, it will appear as
X-Forwarded-For: unknown
Open squid.conf file:

# vi squid.conf
Set forwarded_for to off:
forwarded_for off
Save and close the file. Restart squid server:

# /etc/init.d/squid restart

No comments:

Post a Comment