cloudflared tunnel --config /etc/cloudflared/config.yml run mytunnel
Run a tunnel with a config file of ingress rules
Production tunnels usually route several hostnames to different local services, and the --config flag points cloudflared at the YAML file holding those ingress rules. The run argument names which tunnel the config applies to. Ingress rules map public hostnames to local ports, with a catch-all rule required at the end.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.