MC casaOS / Cloudflared / Trouble getting server setup for others to join

Trying to hide my local IP from a MC server I'm running on a Casa OS (Debian based) installation; I have a custom domain and its connected to Cloudflare; I'd preferably want to use a Cloudflare tunnel as this user was able to successfully use (https://www.answeroverflow.com/m/1168172723713888276) ; however their thread is a little hard to follow; can anyone help?
Cloudflare with websites - Cloudflare Developers
I want to setup Cloudflare with a website, run on localhost, There's 2, One's CasaOS and the second one's Crafty Controller, When i tried setting it up it just gave me the error 502
19 Replies
JamesQ
JamesQ3mo ago
bump
Treasurebro123
Treasurebro123OP3mo ago
(by MC i mean minecraft)
Cyb3r-Jak3
Cyb3r-Jak33mo ago
?tunnel-tcp
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.
Cyb3r-Jak3
Cyb3r-Jak33mo ago
Each user would need to install cloudflared in their client
JamesQ
JamesQ3mo ago
isnt mc https?
Cyb3r-Jak3
Cyb3r-Jak33mo ago
It is TCP
JamesQ
JamesQ3mo ago
not bad i think
Treasurebro123
Treasurebro123OP3mo ago
each user meaning people that join the mc server?
Cyb3r-Jak3
Cyb3r-Jak33mo ago
Correct.
JamesQ
JamesQ3mo ago
nevermind im conflating TLS with TCP
Cyb3r-Jak3
Cyb3r-Jak33mo ago
You could use something like play.gg which is similar but wouldn't require user sign in
Treasurebro123
Treasurebro123OP3mo ago
Do you know of a way to emulate what play.gg does but on my own server so that I don't have to pay for it. I also have my own domain. I have a mini pc lab with debian / casaOS on it.
Cyb3r-Jak3
Cyb3r-Jak33mo ago
I mean to have a tunnel created you need something that is publicly facing. You could spin up a VPS and create a VPN between it and your server
Treasurebro123
Treasurebro123OP3mo ago
Would users have to be connected to my vpn to join?
Cyb3r-Jak3
Cyb3r-Jak33mo ago
No. The VPN would just be between both your servers
Treasurebro123
Treasurebro123OP3mo ago
I have a tunnel I created on cloudflared. I'm not sure how to implement a VPS/VPN through debian do you know of any tutorials you could forward? Also thank you for the assistance :) @Cyb3r-Jok3
Cyb3r-Jak3
Cyb3r-Jak33mo ago
Something like https://www.digitalocean.com/community/tutorials/how-to-set-up-wireguard-on-debian-11 Where the public server is the server and your local server is the client
How To Set Up WireGuard on Debian 11 | DigitalOcean
In this tutorial, you will set up WireGuard on a Debian 11 server, and then configure another machine to connect to it as a peer using both IPv4 and IPv6 con…
Treasurebro123
Treasurebro123OP3mo ago
I'll look into that. Thank you man
Want results from more Discord servers?
Add your server