Cloudflare Tunnel for SSH not working.

Hi! Im trying to allow SSH access to my server via a cloudflare tunnel. I have set on the public hostname page for ssh.example.dev and for it to use SSH://localhost:22 Then i have added a self hosted application to allow warped devices. Yet going to the domain with cloudflared running and attached to my team. No luck! Any ideas?
4 Replies
Chaika
Chaika4mo ago
what command did you use to try to connect, something like cloudflared access tcp --hostname ssh.example.dev --url localhost:9210 and then trying ssh [email protected] -p 9210?
Zeanox
ZeanoxOP4mo ago
so on the actuall machine ive only done the public hostname like that no running commands on the machine. Then for on my desktop i just turn on warp and try to connect to the domain
Chaika
Chaika4mo ago
yea that's not going to work sadly, WARP or not you need to run cloudflared access tcp... locally
Chaika
Chaika4mo ago
Cloudflare does have a mechanism with WARP called Private Networks: https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/private-net/cloudflared/ which if configured right (more complex then just tunnel public hostnames/cloudflared) can allow you to use WARP like that. Turn WARP on, ssh to private ip range, and magic
Cloudflare Docs
Connect private networks · Cloudflare Zero Trust docs
A private network has two primary components: the server and the client. The server’s infrastructure (whether that is a single application, multiple …
Want results from more Discord servers?
Add your server