Hi, guys. Like in the title. I have orangepi5 with some services like nextcloud or grafana. I would like to access to those instances from outside - but I don’t want to open ports.

Could you guys point me how can I achieve that?

Do I need to set domain for home services? I have heard that people recommends cloudfare tunnel, but I think cloudfare tunnel does not work with subdomain like duckdns. Do I need to buy domain for my case? One more think, if I set this tunnel or maybe other solution- should I go with https (lets encrypt) solution?

Thank You

  • karcio@lemmy.worldOP
    link
    fedilink
    arrow-up
    3
    ·
    1 year ago

    for this I am using zerotier - and I can connect from outside but … using IPs which is not great. Would like to use domains

    • navi
      link
      fedilink
      arrow-up
      8
      ·
      edit-2
      1 year ago

      Sounds like you want to set up DDNS (dynamic DNS). Basically run a little script on your router or server that occasionally updates a domain name with your IP address.

      Many free options. DuckDNS, Cloudflare, etc.

    • pe1uca@lemmy.pe1uca.dev
      link
      fedilink
      arrow-up
      3
      ·
      1 year ago

      I’m using PiHole with my tailscale to use their MagicDNS.
      This shares the PiHole among all the devices connected to the tailnet, and in the PiHole you can configure your local DNS to point your domains to your tailIP.
      My setup has several services in a single machine, so there’s also the issue of ports, for that I use caddy as a reverse proxy, which also allows me to have HTTPS only configuring the key to my registrar for the DNS challenge