Squid transparent proxy connected to another proxy

PROXYsquid

Sorry for my terminology I am not proxy expert.

What I need to do is to have a very simple HTTP(S) proxy on one side without any client authentication (this is so that clients don't need to supply username/password to connect to it), while this same proxy needs to redirect everything to the next "real" proxy which does its magic.

Maybe someone can just point me in the right direction – perhaps just a few lines of Squid configuration (just to get an idea what to look for) would also be accepted as the answer.

Best Answer

It could be something like following

acl local_net src 192.168.1.0/24
http_access allow local_net

cache_peer real-magic-proxy.example.net parent 3128 3130 default login=user:password
cache_peer_access real-magic-proxy.example.net allow local_net

Your real proxy must support ICP protocol. It will work with http, but with https, I think, it wouldn't work due to nature of ssl. But you could try ssl bump feature in squid 3.3.x

You can use login=user:password if your parent requires proxy authentication

Related Topic