Skip to main content
This quickstart takes you from nothing to a live public URL for your local service in three steps: install the rustunnel client, get an auth token, and open a tunnel. The same steps work against the managed cloud at rustunnel.com or your own self-hosted server.

Step 1 — Install the client

This installs both rustunnel (the CLI client) and rustunnel-mcp (the MCP server for AI agent integration). No Rust toolchain required.
Download the archive for your platform from the latest GitHub Release, extract it, and move the binary onto your $PATH.
Requires Rust 1.76 or later.
Verify the installation:

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

The wizard prompts for your region and token, then writes ~/.rustunnel/config.yml with the correct server address.
Pick a specific region (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

On a real terminal the client opens a live dashboard (session status, region latency, traffic counters, scrolling request log) and starts a local request inspector:
Open that URL to browse headers/bodies and one-click Replay any request against your local service — handy for webhook iteration. Details: Terminal UI and Request Inspector. In line mode (--no-tui, piped stdout, or CI) you still get the public URL and inspector line:
Press 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.