So, just for the sake of it I’ve been trying to get my lab to be HA -or as HA as a small homelab can be-

My current set up is a follows:

3 proxmox servers with some Debian VMs, the VMs run docker swarm

A NAS, with Truenas

ISProuter -> OpenWRTRouter -> VM [Port fowards 80/443]

This works like a charm when I am in my LAN, but when I access from outside, if the VM that has 80/443 port forwarded to is down (which it never is) I’d loose connectivity.

I have now idea how to solve this little problem in a efficient way, maybe a reverse proxy running on my OpenWRT? (Which’d only move the point of failure to my router, but if my router goes down is gameover already anyways) has anyone attempted this?

Any opinions/ideas?

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

    My setup is a bit different, but maybe you can reuse part of it. Instead of using swarm for HA, I’m using proxmox. The LXCs have a failover to other machine (if they go down), and a static IP address, so if the http proxy machine goes down, it boots back up in another machine, with the same IP (and thus a working port forward).

    This does mean that I have to keep the configuration in sync between different machines so my RPO is never too big, but for something like NPM where the config rarely changes, this isn’t much of an issue.

    • thisisnotausername@lemmy.dbzer0.comOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      6 hours ago

      Super, thanks. I will look into this. I actually have some shared storage on my NAS for traefik configs which is already working on replicated instances.