Go MIT

tun2socks

tun2socks - powered by gVisor TCP/IP stack

X

xjasonlyu

Dernière activité 13 sept. 2026
xjasonlyu/tun2socks

5,5 k

étoiles

646

forks

13

issues ouvertes

gogolanggvisorhttp-proxynatproxifierproxyshadowsockssocks4socks5sshssh-tunneltcpip-stacktortun-devicetun2socksudpwireguard

Ce README est souvent en anglais.

tun2socks

Go Build Go Linter Go Version Maintainability GitHub License Docker Pulls 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

benchmark

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

License

FOSSA Status

Star History

Star History Chart

Projets similaires

GO Simple Tunnel - a simple tunnel written in golang

Godnsdtlsgolang
Ggo-gost
7,6 k étoiles832

Tunnel (TUN) interface for SOCKS and HTTP proxies

Rusthttp-proxyproxysocks
Ttun2proxy
1,4 k étoiles192

Wireguard client that exposes itself as a socks5 proxy

Gogolangnetworkproxy
Wwindtf
5,8 k étoiles408