// use case
Expose your Axum / Actix server on a public URL
Whether it's axum, actix-web, or rocket, your Rust HTTP server defaults to 127.0.0.1. lrok exposes it without changing your Cargo build or your bind address.
Run your binary
$ cargo run --release # :3000Tunnel
$ lrok http 3000Trust X-Forwarded-* in your middleware
axum: tower_http::trace::TraceLayer + your own X-Forwarded-For unwrap. actix-web: TrustedProxies::default(). Both unwrap lrok's standard headers so client IPs are real.
// why lrok for this
Rust async servers favor zero-copy. lrok streams request and response bodies without an intermediate buffer — works fine for SSE event streams and chunked uploads from your laptop.