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 7555425ab8
Chore: update golangci-lint settings (#377)
4 months ago
.github Chore(actions): update versions (#375) 4 months ago
common Chore: remove ref annotations 1 year ago
core Chore: bump dependency (#354) 7 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 Fix: safely split command strings (#340) 9 months 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 Feature(proxy): support gost relay protocol (#310) 1 year ago
restapi Chore: remove ref annotations 1 year 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: always use zip to release 4 years 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 (#314) 1 year ago
README_ZH.md Chore: update README (#314) 1 year ago
go.mod Chore(deps): Bump github.com/gorilla/schema from 1.3.0 to 1.4.1 (#370) 4 months ago
go.sum Chore(deps): Bump github.com/gorilla/schema from 1.3.0 to 1.4.1 (#370) 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

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