Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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? Thanks.

share|improve this question

2 Answers 2

up vote 4 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 u can do it in squid, in privoxy you can do it by forwarding.

share|improve this answer

Your Answer

 
discard

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.