Проверенный снимок tun2socks 2.6.0 для сборки Zapret KVN без прямой зависимости от GitHub.
  • Go 95.4%
  • Makefile 3%
  • Shell 1.2%
  • Dockerfile 0.4%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
loop-uh ea34b21f0e
Some checks are pending
CodeQL / Analyze (push) Waiting to run
Publish Docker Image / Docker (push) Waiting to run
Linter / Linter (push) Waiting to run
Test / Build Test (push) Waiting to run
Import tun2socks-upstream source snapshot
Upstream repository: https://github.com/xjasonlyu/tun2socks.git
Upstream ref: v2.6.0
Upstream commit: 4127937ea7c450a5230b273f406c9410acec2be7
Snapshot date: 2026-08-07
2026-08-07 10:41:34 +03:00
.github Import tun2socks-upstream source snapshot 2026-08-07 10:41:34 +03:00
buffer Import tun2socks-upstream source snapshot 2026-08-07 10:41:34 +03:00
core Import tun2socks-upstream source snapshot 2026-08-07 10:41:34 +03:00
dialer Import tun2socks-upstream source snapshot 2026-08-07 10:41:34 +03:00
dns Import tun2socks-upstream source snapshot 2026-08-07 10:41:34 +03:00
docker Import tun2socks-upstream source snapshot 2026-08-07 10:41:34 +03:00
docs Import tun2socks-upstream source snapshot 2026-08-07 10:41:34 +03:00
engine Import tun2socks-upstream source snapshot 2026-08-07 10:41:34 +03:00
internal Import tun2socks-upstream source snapshot 2026-08-07 10:41:34 +03:00
log Import tun2socks-upstream source snapshot 2026-08-07 10:41:34 +03:00
metadata Import tun2socks-upstream source snapshot 2026-08-07 10:41:34 +03:00
proxy Import tun2socks-upstream source snapshot 2026-08-07 10:41:34 +03:00
restapi Import tun2socks-upstream source snapshot 2026-08-07 10:41:34 +03:00
transport Import tun2socks-upstream source snapshot 2026-08-07 10:41:34 +03:00
tunnel Import tun2socks-upstream source snapshot 2026-08-07 10:41:34 +03:00
.dockerignore Import tun2socks-upstream source snapshot 2026-08-07 10:41:34 +03:00
.gitignore Import tun2socks-upstream source snapshot 2026-08-07 10:41:34 +03:00
.golangci.yaml Import tun2socks-upstream source snapshot 2026-08-07 10:41:34 +03:00
Dockerfile Import tun2socks-upstream source snapshot 2026-08-07 10:41:34 +03:00
go.mod Import tun2socks-upstream source snapshot 2026-08-07 10:41:34 +03:00
go.sum Import tun2socks-upstream source snapshot 2026-08-07 10:41:34 +03:00
LICENSE Import tun2socks-upstream source snapshot 2026-08-07 10:41:34 +03:00
main.go Import tun2socks-upstream source snapshot 2026-08-07 10:41:34 +03:00
Makefile Import tun2socks-upstream source snapshot 2026-08-07 10:41:34 +03:00
README.md Import tun2socks-upstream source snapshot 2026-08-07 10:41:34 +03:00

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