HTTP tunnels

An HTTP tunnel forwards every request hitting https://<subdomain>.lrok.io to a port on your machine. lrok terminates TLS at the edge and rewrites the Host header so most frameworks work without configuration.

Quick start

$ lrok http 3000
  Forwarding https://violet-mole.lrok.io -> http://127.0.0.1:3000

Hint a friendlier subdomain

Pass --hint to suggest a subdomain. If it is unreserved and free, lrok will use it for the lifetime of the session.

lrok http 3000 --hint my-demo

For permanently-stable subdomains, see Reservations.

Basic auth

Protect a tunnel with HTTP basic auth in one flag. Useful for staging previews you do not want to leave fully public.

lrok http 3000 --basic-auth user:s3cret

Inspector

Every request that flows through a tunnel is captured in the dashboard with its method, status, headers, and body (configurable cap on Free vs Pro). You can replay any request from the inspector — handy for re-running webhook deliveries while you iterate on the handler.

Open https://lrok.io/dashboard while a tunnel is running, click the public URL, and watch traffic stream in over SSE.