I have been self-hosting for a while now with Traefik. It works, but I’d like to give Nginx Proxy Manager a try, it seems easier to manage stuff not in docker.

Edit: btw I’m going to try this out on my RPI, not my hetzner vps, so no risk of breaking anything

  • @Hawk
    link
    English
    34 days ago

    If you’re just going to VPN in to your home network, I’ve found caddy to be the simplest.

    • @Semjaza
      link
      English
      14 days ago

      I tried using PiVPN to route my phone’s Internet access through my home network, but it kept breaking and I found I don’t have a head for networks.

      Would caddy be able to do that in an easier to maintain way?

      • @Hawk
        link
        English
        23 days ago

        Set up wireguard in a docker container and then forward the port to wireguard, the default container on docker hub is fairly straightforward and you can always ask me for help if you need :).

        However, If you are using ipv4, you need to make sure that you’re not behind a CG-NAT (If you think you might be, call your ISP and tell them you have security cameras that need to get out or something like that).

        You could also try tailscale which is built using wireguard with nat-busting features and a bit easier to configure (I dont personally use it as wireguard is sufficient for me).

        After that Caddy + DNSMasq will simply allow you to map different URLs to IP addresses

        • dnsmasq
          • will let you map, E.g. my_computer -> 192.168.1.64
        • Caddy (Or nginx, but caddy is simpler)
          • will let you map to ports so e.g.:
            • with DNS (DNSMasq as above)
              • http://dokuwiki.my_computer -> http://my_computer:8080
            • Without DNS
              • http://dokuwiki.192.168.1.64 -> http://192.168.1.64:8080

        Caddy and DNSmasq are superfluous, if you’ve got a good memory or bookmarks, you don’t really need them.

        VPN back into home is a lot more important. You definitely do not want to be forwarding ports to services you are running, because if you don’t know what you’re doing this could pose a network security risk.

        Use the VPN as the entry point, as it’s secure. I also recommend running the VPN in a docker / podman container on an old laptop dedicated just to that, simply to keep it as isolated as you can.

        Down the line you could also look into VLan If your router supports that.

        I personally would not bother with SSL If you’re just going to be providing access to trusted users who already have access to your home network.

        If you are looking to host things, just pay for a digital droplet for $7 a month, It’s much simpler, You still get to configure everything but you don’t expose your network to a security risk.

        • @Semjaza
          link
          English
          13 days ago

          Thank you, that looks like a good set of hooks for me to get into at a weekend, child allowing.

          I very much appreciate the guide. I’ll let you know when I’ve had a fiddle.