Update cheatsheets

This commit is contained in:
ivuorinen
2024-02-21 11:19:49 +00:00
parent 4e88a1b42f
commit 3d653cc7e6
4803 changed files with 127002 additions and 0 deletions

33
cloudflared Normal file
View File

@@ -0,0 +1,33 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# cloudflared
> Create a persistent connection to the Cloudflare network.
> More information: <https://developers.cloudflare.com/argo-tunnel/>.
- Authenticate and associate the connection to a domain in the Cloudflare account:
`cloudflared tunnel login`
- Create a tunnel with a specific name:
`cloudflared tunnel create {{name}}`
- Establish a tunnel to a host in Cloudflare from the local server:
`cloudflared tunnel --hostname {{hostname}} localhost:{{port_number}}`
- Establish a tunnel to a host in Cloudflare from the local server, without verifying the local server's certificate:
`cloudflared tunnel --hostname {{hostname}} localhost:{{port_number}} --no-tls-verify`
- Save logs to a file:
`cloudflared tunnel --hostname {{hostname}} http://localhost:{{port_number}} --loglevel {{panic|fatal|error|warn|info|debug}} --logfile {{path/to/file}}`
- Install cloudflared as a system service:
`cloudflared service install`