Tun2socks
tun2socks - powered by gVisor TCP/IP stack
Install / Use
/learn @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
<a href="https://star-history.com/#xjasonlyu/tun2socks&Date"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=xjasonlyu/tun2socks&type=Date&theme=dark" /> <source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=xjasonlyu/tun2socks&type=Date" /> <img alt="Star History Chart" src="https://api.star-history.com/svg?repos=xjasonlyu/tun2socks&type=Date" /> </picture> </a>Related Skills
node-connect
341.6kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
xurl
341.6kA CLI tool for making authenticated requests to the X (Twitter) API. Use this skill when you need to post tweets, reply, quote, search, read posts, manage followers, send DMs, upload media, or interact with any X API v2 endpoint.
frontend-design
84.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
341.6kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
