I'm working at a company that requires a proxy server for connecting to the internet. Unfortunately I have to deal quite much with VMs and docker containers. It's really hard for me to build and test them locally because I have to enter that proxy in all tools (apt, docker itself, tools during docker build, tools on container runtime, ...) that are involved. Sometimes it's not even possible to set up a proxy explicitely.
Now I'm thinking about some tool that I could run as a virtual machine and acts as a network gateway, forwarding the traffic to the proxy (the proxy supports HTTP Connect).
I didn't find anything like this via google. Does anyone here know about a tool (or some iptables magic) to do this?