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.

  • Tywèle [she|her]@lemmy.dbzer0.comOP
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Currently I am using Cloudflare Tunnel to access my server remotely. But with this I’m always accessing my server through the tunnel even when I’m at home.

    • MangoPenguin
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      The solution is split horizon DNS, when at home your local DNS server should be set up to return the local IP of the server instead.

    • chiisana@lemmy.chiisana.net
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      If that is a concern (I don’t see much of an issue, but everyone’s got different requirements, so no judgment here at all), then you’d probably want to setup a recursive DNS server inside your network, configure that DNS server to resolve those internal services to your intranet IP address, when it cannot resolve, it recurses to a public one (ie ISP, CloudFlare, quad 9, Google etc). Then, change your network’s DNS to that internal one, so when you’re on your network, you get internal IP address while off network you get CloudFlare tunnel routing.