

Using Tor as an egress proxy inside a Kubernetes cluster Here’s an example in golang: proxy, _ := url.Parse(" httpClient := &http.Clientįor a more robust HTTP Client checkout this. Explicitly instructing the HTTP client to use a proxy.

Set the HTTP_PROXY environment variable: $ export HTTP_PROXY=" HTTP_PROXY environment variable will be used as the proxy URL for HTTP requests and HTTPS requests, unless overridden by HTTPS_PROXY or NO_PROXYĢ. There are three ways to instruct a client to use a proxy:ġ.

Say you’re a DevOps or a security manager and you want to make sure some or maybe all of your pods use Tor or some other proxy as an egress gateway. Hiding Go HTTP Client Behind a Proxy or Tor
