Skip to content

xjasonlyu/tun2socks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

3599d45 · Mar 17, 2025
Dec 20, 2024
Sep 1, 2024
Oct 12, 2024
May 20, 2023
May 20, 2023
Aug 27, 2023
Apr 4, 2022
Mar 1, 2025
Sep 1, 2024
Aug 28, 2024
Aug 31, 2024
Jan 28, 2025
Aug 28, 2024
Sep 22, 2024
Sep 1, 2024
Sep 1, 2024
Jul 22, 2024
Jul 16, 2024
Aug 27, 2023
Feb 5, 2021
Nov 12, 2024
Feb 24, 2025
Mar 17, 2025
Mar 17, 2025
Aug 28, 2024

tun2socks

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

Features

  • Proxy Everything: Handle all network traffic of any internet programs sent by the device through a proxy.
  • Proxy Protocols: HTTP/Socks4/Socks5/Shadowsocks with authentication support for remote connections.
  • Run Everywhere: Linux/macOS/Windows/FreeBSD/OpenBSD multi-platform support with specific optimization.
  • Gateway Mode: Act as a Layer 3 gateway to handle network traffic from other devices on the same network.
  • Full IPv6 Support: All functions work in IPv6, tunnel IPv4 connections through IPv6 proxy and vice versa.
  • Network Stack: Powered by the user-space TCP/IP stack from Google container application kernel gVisor.

Benchmarks

For all scenarios of usage, tun2socks performs best. See benchmarks for more details.

benchmark

Documentation

Full documentation and technical guides can be found at Wiki.

Community

Welcome and feel free to ask any questions at Discussions.

Credits

License

GPL-3.0

FOSSA Status

Star History

Star History Chart