Step 1 — Install the client
macOS and Linux (Homebrew)
macOS and Linux (Homebrew)
rustunnel (the CLI client) and rustunnel-mcp (the MCP server for AI agent integration). No Rust toolchain required.Pre-built binary
Pre-built binary
Download the archive for your platform from the latest GitHub Release, extract it, and move the binary onto your
$PATH.Build from source
Build from source
Requires Rust 1.76 or later.
Step 2 — Get an auth token
Access to the hosted service requires an auth token. Create a free account and generate one yourself.1
Create a free account
Sign up at rustunnel.com.
2
Generate a token
Go to Dashboard → API Keys → Create token and copy the token value.
3
Run the setup wizard
~/.rustunnel/config.yml with the correct server address.eu, us, ap) to skip probing, or self-hosted if you run your own server.If you are self-hosting, skip token requests entirely — use the
admin_token you set in your server.toml. See the Self-Hosting guide.Step 3 — Open your first tunnel
--no-tui, piped stdout, or CI) you still get the public URL and inspector line:
q / Esc / Ctrl-C to close the tunnel.
Available regions
The client auto-selects the nearest region by default when
region: auto is set in your config.
Next steps
Client Guide
All commands, flags, live terminal UI, config options, and error reference.
Request Inspector
Browse and replay HTTP traffic on localhost:4040 while a tunnel is live.
Self-Hosting
Run your own rustunnel server on a VPS with systemd and Let’s Encrypt.
MCP Server
Let AI agents manage tunnels on your behalf via the Model Context Protocol.

