CLI Reference
All funnel client commands and flags
funnel http
Create an HTTP tunnel to a local service.
funnel http <address><address> is a port number or host:port. If only a port is given, localhost is assumed.
| Flag | Description |
|---|---|
--id, -i | Tunnel ID (subdomain). Generated if omitted |
--server, -s | Server URL, overrides context config |
--token, -t | Auth token, overrides context config |
--quic-port | QUIC port on the server, overrides auto-discovery |
--insecure | Skip TLS certificate verification |
--team | Associate tunnel with a team |
funnel http 3000
funnel http 3000 --id my-app
funnel http 127.0.0.1:8080 --server https://tunnel.example.comfunnel login
Authenticate via OAuth. Opens a browser for the OAuth flow and stores the received token.
funnel login
funnel login --provider gitlab| Flag | Default | Description |
|---|---|---|
--provider | github | OAuth provider name |
funnel logout
Clear the stored token for the current context.
funnel logoutfunnel whoami
Show the currently authenticated user.
funnel whoamifunnel status
List active tunnels on the server.
funnel statusfunnel keys
Manage API keys.
funnel keys create --name "deploy-key"
funnel keys listfunnel sessions
View tunnel session history.
funnel sessions
funnel sessions --all # admin only: show all users
funnel sessions --limit 100funnel users
Manage users (admin only).
funnel users list
funnel users set-role --user <id> --role adminfunnel teams
Manage teams.
funnel teams create --name backend
funnel teams list
funnel teams add-member --team <id> --user <id>
funnel teams remove-member --team <id> --user <id>
funnel teams list-members --team <id>
funnel teams set-member-role --team <id> --user <id> --role ownerfunnel context
Manage server contexts. See contexts for details.
funnel context create <name> --server <url>
funnel context use <name>
funnel context list
funnel context delete <name>funnel config
View the current configuration.
funnel config showGlobal flags
| Flag | Description |
|---|---|
--context, -c | Use a specific context for this command |
--version | Print version and protocol info |
--help | Print help |