Configuring Ubuntu for Global SOCKS5 proxy
- by x50
Does anyone know the best way to configure Ubuntu to use a SOCKS5 proxy for all network traffic? Server is ubuntu server - all cli. So I cannot set via the Proxy Settings GUI. We want to push all outbound traffic through the proxy (apt-get, http, https, etc). I do need to separate ssh traffic so it stays locally. Everything else should hit the proxy server. not that it matters, but I'm using Squid for the proxy server.
I know this is easy on Mac and Windows as you can set a proxy on the actual network interface. Can you do the same on Ubuntu?