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.
 
 
 
 
xjasonlyu b15f93225b Chore: bump to go1.16 4 years ago
.github/workflows Chore: bump to go1.16 4 years ago
common Refactor: autonomize core package 4 years ago
component Chore: add a comment to dialer 4 years ago
constant Fix: deprecate metadata.Valid method 4 years ago
core Chore(tun): minor changes 4 years ago
docker Chore: optimize docker/entrypoint.sh 4 years ago
docs Chore: update README 4 years ago
engine Chore: adjust version output format 4 years ago
log Fix(log): default level may race 4 years ago
proxy Chore: bump to go1.16 4 years ago
stats Chore: unexported globals with _ 4 years ago
tunnel Chore: udp timeout => 60s 4 years ago
.dockerignore Chore: always use zip to release 4 years ago
.gitignore Chore: always use zip to release 4 years ago
Dockerfile Chore: tidy Dockerfile 4 years ago
LICENSE License: GPL 3.0 4 years ago
Makefile Feature: add linux-s390x 4 years ago
README.md Chore: update README 4 years ago
README_ZH.md Chore: update README 4 years ago
go.mod Chore: bump to go1.16 4 years ago
go.sum Chore: bump to go1.16 4 years ago
main.go Fix: replace pflag with flag 4 years ago

README.md

tun2socks

GitHub Workflow Go Version Go Report GitHub License Releases

English | 简体中文

Features

  • Fully support: IPv4/IPv6/ICMP/TCP/UDP
  • Proxy protocol: Socks5/Shadowsocks
  • Game ready: optimized UDP transmission
  • Pure Go: no CGO required, stability improved
  • Router mode: forwarding packets in LAN
  • TCP/IP stack: powered by gVisor
  • High performance: >2.5Gbps throughput

Requirements

Target Minimum Recommended
System Linux MacOS Freebsd OpenBSD Windows Linux or MacOS
Memory >20MB >128MB
CPU 64bit AMD64 with AES-NI & AVX2

Documentation

Documentations and quick start guides can be found at Github Wiki.

Credits

License

GPL-3.0

FOSSA Status