Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to set up a SQUID server on Ubuntu to anonymize all HTTP traffic.

The goal is to hide the source IP make all the requests appear to be generated from the SQUID porxy.

I tried with the deafult configuartion but is not working as expected. How should I edit the squid.conf file?


share|improve this question
Can you be more specific about 'not working as expected'? – Zoredache Oct 1 '09 at 16:28
up vote 1 down vote accepted

Most likely, your problem is with the X-Forwarded-For: header that Squid inserts in the outgoing request. To remove it, use forwarded_for directive as described here:

share|improve this answer
+1 that is definitely the case. – sybreon Oct 2 '09 at 0:52

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.