SShuttle - quick and temporary VPN over SSH
By Leo Gaggl
Every once in a while you find a gem. One of these for me is SShuttle – until now I have not known about this one.
Use-case: I just been trying to get Ubuntu Make to install Eclipse IDE and the local AARNET download mirror is just refusing to cooperate (https://github.com/ubuntu/ubuntu-make/issues/90). A quick forward to a remote VPS fixed the issue without headaches
Install
sudo apt-get install sshuttle
Run
sshuttle -r username@servername.tld 0.0.0.0/0 -vv
That’s all – it sets up routing & iptable rules transparently and removes them after use. Kudos goes to https://github.com/apenwarr – thank you. A VERY useful utility !!!
Source link: https://github.com/apenwarr/sshuttle