Skip to content
← Work

Closing the single point of failure

Every remote route into a three-node HA cluster ran through one machine — and the fix broke in a way that took a packet capture to explain.

2026
  • networking
  • proxmox
Before
1 subnet router
After
2, either survives
Root cause
Asymmetric return path
Found with
tcpdump

The cluster had high availability for compute, replicated storage, and automated failover that had been tested by pulling power. It also had exactly one machine advertising the LAN route over the mesh VPN, which meant that losing that one machine locked me out of all of it — including the perfectly healthy other two nodes.

This is a common shape of mistake. The redundancy was real, and it was protecting the wrong layer.

The obvious fix, and why it did not work

The intended fix takes about a minute: install the VPN client on a second node, advertise the same subnet route, approve it, done. Two routers, either one can die.

What actually happened was that the second router came up, showed as healthy, advertised its route, and then traffic through it silently failed. Not refused — failed. Connections would open and hang. From the client it looked like the service was down. From the server everything looked fine.

Finding it

Both ends insisting nothing is wrong usually means the packets are not taking the path you think they are, so I stopped guessing and ran tcpdump on the router node.

Inbound packets arrived over the VPN interface, as expected. The replies went out over the LAN interface, directly, because the destination was on the local network and the direct route was obviously better.

That asymmetry is the whole bug. The connection tracker saw a flow whose return traffic never came back through it, marked the packets INVALID, and dropped them. Everything was working exactly as configured. The configuration was wrong.

The root cause

The second node had been set up to accept advertised routes from the mesh. That sounds harmless and is not — because this node sits on the subnet it is advertising. Accepting the route meant it installed a path to its own local network via the VPN interface, so traffic that should have gone out the LAN went out the tunnel, or came back the wrong way, depending on direction.

The fix is a single setting: a subnet router that lives on the subnet it advertises must not accept routes for that subnet. The first router had been configured correctly by luck rather than judgement, which is why the problem only appeared on the second one.

What it looks like now

Two nodes advertise the LAN route. Either can be shut down with no effect on remote access, which I verified by shutting each of them down and then connecting to the other node’s management interface and SSH from outside the network.

There is also a recovery path that does not depend on the LAN at all: the cluster’s own interconnect ring gives me a way onto a node whose main network has gone, which has already been useful once.

The lesson

The failure was not in the VPN and not in the firewall. It was in an assumption — that adding a second thing makes a system redundant. Adding a second thing makes a system more complicated, and it only makes it redundant once you have taken the first one away and watched what happens.