One of our partners require us to use one of their proxies in order for us to reach various services there. What I would like to achieve is to set up a local proxy at which I point the domains, so that we internally can connect without adding/removing proxy servers or use separate browsers.
Our partner allows us to connect to http:// 10.20.20.10:8080, to reach https://application-x.theirinternal.domain. The proxy request therefor is "CONNECT https://application-x.theirinternal.domain", to http:// 10.20.20.10:8080.
I figure I should be able to setup a local squid, at which I point *.theirinternal.domain. A stunnel in front of it should deal with the https schema for the clients. No user authentication on the proxy host needed.
Is this a feasible solution, and how would I then instruct squid to always further proxy to the proxy 10.20.20.10 (as opposed to doing a real http connect against the destination domains)?