# ferrotunnel
[](https://crates.io/crates/ferrotunnel)
[](https://docs.rs/ferrotunnel)
[](LICENSE)
Reverse tunnel library for Rust applications.
## Quick Start
```toml
[dependencies]
ferrotunnel = "0.1"
```
```rust
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](https://docs.rs/ferrotunnel) for API documentation.
## License
MIT OR Apache-2.0