Setup
Before you start |
---|
1. Add a website to Cloudflare |
2. Change your domain nameservers to Cloudflare |
3. Enable Argo Smart Routing for your account |
4. Install cloudflared |
Follow these steps to set up Cloudflare Argo Tunnel:
- Authenticate your instance
cloudflared
by logging in to your Cloudflare account with the following command:
$ cloudflared tunnel login
The command will attempt to open a browser and prompt you to authenticate with your Cloudflare account.
If running on a headless system, copy the link and paste it into a browser.
Once authenticated, Cloudflare will return a certificate file,
cert.pem
, that will give this instance ofcloudflared
the ability to:- Create and delete Tunnels
- Modify DNS records in your account
The file is required if you want to:
- Create new Tunnels
- Change DNS routing from
cloudflared
The file is not required if you want to:
- Run an existing Tunnel
- Manage routing from the Cloudflare dashboard