That should work for applications that honor socks_proxy or SOCKS5_PROXY environment variables (note the difference between SOCKS4 and SOCKS5 and note some apps or app versions do not understand lowercase and vice versa). SOCKS is a protocol and not equal to HTTP (can use TCP but UDP as well), so in case there's no envvars and for those apps that don't know how to deal with it anyway you'll need to explicitly reroute things through for instance Dante, Delegate, OpenSSH, Polipo, Privoxy, Proxychains, SS5 or Socat (depending on what applications this is about).
|