Voltar ao ranking
tun2socks - powered by gVisor TCP/IP stack
golangtun2sockssocks5gvisortcpip-stackshadowsocksgotun-devicewireguardudpsocks4nat
Métricas principais
Crescimento de estrelas
Estrelas
5.4k
Forks
634
Crescimento semanal
—
Issues
8
2k4k
out. de 2019nov. de 2020jan. de 2022fev. de 2023abr. de 2024jun. de 2025jul. de 2026
ArtefatosGo Modules
go get github.com/xjasonlyu/tun2socksREADME

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
Full documentation and technical guides can be found at Wiki.
Community
Welcome and feel free to ask any questions at Discussions.
Credits
- google/gvisor - Application Kernel for Containers
- wireguard-go - Go Implementation of WireGuard
- wintun - Layer 3 TUN Driver for Windows
License
Star History
Repositórios relacionados