Perform an update

sudo apt update
sudo apt upgrade

Ensure we have both the “curl” and “lsb-release” packages

sudo apt install curl lsb-release

Adding the Cloudflare Repository on the Raspberry Pi

curl -L https://pkg.cloudflare.com/cloudflare-main.gpg | sudo tee /usr/share/keyrings/cloudflare-archive-keyring.gpg >/dev/null
echo "deb [signed-by=/usr/share/keyrings/cloudflare-archive-keyring.gpg] https://pkg.cloudflare.com/cloudflared $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/cloudflared.list

Run an update

sudo apt update

Installing Cloudfared to the Raspberry Pi

sudo apt install cloudflared

Create a tunnel

  1. Log in to Zero TrustOpen external link and go to Networks > Tunnels.
  2. Select Create a tunnel.
  3. Choose Cloudflared for the connector type and select Next.
  4. Enter a name for your tunnel. We suggest choosing a name that reflects the type of resources you want to connect through this tunnel (for example, enterprise-VPC-01).
  5. Select Save tunnel.
  6. Next, you will need to install cloudflared and run it. To do so, check that the environment under Choose an environment reflects the operating system on your machine, then copy the command in the box below and paste it into a terminal window. Run the command.
  7. Once the command has finished running, your connector will appear in Zero Trust.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

The reCAPTCHA verification period has expired. Please reload the page.