logoalt Hacker News

tredre3yesterday at 7:54 PM2 repliesview on HN

I think tonymet meant he didn't understand why cloudflare didn't allow using ssh -R instead of cloudflared to create the tunnel, not not using a tunnel at all.


Replies

judge2020yesterday at 11:21 PM

cloudflared is a bit unique in that it makes multiple outbound connections to CF DCs to do the tunneling and fails over if a DC has an issue (or, more likely, when a DC is near-capacity and they need to divert lower-tier traffic away from it[0]). SSH would reintroduce a single point of failure to this.

Also, the _main_ use case of `cloudflared` tunneling is using it as a long-term way to host production websites on your own hostname. the ability to create ad-hoc tunnels is more of a gimmick / advertising opportunity.

0: https://github.com/judge2020/cloudflare-connectivity-test/wi...

tonymetyesterday at 9:24 PM

precisely (thanks!)