Hello,
Newbie here, but long-lapsed CCIE, so no stranger to all things networking.
I’ve been tasked with generating a VyOS configuration from a Sophos UTM config dump, due to the pending EOL of that platform, and Sophos not having a suitable replacement (understatement!).
So far not a lot of issues, but I’m stuck on the conversion of its reverse proxy config.
I’ve been looking at the load-balancing docs (haproxy) and from what I can see it should be suitable, but I have one scenario that I can’t map.
Sophos UTM has a balance mechanism called “hot standby”, which basically balances all traffic to the first backend defined (the “first” keyword in native haproxy config), always, until that backend is no longer available.
It is being used to redirect to a holding page informing the user of the fact the backend is not available for whatever reasons, with contact info etc. So there aren’t actually multiple backends, just one backend serving the site or service, and a generic http backend serving a single holding page.
It is possible to create something similar in VyOS, without having to resort to something like Caddy in a container (which I would like to avoid)?
Also, something else I couldn’t find, it is possible to define x509 certs in the config (as a string), instead of referring to PEM files which will have to be created seperately of the generated configuration?