Network

Tunnels

Commands

  • Checking version: cloudflared -v

Installation

Linux on RaspberryPi

# Installing cloudflared on raspberry pi
curl -L --output cloudflared.deb https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-armhf.deb  && sudo dpkg -i cloudflared.deb
sudo systemctl start cloudflared.service: if installing
sudo systemctl restart cloudflared: if upgrading

Docker

  • Login to cloudflare dashboard, select the tunnel and choose Overview > docker to copy the comamnd with token

docker run -d --restart unless-stopped --name cloudflared cloudflare/cloudflared:latest tunnel --no-autoupdate run --token poJhI...hPVEl4Tm

Reference

Last updated