mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-19 14:50:23 +00:00
Update cheatsheets
This commit is contained in:
@@ -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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user