Minecraft behind cloudflare tunnel - getsockopt error

Hi everyone! As the title says, I'm trying to run a minecraft server behind a cloudflare tunnel. By default, I have a several self-hosted services running and functioning properly, with tunnel login page for specific e-mails. Now I'm trying to run a minecraft server with bypass policy, but I get a "getsockopt" error when trying to connect to it. What should I check? Please help, I'm lost and confused. :/
4 Replies
Flare
Flare3mo 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.
*Kepėjas_
*Kepėjas_OP3mo ago
So basically, if I want to run it with tunnel, every user that wants to connect to my server has to configure his own cloudflared connector?
Hello, I’m Allie!
Yup, though I believe there is a mod that will do it for you too Don’t remember the name off the top of my head tho
*Kepėjas_
*Kepėjas_OP3mo ago
Oh, cool, I'll try to look it up, thanks 🙂
Want results from more Discord servers?
Add your server