Skip to content
Argo Tunnel
Visit Argo Tunnel on GitHub
Set theme to dark (⇧+D)

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:

  1. Authenticate your instance cloudflared by logging in to your Cloudflare account with the following command:

    cloudflared tunnel login

  2. 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.

  3. Once authenticated, Cloudflare will return a certificate file, cert.pem, that will give this instance of cloudflared 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