How do I con gure Squid forward all requests to another proxy?
Note: The information here is current for version 2.2. First, you need to give Squid a parent cache. Second, you need to tell Squid it can not connect directly to origin servers. This is done with three con guration le lines: cache_peer parentcache.foo.com parent 3128 0 no-query default acl all src 0.0.0.0/0.0.0.0 never_direct allow all Note, with this con guration, if the parent cache fails or becomes unreachable, then every request will result in an error message. In case you want to be able to use direct connections when all the parents go down you should use a di erent approach: cache_peer parentcache.foo.com parent 3128 0 no-query prefer_direct off The default behaviour of Squid in the absence of positive ICP, HTCP, etc replies is to connect to the origin server instead of using parents. The prefer_direct o directive tells Squid to try parents rst.