Hi,
I wanted to forward the port to my Traefik install on my TrueNAS server. Unfortunately I have now learned that my ISP restricts the range of ports that I can open externally to 12396-12415, so internally I can open port 443 to port 12400 externally. So far so good, but how do I point my Cloudflare DNS record to this port?
My router is a Fritzbox 7530 if that’s relevant.
DNS doesn’t deal with ports, it resolves hostnames to IP addresses and that’s it.
What you probably need is some kind of reverse proxy that sits outside of your network, listens on port 443 and then directs it to your home IP address on port 12400.
If you really want to get anal about it, yes I know there things like CNAME, PTR and MX records too but that’s outside of the scope of this discussion.
DNS doesn’t deal with ports, there’s no way to say: homelab.example.com
should point to IP address 1.2.3.4
and port 12400
.
DNS can deal with ports.
You can use a SRV record to specify the port for applications (not browsers) that support it.