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

I spent a lot of time in China and ExpressVPN was the norm for the Americans I hung out with. Sometimes though, Express would be down, and I'd spin up a Socks proxy pointing at a Digital Ocean droplet and it worked like a charm. The downside is that only web browsing over Firefox (or the browser configured with the Socks port) will use that proxy, unlike OS or non-browsing internet traffic.


You can use mellow[1] to turn your socks proxy to transparent global proxy. Although this software is not maintained anymore, it still works.

[1]: https://github.com/mellow-io/mellow


So what if you created a VM which runs the proxy and then you run your host traffic through the gateway on the vm? Could that work?


There are solutions which allow to redirect transit TCP connections into SOCKS proxy transparently: https://github.com/cybozu-go/transocks

So, yes, VM/router solution will work for TCP connections.

Also there are wrappers which can intercept connect calls to libc from applications on Linux (which is useful if you need to redirect only one application which doesn't support SOCKS proxies): https://linux.die.net/man/8/tsocks


> unlike OS or non-browsing internet traffic.

Not nearly everything else, but alot of things use PROXY/HTTP_PROXY for HTTP things which works here too.




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

Search: