Cloudflared setup: Empty config.yml file - Manual creation or automatic generation?
Hey everyone, I'm trying to set up cloudflared but I'm hitting a snag. I'm getting an error saying my config file at /Users/by/.cloudflared/config.yml is empty. I'm not sure if I need to create this file manually or if there's a command that should generate it automatically. Has anyone dealt with this before? Any tips on how to properly populate the config file? Thanks in advance!
4 Replies
Depends, are you trying to set up from the dashboard or locally?
If from dash (which is what I would recommend): https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/get-started/create-remote-tunnel/ no need for manual configuration of tunnel
Cloudflare Docs
Create a remotely-managed tunnel (dashboard) | Cloudflare Zero Trus...
Follow this step-by-step guide to get your first tunnel up and running using Zero Trust.
If from CLI/direct then yea you'd need to make your own config: https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/get-started/create-local-tunnel/
Cloudflare Docs
Create a locally-managed tunnel (CLI) | Cloudflare Zero Trust docs
Follow this step-by-step guide to get your first tunnel up and running using the CLI.
thank you