Host minecraft server from Cloudflare Tunnels?
Hello, I have found out, that Cloudflare Tunnels can redirect TCP to a public hostname, but it seems that my Minecraft server is not accessible from the public hostname.
11 Replies
?tunnel-tcp
Cloudflare Tunnels use Cloudflare's proxy, which only supports proxying HTTP Traffic. If you want to use non-http applications over your tunnel, Cloudflare has a few other options:
For a few specific protocols such as SSH, RDP, and SMB, Cloudflare has guides for them here:
https://developers.cloudflare.com/cloudflare-one/applications/non-http/
For Arbitrary TCP like Minecraft, MySQL, and any other tcp application, Cloudflare has a guide here: https://developers.cloudflare.com/cloudflare-one/applications/non-http/arbitrary-tcp/
For Arbitrary UDP like Minecraft Bedrock, SMTP, and any other udp application, you will need to use Private Networking with WARP: https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/private-net/connect-private-networks/
Please note for all of these except SSH and VNC which can be browser-rendered, you will either need to use cloudflared (Cloudflare's tunnel daemon) on the client machine running in the background or Private Networking with WARP, and have WARP installed on the client machine logged into your Zero Trust Team.
You’d need to have cloudflared installed on the client to Minecraft to work with tunnels
ok, thanks
See, I'm very confused by this, and I even went so far as to e-mail a rep (which was rather fruitless), because it's my understanding that you need Spectrum. I want to host a matrix server, but I don't want people to have to use cloudflared to access it. That just seems sorta silly to me.
I mean you can use spectrum but it’s very expensive
So would you need to put cloudfared on like a vps with some weird tunneling to do that?
Oh btw. Good morning cloudflare guru 🥰
You don’t need to use cloudflared with spectrum. Cloudflare would just proxy TCP like it does https for your site
I guess that's where I'm confused. The documentation oddly is not the greatest on this topic. I could also be an idiot. I'll sit in my idiocy for a while because it doesn't look like that's a problem. My gopher server on port 70 definitely an issue
I’d recommend making your own post because this sounds unrelated to the original topic
similar, but unreleated at the same time. different protocol. same idea. good idea. I'll do that.