Cloudflare Tunnel SSH

Hi guys, I'm working on a personal project for my raspberry pi and was wondering if I could access it through a cloudflare tunnel on any non-local network. I know this is possible through port-forwarding, however I do not want to expose my ports to the internet (for security). I followed this tutorial to no avail https://pimylifeup.com/raspberry-pi-cloudflare-tunnel/ and tried to follow cloudflare documentation https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/use-cases/ssh/ssh-infrastructure-access/ and also to no avail. I have created a tunnel, connected it with my raspberry pi, and routed it to the raspberry pi's local ip address. The tunnel shows as healthy.

I have tried configuring a public hostname for the tunnel to access it, and when I try to connect via terminal :
ssh {user}@{my domain}
Nothing happens and a connection time out error occurs

On the client (laptop I am using to connect to the raspberrypi), I have already enrolled it in Zero Trust as per step two of the documentation above. Is there any way to solve this problem? Am I missing something?
Pi My Life Up
Secure connection without opening ports
Cloudflare Docs
Access for Infrastructure uses the same deployment model as WARP-to-Tunnel but unlocks more granular policy options and command logging functionality.
Was this page helpful?