From 0d06702b9efe7f04ee1b69ce6d0f137d5333dc41 Mon Sep 17 00:00:00 2001 From: Sheldon <1415182877@qq.com> Date: Fri, 13 Feb 2026 14:43:15 +0800 Subject: [PATCH 1/2] Add DuoTunnel - QUIC-based bidirectional tunnel proxy written in Rust DuoTunnel is a high-performance bidirectional tunnel proxy built on QUIC (quinn) with native stream multiplexing, replacing the traditional TCP+Yamux approach used by tools like frp. Key features: - Bidirectional forwarding (ingress + egress) over a single QUIC connection - Multi-protocol support: HTTP/1.1, HTTP/2, HTTPS (TLS SNI), WebSocket, TCP - Unified vhost-based routing with O(1) lookup + wildcard patterns - Server pushes routing configuration to clients on login - Group-based client management with round-robin load balancing - Lock-free concurrency (DashMap), zero-copy relay (tokio::io::copy) - Automatic reconnection with exponential backoff - Dynamic self-signed certificate generation for TLS termination - Prometheus metrics endpoint Repository: https://github.com/locustbaby/duotunnel License: MIT Language: Rust --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 886db44..06d5771 100644 --- a/README.md +++ b/README.md @@ -41,6 +41,7 @@ the domain registration and DNS management in a simple way. * [sshuttle](https://github.com/sshuttle/sshuttle) [![sshuttle github stars badge](https://img.shields.io/github/stars/sshuttle/sshuttle?style=flat)](https://github.com/sshuttle/sshuttle/stargazers) - Open source project originally from one of the founders of Tailscale. Server doesn't require root; client does. Explicitly designed to avoid TCP-over-TCP issues. * [rathole](https://github.com/rapiz1/rathole) [![rathole github stars badge](https://img.shields.io/github/stars/rapiz1/rathole?style=flat)](https://github.com/rapiz1/rathole/stargazers) - Similar to frp, including the config format, but with improved performance. Low resource consumption. Hot reload. Written in Rust. * [bore](https://github.com/ekzhang/bore) [![bore github stars badge](https://img.shields.io/github/stars/ekzhang/bore?style=flat)](https://github.com/ekzhang/bore/stargazers) - Minimal tunneling solution. MIT Licensed. Written in Rust. +* [duotunnel](https://github.com/locustbaby/duotunnel) [![duotunnel github stars badge](https://img.shields.io/github/stars/locustbaby/duotunnel?style=flat)](https://github.com/locustbaby/duotunnel/stargazers) - QUIC-based bidirectional tunnel proxy with native multiplexing. Supports HTTP/1.1, HTTP/2, HTTPS (TLS SNI), WebSocket, and TCP. Features unified vhost routing, server-to-client config distribution, group-based client management, and round-robin load balancing. MIT License. Written in Rust. * [wstunnel](https://github.com/erebe/wstunnel) [![wstunnel github stars badge](https://img.shields.io/github/stars/erebe/wstunnel?style=flat)](https://github.com/erebe/wstunnel/stargazers) - Proxies over WebSockets. Focus on proxying from behind networks that block certain protocols. Written in Rust with executables provided. * [gost](https://latest.gost.run/en/) [![gost github stars badge](https://img.shields.io/github/stars/go-gost/gost?style=flat)](https://github.com/go-gost/gost/stargazers) - Looks like a comprehensive option. TCP and UDP tunneling. TAP/TUN devices. Load balancing. Web API. Written in Go. * [tunnelto](https://tunnelto.dev/) [![tunnelto github stars badge](https://img.shields.io/github/stars/agrinman/tunnelto?style=flat)](https://github.com/agrinman/tunnelto/stargazers) - Open source (MIT). Written in Rust. From 55f12506876ecea708b30c69f201140a549fb4f9 Mon Sep 17 00:00:00 2001 From: Sheldon <1415182877@qq.com> Date: Fri, 13 Feb 2026 23:14:19 +0800 Subject: [PATCH 2/2] Reorder DuoTunnel by star count and add simple ingress example link - Move DuoTunnel to end of open source section (currently 1 star) - Add link to simple ingress example demonstrating basic use case - Link: https://github.com/locustbaby/duotunnel/tree/main/examples/simple-ingress The example shows how to expose localhost:8080 through a public server using minimal vhost routing configuration. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 06d5771..afc5f07 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,6 @@ the domain registration and DNS management in a simple way. * [sshuttle](https://github.com/sshuttle/sshuttle) [![sshuttle github stars badge](https://img.shields.io/github/stars/sshuttle/sshuttle?style=flat)](https://github.com/sshuttle/sshuttle/stargazers) - Open source project originally from one of the founders of Tailscale. Server doesn't require root; client does. Explicitly designed to avoid TCP-over-TCP issues. * [rathole](https://github.com/rapiz1/rathole) [![rathole github stars badge](https://img.shields.io/github/stars/rapiz1/rathole?style=flat)](https://github.com/rapiz1/rathole/stargazers) - Similar to frp, including the config format, but with improved performance. Low resource consumption. Hot reload. Written in Rust. * [bore](https://github.com/ekzhang/bore) [![bore github stars badge](https://img.shields.io/github/stars/ekzhang/bore?style=flat)](https://github.com/ekzhang/bore/stargazers) - Minimal tunneling solution. MIT Licensed. Written in Rust. -* [duotunnel](https://github.com/locustbaby/duotunnel) [![duotunnel github stars badge](https://img.shields.io/github/stars/locustbaby/duotunnel?style=flat)](https://github.com/locustbaby/duotunnel/stargazers) - QUIC-based bidirectional tunnel proxy with native multiplexing. Supports HTTP/1.1, HTTP/2, HTTPS (TLS SNI), WebSocket, and TCP. Features unified vhost routing, server-to-client config distribution, group-based client management, and round-robin load balancing. MIT License. Written in Rust. * [wstunnel](https://github.com/erebe/wstunnel) [![wstunnel github stars badge](https://img.shields.io/github/stars/erebe/wstunnel?style=flat)](https://github.com/erebe/wstunnel/stargazers) - Proxies over WebSockets. Focus on proxying from behind networks that block certain protocols. Written in Rust with executables provided. * [gost](https://latest.gost.run/en/) [![gost github stars badge](https://img.shields.io/github/stars/go-gost/gost?style=flat)](https://github.com/go-gost/gost/stargazers) - Looks like a comprehensive option. TCP and UDP tunneling. TAP/TUN devices. Load balancing. Web API. Written in Go. * [tunnelto](https://tunnelto.dev/) [![tunnelto github stars badge](https://img.shields.io/github/stars/agrinman/tunnelto?style=flat)](https://github.com/agrinman/tunnelto/stargazers) - Open source (MIT). Written in Rust. @@ -94,6 +93,7 @@ the domain registration and DNS management in a simple way. * [ephemeral-hidden-service](https://github.com/aurelg/ephemeral-hidden-service) [![ephemeral-hidden-service github stars badge](https://img.shields.io/github/stars/aurelg/ephemeral-hidden-service?style=flat)](https://github.com/aurelg/ephemeral-hidden-service/stargazers) - Create ephemeral Tor hidden services from the command line. Written in Python. * [TunnelAPI 1.0](https://tunnelapi.in/) [![tunnelapi github stars badge](https://img.shields.io/github/stars/vijaypurohit322/api-response-manager?style=flat)](https://github.com/vijaypurohit322/api-response-manager/stargazers) - Expose localhost to the internet. Free secure tunneling as an ngrok alternative. Appears developer focused. MIT License . Written in TypeScript. * [YTunnel](https://github.com/yetidevworks/ytunnel) - MIT Licensed, Rust powered, uses your domains and creates Cloudflare Tunnels with easy to use TUI [![ytunnel github stars badge](https://img.shields.io/github/stars/yetidevworks/ytunnel?style=flat)](https://github.com/yetidevworks/ytunnel) +* [duotunnel](https://github.com/locustbaby/duotunnel) [![duotunnel github stars badge](https://img.shields.io/github/stars/locustbaby/duotunnel?style=flat)](https://github.com/locustbaby/duotunnel/stargazers) - QUIC-based bidirectional tunnel proxy with native multiplexing. Supports HTTP/1.1, HTTP/2, HTTPS (TLS SNI), WebSocket, and TCP. Features unified vhost routing, server-to-client config distribution, group-based client management, and round-robin load balancing. [Simple ingress example](https://github.com/locustbaby/duotunnel/tree/main/examples/simple-ingress). MIT License. Written in Rust. # Commercial/Closed source