How do I tunnel my minecraft server?

Hey there, I'm trying to host my minecraft which is both java and bedrock but I can't join with cloudflare tunnel
12 Replies
Chaika
Chaika5w ago
?tunnel-tcp
Flare
Flare5w 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.
Wolfplayz Volkov
I tried tcp but it doesn't work and most players are android users
Chaika
Chaika5w ago
Each player who wants to connect would have to install cloudflared access and authenticate, you'd eventually hit user limits as well. It just doesn't really work if it's meant to be for a public server
Wolfplayz Volkov
hmm my server is kinda small and I don't mine with the authentication since I prefer that way after my server almost got raid with bots but like I said most of them are android users
Chaika
Chaika5w ago
so cloudflared access isn't an option, you'd have to Private Networking w/ WARP, and have them install WARP, setup an access policy to allow their emails/based on some criteria, and then they'd have to keep the warp vpn active while they want to play first 50 users is free and after that it'd be $7/user/month (it's made for internal employee auth, not random user auth)
Wolfplayz Volkov
I see but can I like remove users for example they go inactive for a while?
Chaika
Chaika5w ago
yea, you can revoke their seat, and after 30 days or some amount of time it should happen automagically
Wolfplayz Volkov
okay
Chaika
Chaika5w ago
There's other solutions out there we usually push people to, like playit.gg for the same tunnel style of connections or tcpshield. If you have a small server/not more then the included free amount of users it could work though
Wolfplayz Volkov
thank you for taking your time helping me I have been using playit.gg since I start hosting my minecraft server on my home network but yeah most members are complaining with the lags also I decided to use cloudflare tunnel since most stuff in my home lab are http and only my minecraft server is non http
Wolfplayz Volkov
hey @Chaika ummm after I setup WARP do I need to setup a tunnel or use my minecraft server local ip and port like this
No description