ferrotunnel
Reverse tunnel library for Rust applications.
Quick Start
[]
= "0.1"
use Client;
async
Features
- TLS 1.3 encryption with rustls
- QUIC transport with native stream multiplexing (feature:
quic) - HTTP/3 ingress with Alt-Svc advertising (feature:
http3) - Token-based authentication
- HTTP, WebSocket, gRPC, and TCP tunneling
- Automatic reconnection with backoff
- Prometheus metrics and tracing
HTTP/3 Ingress
Build with the http3 feature to accept browser-facing HTTP/3 traffic on a UDP
ingress port:
[]
= { = "1.0", = ["http3"] }
use Server;
async
The regular HTTP ingress advertises HTTP/3 with Alt-Svc when .http3(...) is
configured. HTTP/3 routing uses the same strict Host matching as HTTP/1.1 and
HTTP/2 ingress.
Documentation
See docs.rs/ferrotunnel for API documentation.
License
MIT OR Apache-2.0