I’ve been dabbling with selfhosting for a bit now (home assistant and nextcloud), but it’s clear that I lack a fundamental understanding of networking. For example:

  • I’ve got OpenWRT on my router, but no idea what I’m doing when it comes to firewall settings, DNS, DHCP, etc.
  • I’ve got a domain thru Porkbun, but no idea how to properly setup my DNS settings there to route to my local machine.
  • I’ve got NGINX running in a docker container in a VM and can get to the UI on my local network, but no idea what I’m doing wrong with my attempts at a reverse proxy.

Does anyone here have links to a good in-depth tutorial series for learning about securely selfhosting?

  • Grass@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    1
    ·
    3 hours ago

    I have some script or maybe it was a program in a container that checks my isp IP and uses the domain provider api to keep the DNS set to the isp IP if it changes. I’m using opnsense but I’m sure openwrt has the same thing in some form.

    • mic_check_one_two@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      3 hours ago

      That’s just DDNS. There are different ways to do it, and some routers come with a DDNS service ready to go. DuckDNS is commonly recommended. There are even images like Cloudflare-DDNS, which allow you to run it in a container.