How to use cloudflare tunnel for udp traffic? is it possible?

.
5 Replies
csd4ni3l
csd4ni3l13mo ago
with tcp latency? i dont think its worth it then. why couldnt just cloudflare introduce udp btw? does wireguard not support it? yes thats what i wanted to ask can the warp client be deployed in docker and then i can configure it? i am using docker compose with internal networks, and i want to use cloudflare tunnel to securely expose services. for example, i need udp for minecraft servers, maybe its a dumb idea to put it on cloudflare networks because it would be slow? they also said they need udp for querying, but that maybe only for pinging a minecraft server like at namemc okay, thanks java i will use pterodactyl thats also in docker compose, so its a bit hard i am doing this right now:
pterodactyl-cloudflare-tunnel:
image: cloudflare/cloudflared:latest
command: tunnel --no-autoupdate run --token ${PTERODACTYL_CLOUDFLARE_TUNNEL_TOKEN}
depends_on:
- panel
networks:
- pterodactyl
- pterodactyl_nw
env_file:
- .env
pterodactyl-cloudflare-tunnel:
image: cloudflare/cloudflared:latest
command: tunnel --no-autoupdate run --token ${PTERODACTYL_CLOUDFLARE_TUNNEL_TOKEN}
depends_on:
- panel
networks:
- pterodactyl
- pterodactyl_nw
env_file:
- .env
yes i am doing that its on pterodactyl network which i use for all pterodactyl services like the db, cache and the panel and pterodactcyl_nw is created by wings automatically so i wanted to expose minecraft from there problem is, i dont think wings names containers and container ids change right? docker ps -a | grep java 19624a71b08d ghcr.io/pterodactyl/yolks:java_17 "/__cacert_entrypoin…" 3 hours ago Created 540a4def-7e32-4f4c-9b2c-50e3a95851a6 ok i try, hopefully pterodactyl uses start and stop and not just recreates also i cant expose specific ports, like wings uses 8080 for api and 2022 for sftp, so i have to change it from 8080 to 80 and i cant do anything about 2022 because i dont know if cloudflare tunnel supports it.( when i tried using it with default 8080 port, it did not work because when configuring hostnames, you cant set a port for the path)
csd4ni3l
csd4ni3l13mo ago
so i can just do this?
No description
csd4ni3l
csd4ni3l13mo ago
so this will make http and sftp both run and work? ( wings uses 8080 for api and 2022 for sftp ) pterodactyl really does not want that lmao but i really appreaciate your help sill *still ok thanks Made it work, after like 8 hours of work, but atleast it works, thanks for your help, its very much appreciated i made the panel and wings work i meant but they state in the docs that sftp only works with business and i am using free cloudflare so yeah, but i werent gonna use it anyway
csd4ni3l
csd4ni3l13mo ago
i dont know, they dont state why.
No description
csd4ni3l
csd4ni3l13mo ago
*enterprise what is spectrum btw Whats the difference between it and just cloudflare tunnel I mean you can proxy udp but it has to work differently if it enables udp but cloudflare tunnel does not also i am worried that cloudflare tunnel wont work for minecraft and then i may have to pay 20 full dollars a month for a simple feature when i really dont need anything else from that plan *25 if per month I just wanted to securely and privately expose minecraft server and other stuff that i have already done without exposing my ip and without opening ports. uh
Want results from more Discord servers?
Add your server