ecc0
CDCloudflare Developers
•Created by ecc0 on 7/11/2024 in #general-help
route subdomain to another subdomain, with a twist
so basically, I wanted to use ZT/CF tunnels for my minecraft server, but it seems impossible to do because of how TCP sockets are handled. i do know there is a free solution for minecraft port forwarding through the launcher "feather" which gives you three free subdomains on their own site which you can enter into minecraft to join the server
every minecraft server uses port 25565 by default, and of course you can't have multiple servers on the same port, but you also don't end up having to enter a port. so the only way it could possibly be hosting different minecraft servers without having to enter a port is by doing some domain name tricks to route based on the entered subdomain rather than the actual IP address or port.
what i want to do is configure the cloudflare DNS to route a subdomain on my own website to one of feather's subdomains. i'm not sure how to do this, a CNAME record doesn't seem to work.
380 replies
CDCloudflare Developers
•Created by ecc0 on 2/20/2024 in #general-help
is it possible to interface tunnels with workers?
is it possible to make calls from workers to tunnels without necessarily exposing the tunnels directly to the internet via a domain?
21 replies
CDCloudflare Developers
•Created by ecc0 on 2/19/2024 in #general-help
"frame" forwarding with workers
i would like to know how to have a worker passthrough requests from my domain to another domain running a service, but keeping the domain shown in the url bar as my domain. i've looked on the forum seeing many posts saying workers can do it, but none detailing how. if possible, i'd like to avoid iframes and have the worker basically copy the full request and send it upstream.
7 replies
CDCloudflare Developers
•Created by ecc0 on 2/16/2024 in #general-help
Cloudflare tunnel + docker, how to secure?
hey so I'm using a cloudflare tunnel with a docker container, and I've noticed that anyone who has access to my account (yes, I've set up 2FA, but still) can configure my tunnel and change the forwarded port to literally any port on or off of my home network(s). is it possible to either:
a. restrict it so that only locally can I change what's being forwarded through the tunnel
OR
b. block local IPs on certain subnets and/or entire adapters from being accessed by docker
so that I can make sure no one can access my local network or any of my devices? thanks in advance.
I'm really happy with how easy Cloudflare tunnel is to set up, but I'd like to stay secure.
32 replies