1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 20:02:09 +02:00
tldr/pages/common/cloudflared.md
Vitor Henrique c8f956319f
pages*: simplify page description (#12149)
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2024-02-14 21:25:13 +01:00

28 lines
938 B
Markdown

# 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`