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
Cyb3r-Jak3
Cyb3r-Jak34mo ago
?tunnel-tcp
Flare
Flare4mo ago
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.
Cyb3r-Jak3
Cyb3r-Jak34mo ago
You’d need to have cloudflared installed on the client to Minecraft to work with tunnels
BalazsManus
BalazsManus4mo ago
ok, thanks
Praetor
Praetor4mo ago
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.
Cyb3r-Jak3
Cyb3r-Jak34mo ago
I mean you can use spectrum but it’s very expensive
Praetor
Praetor4mo ago
So would you need to put cloudfared on like a vps with some weird tunneling to do that? Oh btw. Good morning cloudflare guru 🥰
Cyb3r-Jak3
Cyb3r-Jak34mo ago
You don’t need to use cloudflared with spectrum. Cloudflare would just proxy TCP like it does https for your site
Praetor
Praetor4mo ago
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
Cyb3r-Jak3
Cyb3r-Jak34mo ago
I’d recommend making your own post because this sounds unrelated to the original topic
Praetor
Praetor4mo ago
similar, but unreleated at the same time. different protocol. same idea. good idea. I'll do that.