xjasonlyu/tun2socks

tun2socks - powered by gVisor TCP/IP stack

View on GitHub ↗Jump to charts ↓Open shareable report →

Data as of . Signed-in members get hourly updates — create a free account.

Summary Information

Updated 6 minutes ago
Added to GitGenius on September 12th, 2026
Created on July 16th, 2019
Open Issues & Pull Requests: 13 (+0)
GitHub issues: Enabled
Number of forks: 649
Total Stargazers: 5,523 (+0)
Total Subscribers: 35 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 6.0 hours
Mean response time: 35.6 days
90th percentile: 56.3 days
Tracked items: 57

Maintainer activity

1 person did triage or write work on this repository in the last 12 months.

Counts unlabeled, assigned, unassigned, milestoned, demilestoned, locked, unlocked over the last 12 months. These are issue and pull request events that require triage or write permission. Commits and code review are not counted. labeled and renamed are excluded because GitHub issue forms record the issue author as the actor. Figures from October 7, 2026. This count is not comparable across projects: each project's automation decides which of these events a person emits.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 6
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 790 days
Stale 30+ days: 5
Stale 90+ days: 4

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • Stale (26)
  • enhancement (4)
  • bug (2)
  • documentation (2)
  • help wanted (2)
  • duplicate (1)
  • question (1)

Most active issues this week

Sign in to see which issues are moving.
Sign in

Detailed Description

tun2socks is a user-space network proxy tool that transparently routes traffic through a TUN device using the gVisor TCP/IP stack.

The tool solves the problem of routing all network traffic from applications through proxy servers without requiring application-level changes. It works by creating a virtual network interface that intercepts traffic and processes it through a user-space TCP/IP stack powered by gVisor, then forwards connections through supported proxy protocols including HTTP, SOCKS, Shadowsocks, SSH, and relay proxies. This approach enables transparent proxying across the entire system while maintaining flexibility in proxy selection and authentication.

Developers should choose this tool when they need system-wide transparent proxying across multiple applications and protocols. It suits scenarios ranging from personal workstations to gateway deployments that route traffic from other devices on the network. The tool runs on Linux, macOS, Windows, FreeBSD, and OpenBSD with platform-specific optimizations. It natively supports IPv6 and can tunnel IPv4 over IPv6 and vice versa. The README does not compare tun2socks to alternative proxying solutions, so no comparative guidance can be offered.

The project maintains active community engagement through a discussions forum. Documentation is comprehensive, covering installation from source, quickstart examples, and memory optimization techniques. The tool includes benchmarking results demonstrating performance characteristics across different usage scenarios.