Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

A few different articles this week about spinning up a wireguard container/jail/VM ...

But it's far, far easier to just fire up an sshd somewhere and 'sshuttle' makes it possible to turn any ssh server that you have a login on into a VPN endpoint:

https://sshuttle.readthedocs.io/en/stable/

You don't even need to be a privileged user - just any old user login, over ssh, and you need python to exist on the remote system.




I absolutely love sshuttle but IMHO nothing beats WireGuard‘s availability and simplicity. I have it setup on my laptops, iPhone and iPad. It works transparently and I can access all the stuff in my homenetwork.

I use sshuttle for situations where I don’t have root on a jumphost or only need the tunneling sometimes.


Did you not need to set up your home router, too?


No, I have a small VPS that functions as my central WireGuard node.


I can't believe the performance of sshuttle is anywhere near Wireguard...?


It wasn't when I used it. It's been too long to remember numbers, but I got a significant speed improvement by switching from sshuttle to wireguard.


It's not. The current maintainer is aware of the speed issues (which I believe are CPU bottleneck issues) but I don't believe anything substantive has been done.


Yeah I got 1-2MB/s on a good day with shuttle. It's pretty slow and the author mostly abandoned it.


sshuttle is good for "normal" unix-like systems where you have root, but I was never able to get it working on Android.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: