Skip to content

Tunnelling Network Traffic through a SSH Proxy

Christopher Hopkins edited this page May 28, 2014 · 3 revisions

If you want to ensure that you don't leak information about your web surfing (and other network activity) when you connect to a network you don't trust, then using a SSH proxy might be for you.

Option 1: Sshuttle

Sshuttle is a "Transparent proxy server that works as a poor man's VPN. Forwards over ssh. Doesn't require admin. Works with Linux and MacOS. Supports DNS tunneling."

 $ sudo apt-get install git
 $ git clone https://github.com/apenwarr/sshuttle.git
 $ cd sshuttle
 $ ./sshuttle --dns -vvr username@sshserver 0/0

This will tunnel all your network traffic through ssh.

Clone this wiki locally