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.| Platform | Archive |
|---|---|
| macOS Apple Silicon | rustunnel-<version>-aarch64-apple-darwin.tar.gz |
| macOS Intel | rustunnel-<version>-x86_64-apple-darwin.tar.gz |
| Linux x86_64 (glibc) | rustunnel-<version>-x86_64-unknown-linux-gnu.tar.gz |
| Linux x86_64 (musl) | rustunnel-<version>-x86_64-unknown-linux-musl.tar.gz |
| Linux arm64 | rustunnel-<version>-aarch64-unknown-linux-gnu.tar.gz |
| Windows x86_64 | rustunnel-<version>-x86_64-pc-windows-msvc.zip |
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.Open a token request issue
Go to github.com/joaoh82/rustunnel/issues/new and open an issue titled “Token request”.
Include your contact
Add your email address or Discord username in the body. Tokens are issued manually while the service is in early access.
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
Ctrl-C to close the tunnel.
Available regions
| Region | Location | Server |
|---|---|---|
eu | Helsinki, FI | eu.edge.rustunnel.com:4040 |
us | Hillsboro, OR | us.edge.rustunnel.com:4040 |
ap | Singapore | ap.edge.rustunnel.com:4040 |
region: auto is set in your config.
Next steps
Client Guide
All commands, flags, config options, reconnection behavior, and error reference.
Self-Hosting
Run your own rustunnel server on a VPS with systemd and Let’s Encrypt.
Docker Deployment
Spin up the server locally or in production using Docker Compose.
MCP Server
Let AI agents manage tunnels on your behalf via the Model Context Protocol.

