Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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 need to set up a HTTP proxy server (call it server A) for users to access Internet. For some reason, it needs to forward all the requests to another HTTP proxy server (call it server C). But C is not directly accessible by A, unless by using another HTTP proxy server B.

User --> A --> B --> C

Proxy server A and C is controlled by me and I can install anything or configure anything on them. But B is a existing HTTP transparent proxy which I cannot control or configure.

I don't know which software can support this kind of "proxy chaining forwarding".

Do squid or privoxy or other software support this?

share|improve this question
up vote 5 down vote accepted

I'm not sure, but try to Squid cache_peer.

First, add C:

cache_peer C_ADDRESS parent 8080 0 no-query no-digest
never_direct allow all

Then try change cache_peer to B address:

cache_peer B_ADDRESS parent 8080 0 no-query no-digest
never_direct allow all
share|improve this answer

Yes, they both support proxy chains. Ooshro has already explained how you can do it in squid. In privoxy you can do it by forwarding.

share|improve this answer

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.