xjasonlyu/tun2socks
tun2socks - powered by gVisor TCP/IP stack observed · 2026-08-28
Health v2 · maintenance only
84/100
- Activity 96
- Release rhythm 60
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 399
- age_days: 2605
- days_rel: 52
- days_push: 26
- n_releases_24m: 2
Adoption not part of the score
5461 stars · 644 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A Go-based tool that transparently routes all network traffic from any application through a proxy (SOCKS4/5, HTTP, Shadowsocks, SSH, WireGuard) using a TUN device and the gVisor user-space TCP/IP stack. It runs cross-platform and can act as a Layer 3 gateway for other devices on the network.
Use cases
- route all system traffic through a socks5 proxy
- force applications without proxy support through a proxy
- tunnel traffic through shadowsocks or ssh
- share a proxy connection with other devices on the LAN
- proxy UDP and TCP traffic over a TUN interface
- set up a transparent proxy gateway on linux
When to choose
- you need transparent, system-wide proxying across Linux, macOS, Windows, or BSD
- you want to proxy apps that don't natively support proxies
- you need a Layer 3 gateway to share a proxy with other devices
- you need IPv6 support and user-space networking without kernel modules
When to avoid
- you only need per-application proxy configuration rather than system-wide routing
- you need a full VPN solution with encryption and key management rather than proxy tunneling
- you want a GUI-based proxy client
- you need deep packet inspection or traffic filtering rules
Facets
cli-tool · maturity active
proxy networking vpn routing networking privacy security windows bsd go cli tun2socks gvisor socks5 shadowsocks wireguard transparent-proxy tun-device gateway-mode ipv6 command-line linux macos docker
2 sources
- readme: https://github.com/xjasonlyu/tun2socks · fetched 2026-08-28 · 872b3e3cb708
- homepage: https://github.com/xjasonlyu/tun2socks/wiki · fetched 2026-08-29 · fd69df5429f3
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| xjasonlyu/tun2socks | main | 84 |
For agents
markdown · JSON · MCP: product_card(name="xjasonlyu/tun2socks")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem