You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Vladislav Fursov 3cbbf3068a
Fix(socks5): panic with unassigned reply code (#255)
2 years ago
.github CI: update golangci-lint config (#251) 2 years ago
common Feature: add udp-rlybuf option 2 years ago
component CI(linter): enable new linters 2 years ago
core Chore: nolint in tun_wireguard_unix.go (#253) 2 years ago
dns Chore: explicit resolver 3 years ago
docker Fix(docker): sh out of range warning 3 years ago
docs Chore: update README 3 years ago
engine Revert: cli tcp-wait-timeout option 2 years ago
internal/version Chore: minor refactor 3 years ago
log Feature: support setting log output (#248) 2 years ago
metadata Refactor: return metadata.Addr only 3 years ago
proxy Fix: potential crash by bad UDP address (#238) 2 years ago
restapi Fix: netstats JSON response 2 years ago
transport Fix(socks5): panic with unassigned reply code (#255) 2 years ago
tunnel Improve: tunnel/tcp pipe (#219) 2 years ago
.dockerignore Chore: always use zip to release 4 years ago
.gitignore Chore: always use zip to release 4 years ago
.golangci.yaml CI(linter): enable new linters 2 years ago
Dockerfile Revert: udp-rlybuf option 2 years ago
LICENSE License: GPL 3.0 4 years ago
Makefile Chore: update linter 2 years ago
README.md Chore: use Star History 2 years ago
README_ZH.md Chore: use Star History 2 years ago
go.mod Chore: bump golang.org/x/sys to v0.7.0 2 years ago
go.sum Chore: bump golang.org/x/sys to v0.7.0 2 years ago
main.go Revert: cli tcp-wait-timeout option 2 years ago

README.md

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