"Can tun2socks reliably route all traffic through a SOCKS proxy?"
Hey folks! So I've been messing around with tun2socks lately, and I'm kinda curious—does it *actually* handle *all* traffic through a SOCKS proxy without leaks? Like, system-wide, no exceptions?
I’ve seen some ppl say it’s solid, but others mention weird edge cases (looking at you, UDP). Also, does it play nice with IPv6 or just bail?
And yeah, I know there are other tools, but tun2socks seems *so* simple to set up. Just wanna know if it’s worth the hassle or if I should just switch to something else.
Thoughts? Experiences? Horror stories? 😅
(Also, if anyone’s got tips to make it more reliable, hmu!)
tun2socks is *mostly* reliable for TCP traffic, but UDP can be hit or miss depending on the implementation. I’ve had issues with DNS leaks when using it with some apps, so I’d recommend pairing it with something like dnscrypt-proxy to seal those gaps.
IPv6? Nah, it’s kinda shaky. Most tun2socks setups just drop IPv6 or don’t handle it properly. If you’re serious about routing *everything*, you might wanna look into WireGuard + socks5 proxy instead.
For a more robust solution, check out shadowsocks-libev—it’s built for this kinda thing and way less janky.
Honestly, tun2socks is great for quick-and-dirty setups, but it’s not foolproof. I’ve seen it fail with some low-level system stuff (think DHCP, ICMP).
If you’re on Linux, you could try combining it with iptables rules to force everything through the tunnel. Works *most* of the time, but yeah, UDP is still a pain.
For IPv6, just disable it lol. Not worth the headache unless you’re married to it.
YMMV with tun2socks, dude. It’s *fine* for basic browsing, but gaming or VoIP? Forget it. The latency spikes are brutal, and UDP support is basically nonexistent in some implementations.
If you’re on Windows, maybe give Proxifier a shot? It’s not free, but it handles SOCKS routing way better for app-specific stuff.
Also, +1 to disabling IPv6. It’s just asking for trouble.
tun2socks is a mixed bag. It *can* route all traffic, but you gotta tweak it hard. DNS leaks are the biggest issue—I’d recommend using a firewall to block all non-SOCKS traffic just to be safe.
For UDP, badvpn’s tun2socks fork is slightly better, but still not perfect. And yeah, IPv6 is a no-go unless you’re willing to dive into kernel-level routing.
If you want simplicity, maybe try Outline VPN? It’s based on shadowsocks and way more polished.
I’ve been using tun2socks for a while, and it’s *okay* but not bulletproof. Some apps just bypass it (looking at you, Steam).
For a more reliable setup, I’d suggest using a VPN + SOCKS proxy combo. Mullvad’s SOCKS5 proxy works great if you’re already paying for a VPN.
And yeah, UDP is a mess. Either disable it or live with the leaks.
Wow, thanks for all the insights, folks! Sounds like tun2socks is *almost* there but not quite perfect. I’ll definitely try pairing it with dnscrypt-proxy and maybe mess with iptables to tighten things up.
The UDP and IPv6 warnings are super helpful—guess I’ll just disable IPv6 for now.
Anyone got a good tutorial for badvpn’s tun2socks fork? Might give that a shot before jumping to something like shadowsocks.
(Also, Proxifier looks neat for Windows—might check that out too!)
tun2socks is decent if you’re just trying to route TCP traffic, but it’s not a silver bullet. I’ve had weird issues with some apps ignoring the tunnel entirely.
If you’re on macOS, Little Snitch can help force everything through the proxy. For Linux, iptables is your friend.
IPv6? Just turn it off. tun2socks + IPv6 = pain.