Xjasonlyu Tun2socks by xjasonlyu
tun2socks - powered by gVisor TCP/IP stack
About Xjasonlyu Tun2socks
From the project's README at github.com/xjasonlyu/tun2socks. Lightly cleaned for readability; for the full source see the upstream repo.
[![GitHub Workflow][1]](https://github.com/xjasonlyu/tun2socks/actions) [![Go Version][2]](https://github.com/xjasonlyu/tun2socks/blob/main/go.mod) [![Go Report][3]](https://goreportcard.com/badge/github.com/xjasonlyu/tun2socks) [![Maintainability][4]](https://qlty.sh/gh/xjasonlyu/projects/tun2socks) [![GitHub License][5]](https://github.com/xjasonlyu/tun2socks/blob/main/LICENSE) [![Docker Pulls][6]](https://hub.docker.com/r/xjasonlyu/tun2socks) [![Releases][7]](https://github.com/xjasonlyu/tun2socks/releases) Features Universal Proxying: Transparently routes all network traffic from any application through a proxy. Multi-Protocol: Supports HTTP/SOCKS/Shadowsocks/SSH/Relay proxies with optional authentication. Cross-Platform: Runs on Linux/macOS/Windows/FreeBSD/OpenBSD with platform-specific optimizations. Gateway Mode: Acts as a Layer 3 gateway to route traffic from other devices on the same network. Full IPv6 Compatibility: Natively supports IPv6; seamlessly tunnels IPv4 over IPv6 and vice versa. User-Space Networking: Leverages the gVisor network stack for enhanced performance and flexibility. Benchmarks
For all scenarios of usage, tun2socks performs best. See benchmarks for more details. Documentation [Install from Source](https://github.com/xjasonlyu/tun2sock
Health score breakdown
6-dimension composite. See methodology for formula and weights.
Adoption signals
Real-world usage data, pulled from each registry. The bigger the numbers, the more battle-tested the project.
| Signal | Value | Source |
|---|---|---|
| GitHub stars | 5.2k | github.com/xjasonlyu/tun2socks |
| GitHub forks | 606 | github.com/xjasonlyu/tun2socks |
| Docker Hub pulls | 1849k | hub.docker.com / xjasonlyu |
Release & maintenance
Is this project actively maintained, or about to die? Check the recency of last commit and last release.
| Project age | 6.8 years | since Jul 2019 |
| Last commit | 1 months ago | Mar 31, 2026 |
| Releases shipped | 35 | last: 11 months ago |
| Security policy | SECURITY.md | declared by maintainers |
| Funding links | 1 | declared by maintainers |
Self-hosting cost across providers
Detected requirements: 4GB RAM, 40GB disk minimum. Cheapest plan per provider that meets the requirement.
| Provider | Plan | Specs | Monthly | |
|---|---|---|---|---|
| hetzner | CAX11 | 2c · 4GB · 40GB | $4.13 USD | Deploy → |
| vultr | VC2 | 1c · 1GB · 25GB | $5 USD | Deploy → |
| linode | Nanode 1GB | 1c · 1GB · 25GB | $5.12 USD | Deploy → |
| digitalocean | Basic Regular 1GB | 1c · 1GB · 25GB | $6 USD | Deploy → |
Ready to self-host Xjasonlyu Tun2socks?
Spin up a hetzner CAX11 (4GB RAM, 40GB disk) for $4.13/mo and follow the project's official install docs.
Data last refreshed May 7, 2026.
Similar open-source projects
Projects in our directory that replace the same SaaS or share topics with Xjasonlyu Tun2socks.