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?

  • Phil Ociraptor@slrpnk.net
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    10 hours ago

    Maybe try to isolate the problems a bit and tackle one at a time. DDNS is only needed yo get to your router from the world wide web. Once you can resolve a name to your router’s changing public ip address you can continue to think about port forwarding in openWRT. Once you can forward incoming traffic to a host behind your router, let’s say port 80 to your nginx instance, then you can think about configuring nginx, let’s say mapping to different running docker containers depending on the name in the url … etc.