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.
 
 
 
 
Jason Lyu 776e6470d3
Feature(actions): add testing (#378)
3 months ago
.github Feature(actions): add testing (#378) 3 months ago
common Chore: remove ref annotations 1 year ago
core Feature: bump gVisor to latest version (#376) 4 months ago
dialer Refactor: relocate dialer pkg 1 year ago
dns Refactor: relocate dialer pkg 1 year ago
docker Docker: add options for multicast groups (#290) 1 year ago
docs Chore: update README 3 years ago
engine Feature: bump gVisor to latest version (#376) 4 months ago
internal/version Refactor(debug): simplify version string (#380) 4 months ago
log Feature: support setting log output (#248) 2 years ago
metadata Refactor: return metadata.Addr only 3 years ago
proxy Feature(proxy): support gost relay protocol (#310) 1 year ago
restapi Refactor(debug): simplify version string (#380) 4 months ago
transport Fix: socks5 usernames and passwords can BOTH be up to 255 bytes (#343) 8 months ago
tunnel Fix: update tcpip.Address api 1 year ago
.dockerignore Chore: always use zip to release 4 years ago
.gitignore Chore(.gitignore): use github template (#381) 4 months ago
.golangci.yaml Chore: update golangci-lint settings (#377) 4 months ago
Dockerfile Docker: add options for multicast groups (#290) 1 year ago
LICENSE License: GPL 3.0 4 years ago
Makefile Chore: update golangci-lint settings (#377) 4 months ago
README.md Chore: update README (#387) 3 months ago
go.mod Feature: bump gVisor to latest version (#376) 4 months ago
go.sum Feature: bump gVisor to latest version (#376) 4 months ago
main.go Feature: add support for multicast (#245) 1 year ago

README.md

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/Relay with authentication support for remote connections.
  • Run Everywhere: Linux/macOS/Windows/FreeBSD/OpenBSD multi-platform support with specific optimizations.
  • 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