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 3f5b3c9eb3 Chore: update go modules 3 years ago
.github Chore: bump go version to 1.17 3 years ago
common Refactor: autonomize core package 4 years ago
component Chore: go1.17 build constraints 3 years ago
constant Refactor: move to transport 3 years ago
core Fix: rwbased interface implementation 3 years ago
docker Chore: add udp-timeout option to docker image 4 years ago
docs Chore: update README 4 years ago
engine Feature: socks5 over unix domain socket(UDS) support 3 years ago
log Fix(log): default level may race 4 years ago
proxy Feature: socks5 over unix domain socket(UDS) support 3 years ago
stats Chore: unexported globals with _ 4 years ago
transport Chore: minor improvement 3 years ago
tunnel Refactor(tunnel): using parseAddr 3 years ago
.dockerignore Chore: always use zip to release 4 years ago
.gitignore Chore: always use zip to release 4 years ago
Dockerfile Chore: add udp-timeout option to docker image 4 years ago
LICENSE License: GPL 3.0 4 years ago
Makefile Optimize: use gvisor tun for linux 4 years ago
README.md Chore: update README 3 years ago
README_ZH.md Chore: update README 3 years ago
go.mod Chore: update go modules 3 years ago
go.sum Chore: update go modules 3 years ago
main.go Feature: add an option to set udp timeout 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: HTTP/Socks4/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 ANY AMD64 or ARM64

Documentation

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

Community

Welcome and feel free to ask any questions at Github Discussions.

Credits

License

GPL-3.0

FOSSA Status