tun2proxy/tun2proxy
Some data may be outdated — see provenance labels.
Tunnel (TUN) interface for SOCKS and HTTP proxies observed · 2026-10-01
Health v2 · maintenance only
98/100
- Activity 97
- Release rhythm 97
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: 14.5
- age_days: 1875
- days_rel: 20
- days_push: 20
- n_releases_24m: 33
Adoption not part of the score
1423 stars · 192 forks observed · 2026-10-01
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
tun2proxy is a Rust tool that creates a TUN network interface and routes traffic through SOCKS4/5 or HTTP proxies, effectively turning a proxy into a system-wide VPN-like tunnel. It supports IPv4/IPv6, DNS over TCP, UDP-over-TCP gateways, and per-app routing on Android via session info embedding.
Use cases
- route all system traffic through a socks5 proxy
- use an http proxy as a vpn on linux
- tunnel traffic through socks5 on android with per-app routing
- send udp traffic over a tcp socks proxy
- proxy dns queries over tcp through a tunnel
- bypass network restrictions using a proxy tunnel
When to choose
- you need system-wide proxy tunneling without root-level VPN servers
- you only have a SOCKS or HTTP proxy but want all apps' traffic routed through it
- you need UDP over TCP or DNS-over-TCP through a proxy
- you want per-app routing on Android 10+
When to avoid
- you need a full VPN with encryption beyond what the proxy provides
- you need a graphical VPN client rather than a command-line tool
- your proxy does not support the auth methods or UDP features you require
Facets
cli-tool · maturity active
proxy networking vpn routing networking privacy censorship-circumvention developer-tools windows rust cli cross-platform tun2socks socks5 http-proxy tunnel-interface udp-gateway virtual-dns per-app-routing linux macos android ios
2 sources
- readme: https://github.com/tun2proxy/tun2proxy · fetched 2026-10-01 · d5e4b59f0b6d
- registry_crates: https://crates.io/api/v1/crates/tun2proxy · fetched 2026-08-29 · 3de829fc87fe
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| tun2proxy/tun2proxy | main | 98 |
For agents
markdown · JSON · MCP: product_card(name="tun2proxy/tun2proxy")
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem