[squid-dev] form PROXY header for cache_peer requests

Anthony Pankov anthony.pankov at yahoo.com
Thu Apr 16 11:51:02 UTC 2026


Hello,

I didn't find how to instruct Squid to form PROXY header for request going to parent cache_peer.

Moreover, briefly looking at a code I found parsing PROXY protocol header but not found where it formed to prepend request to cache_peer.

Google AI said:
To make a Squid cache send the PROXY protocol (v1 or v2) to a peer connection, add the�`proxy-out`�option to the�`cache_peer`�directive in�`squid.conf`. This enables sending the client's original IP address information to the parent or sibling proxy.

But it seems to be a sweet hallucination.

Can somebody bring clarity to the subject?

-- 
Best regards,
 Anthony                          mailto:anthony.pankov at yahoo.com



More information about the squid-dev mailing list