The poor man’s SSH server, complete with DNS redirects.

For years I’ve been using SSH (redirecting local ports to IPs within range of the SSH server) as a poor man’s version of a VPN. It’s more convenient for me and also, my VPN server manufacturer doesn’t have a proper VPN client for linux <smirk>. Of course when running Windows in a VM, I get to use my native VPN client, but when in Linux natively, I have to resort to SSH.

Windows users would use Putty to SSH to servers, whereas in Linux, I just use the ssh application native to Linux.

Normally, I have a pretty long ssh command with a lot of local redirects, at least 20 … but I’ve recently discovered a python-based SSH server, where the client automatically redirects all traffic (similar to a socks proxy) through the SSH server, including DNS requests.

I have not yet tested this application, though I plan to — however it seems robust enough that it might be able to replace my 3-line-long SSH command and also make my poor man VPN a bit more robust.

It’s worth trying and at the very least, when I get some time my blog post here will remind me to try it.

Links:

sshuttle

Here’s a HowTo document.