{"full_name":"xjasonlyu/tun2socks","owner":"xjasonlyu","name":"tun2socks","shard":"1","url":"https://github.com/xjasonlyu/tun2socks","description":"tun2socks - powered by gVisor TCP/IP stack","homepage":"https://github.com/xjasonlyu/tun2socks","topics":["golang","tun2socks","socks5","gvisor","tcpip-stack","shadowsocks","go","tun-device","wireguard","udp","socks4","nat","tor","proxy","ssh-tunnel"],"tag_pages":["go","golang","nat","proxy","shadowsocks","socks5","udp","wireguard"],"language":"Go","license":"MIT","avatar":"https://avatars.githubusercontent.com/u/28824352?u=23b6f8589e174c584fcd19698e49e558cf0e3c61&v=4","created_at":"2019-07-16T03:25:40Z","pushed_at":"2026-10-29T02:04:15Z","metrics":{"stars":5580,"forks":649,"watchers":35,"issues":255,"prs":147,"releases":36,"issues_open":9,"issues_closed":246,"prs_open":3,"prs_closed":27,"prs_merged":117,"discussions":119},"growth":{"day":{"stars":0,"forks":0,"base_day":"2026-11-15"}},"history":{"dates":["2026-11-10","2026-11-11","2026-11-12","2026-11-13","2026-11-14","2026-11-15","2026-11-16"],"stars":[5574,5577,5578,5578,5579,5580,5580],"forks":[649,649,649,649,649,649,649],"watchers":[null,35,35,35,35,35,35],"issues_open":[null,9,9,9,9,9,9],"prs_open":[null,3,3,3,3,3,3]},"boards":{},"same_owner":[],"issues":[{"number":262,"title":"[Bug] UDP requests mapping from tun0 to eth0","comments":33,"created_at":"2023-06-05T10:51:33Z"},{"number":252,"title":"[Feature] Guide to use tunsocks on linux host as a gateway to other hosts ex: LXC containers and VMs","comments":14,"created_at":"2023-05-11T19:22:46Z"},{"number":177,"title":"[Feature] ConeNAT support","comments":7,"created_at":"2022-10-21T07:40:08Z"},{"number":86,"title":"[Feature Request] ACL support","comments":3,"created_at":"2021-12-14T12:58:08Z"},{"number":451,"title":"[Feature] Add Support for HTTPS/TLS Proxy in tun2socks","comments":2,"created_at":"2025-02-16T18:03:35Z"},{"number":357,"title":"[Feature] missing \"--tun-post-down\" option","comments":2,"created_at":"2024-04-17T06:02:47Z"},{"number":83,"title":"[Feature] Support dual stack fallback","comments":2,"created_at":"2021-12-09T03:15:46Z"},{"number":556,"title":"[Bug] device flag and -proxy string get first character(s) stripped in logs and actual interface name","comments":1,"created_at":"2026-09-28T21:00:01Z"}],"discussions":[{"number":548,"title":"how remove the suffixes on windows tun","comments":1,"category":"Q&A","created_at":"2026-08-03T15:56:32Z"},{"number":547,"title":"about used by","comments":0,"category":"Q&A","created_at":"2026-08-01T10:07:38Z"},{"number":534,"title":"Enabling specific IP addresses to connect  by the local internet.","comments":0,"category":"Q&A","created_at":"2026-05-07T03:09:19Z"},{"number":523,"title":"Windows 创建同名TUN会一直+1","comments":3,"category":"Q&A","created_at":"2026-01-27T15:33:18Z"},{"number":506,"title":"要是支持icmp就好了","comments":1,"category":"Q&A","created_at":"2025-11-28T16:27:38Z"},{"number":492,"title":"tun2socks v2.6 proxy authentication issue in windows","comments":0,"category":"Q&A","created_at":"2025-09-05T12:15:24Z"},{"number":484,"title":"SSL error","comments":0,"category":"Q&A","created_at":"2025-07-12T06:59:26Z"},{"number":482,"title":"proxy server and tun2socks in the same host use mac os","comments":0,"category":"Q&A","created_at":"2025-07-04T07:53:30Z"}],"latest_release":{"name":"v2.7.0","tag":"v2.7.0","published_at":"2026-07-12T09:48:53Z","body":"## What's Changed\r\n\r\n### Features\r\n\r\n* Feature: use `pflag` as drop-in replacement by @xjasonlyu in https://github.com/xjasonlyu/tun2socks/pull/513\r\n* Feature(proxy): support ssh proxy protocol by @xjasonlyu in https://github.com/xjasonlyu/tun2socks/pull/519\r\n* Feature: support custom ICMP message handling by @nange in https://github.com/xjasonlyu/tun2socks/pull/521\r\n\r\n### Fixes\r\n\r\n* Fix: update gVisor dependency and modify UDP handler to return a boolean by @SuzukiHonoka in https://github.com/xjasonlyu/tun2socks/pull/487\r\n* Fix: crash on multiple start/stop due to FD being closed twice by @vecljox in https://github.com/xjasonlyu/tun2socks/pull/495\r\n* Fix(log): set log level for `glog` by @xjasonlyu in https://github.com/xjasonlyu/tun2socks/pull/511\r\n* Fix(stack): respond to ICMPv4 echo messages by @xjasonlyu in https://github.com/xjasonlyu/tun2socks/pull/514\r\n* Fix: icmp interface binding by @nange in https://github.com/xjasonlyu/tun2socks/pull/524\r\n* Fix(build): remove unsupported windows/arm32 target by @xjasonlyu with @Copilot in https://github.com/xjasonlyu/tun2socks/pull/542\r\n\r\n### Others\r\n\r\n* Refactor(proxy): registrable proxy protocol by @xjasonlyu in https://github.com/xjasonlyu/tun2socks/pull/517\r\n* Refactor(engine): parse multicast groups by @xjasonlyu in https://github.com/xjasonlyu/tun2socks/pull/518\r\n* Refactor(dialer): with socket options by @xjasonlyu in https://github.com/xjasonlyu/tun2socks/pull/525\r\n* Refactor: ID should return a copy for TCP/UDPConn by @xjasonlyu in https://github.com/xjasonlyu/tun2socks/pull/522\r\n* CI: add tun2socks e2e tests by @xjasonlyu in https://github.com/xjasonlyu/tun2socks/pull/510\r\n* CI(test): update test workflow by @xjasonlyu in https://github.com/xjasonlyu/tun2socks/pull/516\r\n* Chore: bump to go1.26 by @xjasonlyu in https://github.com/xjasonlyu/tun2socks/pull/526\r\n\r\n## New Contributors\r\n* @vecljox made their first contribution in https://github.com/xjasonlyu/tun2socks/pull/495\r\n* @xjasonlyu with @Copilot made their first contribution in https://github.com/xjasonlyu/tun2socks/pull/542\r\n\r\n**Full Changelog**: https://github.com/xjasonlyu/tun2socks/compare/v2.6.0...v2.7.0","is_prerelease":false},"readme":true,"readme_zh":false,"news":[],"stale":false,"snapshot_at":"2026-11-16T09:23:14Z","history_start":"2026-09-06"}