Stop Squid Proxy Reporting the Internal Client’s IP Address

Written by James McDonald

September 30, 2009

Tip from here

edit squid.conf

vi /etc/squid/squid.conf

Find the following section of squid.conf and add forwarded_for off

#  TAG: forwarded_for   on|off
#       If set, Squid will include your system's IP address or name
#       in the HTTP requests it forwards.  By default it looks like
#       this:
#               X-Forwarded-For:
#       If you disable this, it will appear as
#               X-Forwarded-For: unknown
# forwarded_for on
forwarded_for off

Reload squid.conf to make the change take effect

service squid reload


Submit a Comment

Your email address will not be published. Required fields are marked *

You May Also Like…

Scam call from “Telstra”

Just had a call from a man with a sub-continental accent from caller ID 0734946596 Told me there was problem with my...

PC Build

I recently built myself a PC using the SilverStone SG13 Case. I am planning to use it as a Hot Spare. So any client...