I have a squid proxy cluster to let my users surf in the internet and on intranet ressources.
Now there is a special user, that wants to configure another squid in the net of the users. So this proxy wants to access the internet over a proxy-proxy configuration.
It doesnt work at the moment.
So here is the question: Whats the configuration line for my squid.conf to allow an IP to use my squid as an upstream proxy?
Let's say you have two proxies:
Your configuration for proxy A already works so we'll ignore that for now. The difference is that proxy B must be configured to send all requests to a proxy, not the internet. So how do to this in Squid for proxy B's configuration?
Investigate the cache_peer configuration directive.
Something like (for proxy B):
On one proxy (the client side), you need to define the
cache_peer
.On the other proxy (the server side), you need to define the appropriate
acl
line to allow the proxy IP to use this proxy.