<p>I have a Kubernetes cluster (Kubernetes 1.13, Weave Net CNI) that has no direct access to an internal company network. There is an authentication-free SOCKS5 proxy that can (only) be reached from the cluster, and which resolves and connects to resources in the internal network:</p>

<p><img src="https://i.stack.imgur.com/thDnx.png" alt=""></p>

<p>Consider some 3rd party Docker Images used on Pods that don't have any explicit proxy support, and just want a resolvable DNS name and target port to connect to a TCP-based service (which might be HTTP(S), but doesn't have to be).</p>

<p>What kind of setup would you propose to bind the Pods and Company Network Services together? </p>

<p>The only two things comes to my mind are:</p>

<p><strong>1)</strong> Run the Socks5 docker image as a sidecar: <a href="https://hub.docker.com/r/serjs/go-socks5-proxy/" rel="nofollow noreferrer">https://hub.docker.com/r/serjs/go-socks5-proxy/</a></p>

<p><strong>2)</strong> Use Transparent Proxy Redirector on the nodes - <a href="https://github.com/darkk/redsocks" rel="nofollow noreferrer">https://github.com/darkk/redsocks</a></p>
