{"id":13441715,"url":"https://github.com/xjasonlyu/tun2socks","last_synced_at":"2025-05-13T00:10:52.184Z","repository":{"id":38347216,"uuid":"197113333","full_name":"xjasonlyu/tun2socks","owner":"xjasonlyu","description":"tun2socks - powered by gVisor TCP/IP stack","archived":false,"fork":false,"pushed_at":"2025-04-15T21:19:25.000Z","size":6369,"stargazers_count":3788,"open_issues_count":12,"forks_count":513,"subscribers_count":38,"default_branch":"main","last_synced_at":"2025-04-23T18:47:45.251Z","etag":null,"topics":["go","golang","gvisor","http-proxy","nat","proxifier","proxy","shadowsocks","socks4","socks5","ssh","ssh-tunnel","tcpip-stack","tor","tun-device","tun2socks","udp","wireguard"],"latest_commit_sha":null,"homepage":"https://github.com/xjasonlyu/tun2socks/wiki","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xjasonlyu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":".github/SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":["xjasonlyu"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2019-07-16T03:25:40.000Z","updated_at":"2025-04-23T03:34:06.000Z","dependencies_parsed_at":"2023-10-23T21:35:07.088Z","dependency_job_id":"b9af71b8-8a0b-4eb7-8c79-ff8b5c2ab329","html_url":"https://github.com/xjasonlyu/tun2socks","commit_stats":{"total_commits":812,"total_committers":12,"mean_commits":67.66666666666667,"dds":"0.016009852216748777","last_synced_commit":"bf745d0e0e5d53d0aa364f1c95f5951769f44023"},"previous_names":[],"tags_count":35,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xjasonlyu%2Ftun2socks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xjasonlyu%2Ftun2socks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xjasonlyu%2Ftun2socks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xjasonlyu%2Ftun2socks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xjasonlyu","download_url":"https://codeload.github.com/xjasonlyu/tun2socks/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253843216,"owners_count":21972874,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["go","golang","gvisor","http-proxy","nat","proxifier","proxy","shadowsocks","socks4","socks5","ssh","ssh-tunnel","tcpip-stack","tor","tun-device","tun2socks","udp","wireguard"],"created_at":"2024-07-31T03:01:37.297Z","updated_at":"2025-05-13T00:10:52.159Z","avatar_url":"https://github.com/xjasonlyu.png","language":"Go","funding_links":["https://github.com/sponsors/xjasonlyu"],"categories":["HarmonyOS","Go","🔧 网络工具 \u0026 代理框架","Recently Updated","golang","shadowsocks","Networking","网络","Projects","Repositories"],"sub_categories":["Windows Manager","[Aug 31, 2024](/content/2024/08/31/README.md)","Transliteration","音译","User Interface"],"readme":"![tun2socks](docs/logo.png)\n\n[![GitHub Workflow][1]](https://github.com/xjasonlyu/tun2socks/actions)\n[![Go Version][2]](https://github.com/xjasonlyu/tun2socks/blob/main/go.mod)\n[![Go Report][3]](https://goreportcard.com/badge/github.com/xjasonlyu/tun2socks)\n[![Maintainability][4]](https://codeclimate.com/github/xjasonlyu/tun2socks/maintainability)\n[![GitHub License][5]](https://github.com/xjasonlyu/tun2socks/blob/main/LICENSE)\n[![Docker Pulls][6]](https://hub.docker.com/r/xjasonlyu/tun2socks)\n[![Releases][7]](https://github.com/xjasonlyu/tun2socks/releases)\n\n## Features\n\n- **Universal Proxying**: Transparently routes all network traffic from any application through a proxy.\n- **Multi-Protocol**: Supports HTTP/SOCKS4/SOCKS5/Shadowsocks proxies with optional authentication.\n- **Cross-Platform**: Runs on Linux/macOS/Windows/FreeBSD/OpenBSD with platform-specific optimizations.\n- **Gateway Mode**: Acts as a Layer 3 gateway to route traffic from other devices on the same network.\n- **Full IPv6 Compatibility**: Natively supports IPv6; seamlessly tunnels IPv4 over IPv6 and vice versa.\n- **User-Space Networking**: Leverages the **[gVisor](https://github.com/google/gvisor)** network stack for enhanced\n  performance and flexibility.\n\n## Benchmarks\n\n![benchmark](docs/benchmark.png)\n\nFor all scenarios of usage, tun2socks performs best.\nSee [benchmarks](https://github.com/xjasonlyu/tun2socks/wiki/Benchmarks) for more details.\n\n## Documentation\n\n- [Install from Source](https://github.com/xjasonlyu/tun2socks/wiki/Install-from-Source)\n- [Quickstart Examples](https://github.com/xjasonlyu/tun2socks/wiki/Examples)\n- [Memory Optimization](https://github.com/xjasonlyu/tun2socks/wiki/Memory-Optimization)\n\nFull documentation and technical guides can be found at [Wiki](https://github.com/xjasonlyu/tun2socks/wiki).\n\n## Community\n\nWelcome and feel free to ask any questions at [Discussions](https://github.com/xjasonlyu/tun2socks/discussions).\n\n## Credits\n\n- [google/gvisor](https://github.com/google/gvisor) - Application Kernel for Containers\n- [wireguard-go](https://git.zx2c4.com/wireguard-go) - Go Implementation of WireGuard\n- [wintun](https://git.zx2c4.com/wintun/) - Layer 3 TUN Driver for Windows\n\n## License\n\n[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fxjasonlyu%2Ftun2socks.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Fxjasonlyu%2Ftun2socks?ref=badge_large)\n\nAll versions starting from `v2.6.0` are available under the terms of the [MIT License](https://github.com/xjasonlyu/tun2socks/blob/main/LICENSE).\n\n## Star History\n\n\u003ca href=\"https://star-history.com/#xjasonlyu/tun2socks\u0026Date\"\u003e\n  \u003cpicture\u003e\n    \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://api.star-history.com/svg?repos=xjasonlyu/tun2socks\u0026type=Date\u0026theme=dark\" /\u003e\n    \u003csource media=\"(prefers-color-scheme: light)\" srcset=\"https://api.star-history.com/svg?repos=xjasonlyu/tun2socks\u0026type=Date\" /\u003e\n    \u003cimg alt=\"Star History Chart\" src=\"https://api.star-history.com/svg?repos=xjasonlyu/tun2socks\u0026type=Date\" /\u003e\n  \u003c/picture\u003e\n\u003c/a\u003e\n\n[1]: https://img.shields.io/github/actions/workflow/status/xjasonlyu/tun2socks/docker.yml?logo=github\n\n[2]: https://img.shields.io/github/go-mod/go-version/xjasonlyu/tun2socks?logo=go\n\n[3]: https://goreportcard.com/badge/github.com/xjasonlyu/tun2socks\n\n[4]: https://api.codeclimate.com/v1/badges/b5b30239174fc6603aca/maintainability\n\n[5]: https://img.shields.io/github/license/xjasonlyu/tun2socks\n\n[6]: https://img.shields.io/docker/pulls/xjasonlyu/tun2socks?logo=docker\n\n[7]: https://img.shields.io/github/v/release/xjasonlyu/tun2socks?logo=smartthings\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxjasonlyu%2Ftun2socks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxjasonlyu%2Ftun2socks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxjasonlyu%2Ftun2socks/lists"}