Hacker News new | ask | show | jobs
by dheera 3845 days ago
I usually just use sshuttle, which does the ssh-vpn-proxying in one go.

$ sudo apt-get install sshuttle

$ sudo sshuttle --dns --no-latency-control -l 0.0.0.0 -vr username@hostname 0/0

After this you'll have a NATed IP address and all your TCP and DNS requests will appear to come from hostname.

1 comments

That looks interesting, do you happen to know if it has any advantages (or differences) between itself and shadowsocks?
AFAIK shadowsocks is just a SOCKS proxy server with some features, correct? You then need to tell each application to actually use the server; some applications may not have such a configuration option.

sshuttle on the other hand changes your routing so that all TCP requests go through a SSH tunnel. No further configuration is needed on the application side. It does fall short of a full-blown VPN though in that it doesn't do UDP.

Ah I see, thanks, great explanation.