Hacker News new | ask | show | jobs
by ambrop7 3847 days ago
An alternative approach is to use my own tun2socks program [1][2], instead of tsocks. This utilizes an integrated lwIP stack to transparently expose the proxy to the entire OS. It's a little tricky to set up the network interface and routing, but then works with pretty much everything.

Note, tun2socks is used internally in the Android versions of Psiphon3, ShadowSocks and Tor's Guardian/Orbot.

[1] https://code.google.com/p/badvpn/wiki/tun2socks

[2] https://github.com/ambrop72/badvpn

1 comments

Jesus, if I'd known about this in high school I would have been in a lot of trouble.

I see it supports Windows, but the last commits towards that support were a while ago (?)

Windows is supported and works, there should be no reason to add new code. The only thing lacking is a recent Windows build. However, it should be easy to build via https://github.com/Alexpux/MINGW-packages .