Live data from Hacker News

Transparent proxy server that works as a poor man's VPN

github.com

11–20 of 25 posts

Re: Transparent proxy server that works as a poor man's VPN

#11
post #3
post #2

Been using this for years, can be a little weird at times but usually works fairly well, even on OS X.

Doesn't work on Yosemite!

It does. It was updated a couple of months ago to use the new pfctl framework of -E/-X to enable/disable the firewall and uses the existing hooks in the firewall to automatically insert/remove rules as necessary.

I've used it extensively on Yosemite.

Re: Transparent proxy server that works as a poor man's VPN

#12
I love sshuttle. You can point it at any ssh server (that has python installed on it) and you don't need any special privileges on the remote end.

One problem is that it does not support DNS tunneling if FreeBSD is your client.[1]

Item: we (rsync.net) would be willing to pay for development that gets sshuttle to work properly and bulletproof on FreeBSD. In fact, we would be willing to pay for sshuttle development in general. Email us.[2]

Also, what is up with this new fork ... which speaks from the original authors point of view and, in fact, has his own personal notes cut and pasted into the README. In fact, the contact information is the original author - Avery Pennarun apenwarr@gmail.com - what's going on here ?

[1] No, the note about IPFIREWALL_FORWARD does not fix this problem.

[2] info@rsync.net

Re: Transparent proxy server that works as a poor man's VPN

#13
post #5

Why not just use OpenVPN? It's just as simple (if not simpler) to setup and considerably more powerful. An OpenVPN server can go from zero to done in under 5 minutes (for HN readers, less) with a Docker container: https://github.com/kylemanna/github

That might work if you have root on the system you are connecting to, but in a lot of cases you might not. In a corporate scenario sshuttle has been life saver because it makes it simple to make networks behind a jump server look and feel like they are just a router hop away. This makes using stuff like VMWare easier since it usually requires direct access to the hosts on various different ports and makes it difficult to set up port forwarding.

Re: Transparent proxy server that works as a poor man's VPN

#14
post #5

Why not just use OpenVPN? It's just as simple (if not simpler) to setup and considerably more powerful. An OpenVPN server can go from zero to done in under 5 minutes (for HN readers, less) with a Docker container: https://github.com/kylemanna/github

5 minutes is an exaggeration, but I've done it in an hour. It's not really OpenVPN's fault, though - most of that time was dealing with Windows firewall, home router port forwarding (through those god-awful, buggy http interfaces they put on routers), and iptables.

Re: Transparent proxy server that works as a poor man's VPN

#15
post #12

I love sshuttle. You can point it at any ssh server (that has python installed on it) and you don't need any special privileges on the remote end. One problem is that it does not support DNS tunneling if FreeBSD is your client.[1] Item: we (rsync.net) would be willing to pay for development that gets sshuttle to work properly and bulletproof on FreeBSD. In fact, we would be willing to pay for sshuttle development in…

If you fork on github, you get the README with your fork. You have to actually go and edit it for it to be different.

Re: Transparent proxy server that works as a poor man's VPN

#16
post #4

I used this for a while in summer while I travelled to China, it worked shortly before the powerful GFW blocks it deadly, along with openvpn-over-443-port etc that I tried, which also failed soon after it's used for a short while.

The great firewall won't block tor bridges on port 80 or 443. I've been there a time or two and used it :D

Re: Transparent proxy server that works as a poor man's VPN

#19
post #12

I love sshuttle. You can point it at any ssh server (that has python installed on it) and you don't need any special privileges on the remote end. One problem is that it does not support DNS tunneling if FreeBSD is your client.[1] Item: we (rsync.net) would be willing to pay for development that gets sshuttle to work properly and bulletproof on FreeBSD. In fact, we would be willing to pay for sshuttle development in…

sshuttle is really cool, except both macs I've run it on would have weird system crashes while running it.

I ended up creating a proper VPN via a microtik router and have enjoyed the superior performance compared to sshuttle, though it was several orders of magnitude more effort to get going! sshuttle was almost too easy to get up and running :)

Re: Transparent proxy server that works as a poor man's VPN

#20
post #12

I love sshuttle. You can point it at any ssh server (that has python installed on it) and you don't need any special privileges on the remote end. One problem is that it does not support DNS tunneling if FreeBSD is your client.[1] Item: we (rsync.net) would be willing to pay for development that gets sshuttle to work properly and bulletproof on FreeBSD. In fact, we would be willing to pay for sshuttle development in…

sshuttle is really cool, except both macs I've run it on would have weird system crashes while running it. I ended up creating a proper VPN via a microtik router and have enjoyed the superior performance compared to sshuttle, though it was several orders of magnitude more effort to get going! sshuttle was almost too easy to get up and running :)

A python script should not be able to make your Mac crash (depending on what you mean by "weird system crash"). If it actually causes a hard crash, that likely either points to a weird hardware/software problem on your system, or it's a bug that Apple would like to know about if they don't already.
Post reply on HN