4 ms·
I know this is a bit different, but maybe you could modify it a bit so you don't need sshuttle? http://blog.mixu.net/2009/05/05/how-to-watch-hulu-videos-via-ss
by lobo_tuerto 14y ago
I know this is a bit different, but maybe you could modify it a bit so you don't need sshuttle?
http://blog.mixu.net/2009/05/05/how-to-watch-hulu-videos-via-ssh-tunneling/ http://blog.mixu.net/2009/05/05/how-to-watch-hulu-videos-via...
Just make your server listen for ssh on port 80 or 443, and then tunnel away!
- nieve 14y agoYou can tunnel out that way just fine, but even with setting up dynamic SOCKS forwarding (ssh -D [bind_address:]port) it's less effective and more work. You're dependent on being able to set proxies per-application, the applications supporting it through some central mechanism (generally flaky), or using proxychains to force an application to use the SOCKS forward (insanely flaky IME). What sshuttle buys you is transparent interception and forwarding of tcp with firewall rules (no proxies), more reliable DNS tunnelling, packet reassembly that avoids the worst tcp-over-tcp performance nightmares, and control of any or all networks that should be tunneled to. There are a couple of nice bonuses like better traffic reporting, toggle for latency vs. throughput, and the ability to offer tunneling to other local machines, but really it's a decent alternative to a vpn for anything that only uses UDP for DNS. TL;DR Less tinkering needed, more reliable, more pleasant to use, supports more applications.
- ciupicri 14y agoAlso if an application does not support SOCKS, there is tsocks[1]. tsocks is a library to allow transparent SOCKS proxying. It wraps the normal connect() function. [1] http://tsocks.sourceforge.net/ http://tsocks.sourceforge.net/
- irishcoffee 14y agoThanks much for the link