Menu

weird tunnel

Put something running on this computer on the internet, at your own hostname, with HTTPS.

weird tunnel <hostname> <local-port> [flags]

Creates an HTTPS tunnel (or reuses yours for that hostname) and keeps it connected: visitors open https://<hostname> and reach what runs on this computer at the given port.

weird tunnel demo.example.ro 3000

The hostname must be under a domain you hold. If its DNS zone is at weird, the record is written for you; otherwise you're shown the one record to add where its DNS is managed. A background helper keeps the connection up after you close the terminal (weird agent status).

A tunnel bills by the hour while it exists (weird credits charges); weird tunnels delete <hostname> stops it.

Cost, in credits (every credit charge is in weird credits charges): recurring.tunnel-hourly per_hour, taken every hour while it exists; tunnel.reads per_request per successful request. You are shown the credits it takes and asked first. A refused or failed call is free of the per-request charges.

FlagTypeDefaultMeaning
--no-waitbooldon't wait until the tunnel is live
--waitboolwait until the tunnel is live even without a terminal

Global flags: --api-key, --idempotency-key, --json, --lang, --no-input, --quiet, --yes.

Calls: listTunnels, createTunnel, getTunnel, verifyTunnelDns.

This page is generated from the weird CLI; it changes when the CLI does.