• Go 94.3%
  • Makefile 3.7%
  • Shell 1.5%
  • Dockerfile 0.5%
Find a file
albexk 9fabebb17e
Modifications for libxray (#2)
* Rename module and move to awg
2024-06-18 14:37:09 +01:00
.github Chore: move files to .github 2023-05-17 22:19:57 +08:00
common Chore: remove ref annotations 2023-05-18 21:15:04 +08:00
core Modifications for libxray (#2) 2024-06-18 14:37:09 +01:00
dialer Refactor: relocate dialer pkg 2023-05-20 14:53:08 +08:00
dns Modifications for libxray (#2) 2024-06-18 14:37:09 +01:00
docker Fix(docker): sh out of range warning 2022-04-04 21:15:06 +08:00
docs Chore: update README 2022-04-04 17:14:03 +08:00
engine Modifications for libxray (#2) 2024-06-18 14:37:09 +01:00
internal/version Chore: minor refactor 2022-03-29 13:39:18 +08:00
log Modifications for libxray (#2) 2024-06-18 14:37:09 +01:00
metadata Refactor: return metadata.Addr only 2022-04-03 23:16:36 +08:00
proxy Modifications for libxray (#2) 2024-06-18 14:37:09 +01:00
restapi Modifications for libxray (#2) 2024-06-18 14:37:09 +01:00
transport Modifications for libxray (#2) 2024-06-18 14:37:09 +01:00
tunnel Modifications for libxray (#2) 2024-06-18 14:37:09 +01:00
.dockerignore Chore: always use zip to release 2021-02-14 11:21:36 +08:00
.gitignore Chore: always use zip to release 2021-02-14 11:21:36 +08:00
.golangci.yaml CI(linter): enable new linters 2023-05-11 10:58:19 +08:00
Dockerfile Revert: udp-rlybuf option 2023-04-03 12:24:07 +08:00
go.mod Modifications for libxray (#2) 2024-06-18 14:37:09 +01:00
go.sum Modifications for libxray (#2) 2024-06-18 14:37:09 +01:00
LICENSE License: GPL 3.0 2021-02-05 20:16:54 +08:00
main.go Modifications for libxray (#2) 2024-06-18 14:37:09 +01:00
Makefile Modifications for libxray (#2) 2024-06-18 14:37:09 +01:00
README.md Chore: use Star History 2023-04-25 15:25:48 +08:00
README_ZH.md Chore: use Star History 2023-04-25 15:25:48 +08:00

tun2socks

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

English | 简体中文

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 three gateway to handle network traffic from other devices in the same network.
  • Full IPv6 Support: All functions work in IPv6, tunnel IPv4 connections through IPv6 proxy and vice versa.
  • Network Stack: Powered by user-space TCP/IP stack from Google container application kernel gVisor.

Benchmarks

For all scenarios of usage, tun2socks performs best. See here 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