tun2socks xjasonlyu
Use this command to install tun2socks:
winget install --id=xjasonlyu.tun2socks -e
tun2socks - powered by gVisor TCP/IP stack
README
Features
- Universal Proxying: Transparently routes all network traffic from any application through a proxy.
- Multi-Protocol: Supports HTTP/SOCKS4/SOCKS5/Shadowsocks 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
All versions starting from v2.6.0
are available under the terms of the MIT License.
Star History
<img src="https://api.star-history.com/svg?repos=xjasonlyu/tun2socks&type=Date" />