Configuring Ubuntu for Global SOCKS5 proxy
        Posted  
        
            by 
                x50
            
        on Server Fault
        
        See other posts from Server Fault
        
            or by x50
        
        
        
        Published on 2011-11-18T17:18:33Z
        Indexed on 
            2011/11/18
            17:54 UTC
        
        
        Read the original article
        Hit count: 499
        
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?
© Server Fault or respective owner