tldr/pages/common/cloudflared.md
bl-ue 8ebd171d6f
*: fix typos reported by Hunspell (#5848)
Co-authored-by: marchersimon <50295997+marchersimon@users.noreply.github.com>
Co-authored-by: Seth Falco <seth@falco.fun>
Co-authored-by: Patrice Denis <patricedenis@users.noreply.github.com>
2021-05-20 16:13:41 -04:00

25 lines
880 B
Markdown

# cloudflared
> Command-line tool to 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`
- 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`