Socket
Book a DemoInstallSign in
Socket

github.com/xjasonlyu/tun2socks/v2

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/xjasonlyu/tun2socks/v2

v2.6.0
Source
Go
Version published
Created
Source

tun2socks

GitHub Workflow Go Version Go Report Maintainability GitHub License Docker Pulls Releases

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

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

All versions starting from v2.6.0 are available under the terms of the MIT License.

Star History

Star History Chart

FAQs

Package last updated on 25 May 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.