This is an old revision of the document!
Table of Contents
SSH
Static Forwarding
ssh -L8021:<dist>:21 <host>
Dynamic Forwarding
Use another machine as a proxy, turning localhost into a SOCKS proxy, eg on port 8080:
ssh -D8080 <host>
Then configure your apps to use it:
- Firefox : Preferences | Advanced | Settings | Manual Proxy Configuration | SOCKS Host : localhost, Port : 8080
- Thunderbird : Preferences | Advanced | Network & Disk space | Settings | Manual Proxy Configuration | SOCKS Host : localhost, Port : 8080
- VLC :
vlc –socks=“localhost:8080”
- Pidgin : Tools | Preferences | Proxy | Proxy type: SOCKS 4, Host: localhost, Port: 8080
- ssh, git : /etc/ssh_config
# just to prevent from trying to use the proxy when you want to establish the proxy: Host <host> ProxyCommand socat STDIO TCP:%h:%p # for using the proxy for everything else: Host * ProxyCommand socat STDIO SOCKS4:localhost:%h:%p,socksport=8080