Setting up a Cloudflare Tunnel on the Raspberry Pi

Опубликовано: 23 Март 2026
на канале: Pi My Life Up
14,126
260

In this video, we will be showing you how to set up a Cloudflare Tunnel on your Raspberry Pi.

Tutorial: https://pimylifeup.com/raspberry-pi-c...
Nginx Web Server: https://pimylifeup.com/raspberry-pi-n...


Below you can find a list of some of the equipment we used when setting up a Cloudflare Tunnel on our Raspberry Pi. Please note that we may get a small commission if you purchase through these Amazon links.

Raspberry Pi: https://amzn.to/3WUT8Ij
Micro SD Card: https://amzn.to/3US0ZUz
Ethernet Cable: https://amzn.to/3K8BcT7

Cloudflare Tunnel is a super neat product that you can use completely free. It allows you to route traffic from your Raspberry Pi through the Cloudflare network without needing a publicly accessible IP address.

There are a huge number of cases where this can be incredibly useful. For example, if you wanted to host a website of a Raspberry Pi, you could use a Cloudflare Tunnel to bypass the need to open up your firewall or port forward.

This tunnel becomes even more useful if you are stuck with a dynamic IP address or are behind a CGNAT that many ISP's have begun to use. A CGNAT is basically one of the tools that allows an ISP to run multiple people through the one public IPv4 address.