DNS Management for a specific port

I’m setting up a server for me and a few friends. The problem that I’m running into is that we can’t connect properly when the site is behind a proxy. I’ve set up a separate A record that is DNS-only, and have been using that. However, I understand that’s not a very secure solution. Would I be able to set that record to only accept connections from a specific port? I know that cloudflare doesn’t accept proxy requests for unsupported ports, but I was wondering what I’d need to set up in this case.

While Cloudflare can’t accept connections on the edge apart from a few ports as you’ve found, you can tell the proxy to connect to your origin on any port using origin rules:

Or take a look at tunnels…

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.