SShuttle – quick and temporary VPN over SSH
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. by Stephan Geyer Sometimes you need to quickly forward all your traffic via a remote server quickly. And while you can do all of this manually using OpenSSH it's not a quick one-step process (https://help.ubuntu.com/community/SSH/OpenSSH/PortForwarding). Dynamic SOCKS5 proxies are great if all you need is browser traffic, but there is always software that won't play ball with SOCKS. 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