3 ms·
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
by dheera 11y 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.
- snowpanda 11y agoThat looks interesting, do you happen to know if it has any advantages (or differences) between itself and shadowsocks?
- dheera 11y agoAFAIK 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.
- snowpanda 11y agoAh I see, thanks, great explanation.