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.
[](https://farm4.static.flickr.com/3609/3525594169_2668b21170.jpg “Threads 140.365 by Stephan Geyer, on Flickr” https://www.flickr.com/photos/stephangeyer/3525594169/ http://i.creativecommons.org/l/by-nc-nd/2.0/80x15.png “Creative Commons Creative Commons Attribution-Noncommercial-No Derivative Works 2.0 Generic License” http://creativecommons.org/licenses/by-nc-nd/2.0/)
Creative Commons Creative Commons Attribution-Noncommercial-No Derivative Works 2.0 Generic License )](http://creativecommons.org/licenses/by-nc-nd/2.0/) by
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 !!!