ferrotunnel 1.0.3

A production-ready reverse tunnel system in Rust
Documentation

ferrotunnel

Crates.io Documentation License

Reverse tunnel library for Rust applications.

Quick Start

[dependencies]
ferrotunnel = "0.1"
use ferrotunnel::Client;

#[tokio::main]
async fn main() -> ferrotunnel::Result<()> {
    let mut client = Client::builder()
        .server_addr("tunnel.example.com:7835")
        .token("my-token")
        .local_addr("127.0.0.1:8080")
        .build()?;

    client.start().await?;
    Ok(())
}

Features

  • TLS 1.3 encryption with rustls
  • Token-based authentication
  • HTTP, WebSocket, and TCP tunneling
  • Automatic reconnection with backoff
  • Prometheus metrics and tracing

Documentation

See docs.rs/ferrotunnel for API documentation.

License

MIT OR Apache-2.0