Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xjasonlyu/tun2socks
tun2socks - powered by gVisor TCP/IP stack
https://github.com/xjasonlyu/tun2socks
gfw go golang gvisor http-proxy nat network proxifier-alternative proxy shadowsocks socks4 socks5 ssh-tunnel tcpip-stack tor tun-device tun2socks tunnel udp wireguard
Last synced: 2 days ago
JSON representation
tun2socks - powered by gVisor TCP/IP stack
- Host: GitHub
- URL: https://github.com/xjasonlyu/tun2socks
- Owner: xjasonlyu
- License: gpl-3.0
- Created: 2019-07-16T03:25:40.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-11-12T12:29:07.000Z (30 days ago)
- Last Synced: 2024-11-26T01:04:33.113Z (16 days ago)
- Topics: gfw, go, golang, gvisor, http-proxy, nat, network, proxifier-alternative, proxy, shadowsocks, socks4, socks5, ssh-tunnel, tcpip-stack, tor, tun-device, tun2socks, tunnel, udp, wireguard
- Language: Go
- Homepage: https://github.com/xjasonlyu/tun2socks/wiki
- Size: 6.05 MB
- Stars: 3,400
- Watchers: 38
- Forks: 462
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
- Security: .github/SECURITY.md
Awesome Lists containing this project
- stars - xjasonlyu/tun2socks - powered by gVisor TCP/IP stack (HarmonyOS / Windows Manager)
- awesome-wireguard - tun2socks - Powered by gVisor TCP/IP stack. (Projects / User Interface)
- awesome-golang-repositories - tun2socks - powered by gVisor TCP/IP stack (Repositories)
- awesome-hacking-lists - xjasonlyu/tun2socks - tun2socks - powered by gVisor TCP/IP stack (Go)
- trackawesomelist - tun2socks (⭐3k) - A pure go implementation of tun2socks powered by [gVisor](https://gvisor.dev/) TCP/IP stack. (Recently Updated / [Aug 31, 2024](/content/2024/08/31/README.md))
- awesome-go - tun2socks - A pure go implementation of tun2socks powered by [gVisor](https://gvisor.dev/) TCP/IP stack. Stars:`3.4K`. (Networking / Transliteration)
- awesome-starred - xjasonlyu/tun2socks - tun2socks - powered by gVisor TCP/IP stack (golang)
README
![tun2socks](docs/wordmark.png)
[![GitHub Workflow][1]](https://github.com/xjasonlyu/tun2socks/actions)
[![Go Version][2]](https://github.com/xjasonlyu/tun2socks/blob/main/go.mod)
[![Go Report][3]](https://goreportcard.com/badge/github.com/xjasonlyu/tun2socks)
[![Maintainability][4]](https://codeclimate.com/github/xjasonlyu/tun2socks/maintainability)
[![GitHub License][5]](https://github.com/xjasonlyu/tun2socks/blob/main/LICENSE)
[![Docker Pulls][6]](https://hub.docker.com/r/xjasonlyu/tun2socks)
[![Releases][7]](https://github.com/xjasonlyu/tun2socks/releases)[1]: https://img.shields.io/github/actions/workflow/status/xjasonlyu/tun2socks/release.yml?logo=github
[2]: https://img.shields.io/github/go-mod/go-version/xjasonlyu/tun2socks?logo=go
[3]: https://goreportcard.com/badge/github.com/xjasonlyu/tun2socks
[4]: https://api.codeclimate.com/v1/badges/b5b30239174fc6603aca/maintainability
[5]: https://img.shields.io/github/license/xjasonlyu/tun2socks
[6]: https://img.shields.io/docker/pulls/xjasonlyu/tun2socks?logo=docker
[7]: https://img.shields.io/github/v/release/xjasonlyu/tun2socks?logo=smartthings## Features
- Proxy Everything: Handle all network traffic of any internet programs sent by the device through a proxy.
- Proxy Protocols: HTTP/Socks4/Socks5/Shadowsocks with authentication support for remote connections.
- Run Everywhere: Linux/macOS/Windows/FreeBSD/OpenBSD multi-platform support with specific optimization.
- Gateway Mode: Act as a Layer 3 gateway to handle network traffic from other devices on the same network.
- Full IPv6 Support: All functions work in IPv6, tunnel IPv4 connections through IPv6 proxy and vice versa.
- Network Stack: Powered by the user-space TCP/IP stack from Google container application kernel **[gVisor](https://github.com/google/gvisor)**.## Benchmarks
For all scenarios of usage, tun2socks performs best.
See [benchmarks](https://github.com/xjasonlyu/tun2socks/wiki/Benchmarks) for more details.![benchmark](docs/benchmark.png)
## Documentation
- [Install from Source](https://github.com/xjasonlyu/tun2socks/wiki/Install-from-Source)
- [Quickstart Examples](https://github.com/xjasonlyu/tun2socks/wiki/Examples)
- [Memory Optimization](https://github.com/xjasonlyu/tun2socks/wiki/Memory-Optimization)Full documentation and technical guides can be found at [Wiki](https://github.com/xjasonlyu/tun2socks/wiki).
## Community
Welcome and feel free to ask any questions at [Discussions](https://github.com/xjasonlyu/tun2socks/discussions).
## Credits
- [google/gvisor](https://github.com/google/gvisor) - Application Kernel for Containers
- [wireguard-go](https://git.zx2c4.com/wireguard-go) - Go Implementation of WireGuard
- [wintun](https://git.zx2c4.com/wintun/) - Layer 3 TUN Driver for Windows## License
[GPL-3.0](https://github.com/xjasonlyu/tun2socks/blob/main/LICENSE)
[![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)
## Star History