I am looking to set a proxy for terminal. What I need is I want to send all terminal communications to the internet through a proxy, say tor.
I tried to set a system wide proxy set up. But Terminal doesn't obey the system wide proxy configuration.
Is there any other way to do this?
Best Answer
Terminal is not net application. Maybe is better to say, in your case, terminal is container for net application like
ssh
,telnet
,lftp
,wget
,lynx
...Edit your:
Enter the details in this format.
This is for when using
wget
,ftp
,lftp
,telnet
in terminalssh
has no nativeSOCKS
client support, you need to use aProxyCommand
for that, for instance withsocat
:Or use things like
tsocks
to transparently useSOCKS
forTCP
traffic.For
SOCKS5
with socat 2:For HTTP Proxy CONNECT method with socat 2: