Update cheatsheets

This commit is contained in:
ivuorinen
2026-02-07 00:26:49 +00:00
parent efbccb61fb
commit c8acbc5872
15 changed files with 98 additions and 40 deletions

View File

@@ -16,17 +16,25 @@ source: https://github.com/tldr-pages/tldr.git
`cloudflared tunnel create {{name}}`
- Establish a tunnel to a host in Cloudflare from the local server:
- List all tunnels in the account:
`cloudflared tunnel --hostname {{hostname}} localhost:{{port_number}}`
`cloudflared tunnel list`
- Establish a tunnel to a host in Cloudflare from the local server, without verifying the local server's certificate:
- Create a DNS CNAME record pointing to a tunnel:
`cloudflared tunnel --hostname {{hostname}} localhost:{{port_number}} --no-tls-verify`
`cloudflared tunnel route dns {{name|uuid}} {{hostname}}`
- Save logs to a file:
`cloudflared tunnel --hostname {{hostname}} http://localhost:{{port_number}} --loglevel {{panic|fatal|error|warn|info|debug}} --logfile {{path/to/file}}`
`cloudflared tunnel --loglevel {{panic|fatal|error|warn|info|debug}} --logfile {{path/to/file}} run {{name}}`
- Run a named tunnel (reads configuration from `config.yml`):
`cloudflared tunnel run {{name}}`
- Start a temporary tunnel to expose a local service (no account required):
`cloudflared tunnel --url http://localhost:{{port}}`
- Install cloudflared as a system service: