sshuttle - VPN over SSH

Introduction

SSHuttle works pretty well as a quick and dirty solution, but is really slow so use it sparingly.

Commands

To connect with sshuttle sshuttle -r USERNAME@SERVER_IP 0.0.0.0/0 -vv

Sudo should not be used if you’re using ~/.ssh private keys but sshuttle will request elevation Use 0.0.0.0/0 to route all traffic, or specify an IP/CIDR

If that doesn’t work, try this: sshuttle -r USERNAME@SERVER_IP -x SERVER_IP 0/0 -vv

To specify private keys add: --ssh-cmd 'ssh -i .ssh/NAME'

Note: More ‘-v’ makes it more verbose