Remote management was working
The firewall has a Primary and Secondary internet connection.
The Primary(wan1) is PPOE and IP/DNS/GW are automatically assigned (the IP is static, but is assigned via PPOE). The default route assigned is given a distance of 5.
The Secondary(wan2) is a basic static address.
I had 2 static 0.0.0.0 routes configured, one on wan1 pointed to that GW with a distance of 10, the other on wan2 pointed to it's GW with a distance of 15.
The active route was the one created by the PPOE (obviously), with the distance of 5. The route monitor shows this as having an interface of ppp1.
I have two local-in-policy that allows https in to the wan1 and wan2 ONLY from my other site, to allow easy remote management.
I'm using link-monitor to fail-over from wan1 to wan2 (no I don't want to use SD-WAN). It is configured with the wan1 interface and GW.
The remote access was working as expected. But the fail-over was not. Apparently, if traffic on wan1 stops but the PPOE stays up, the dynamically assigned PPOE default route with GW x.x.x.x on ppp1 with distance 5 stays active.
This makes sense, sort of, since the link monitor is tied to the static default route on wan1 with it's distance of 10.
So I changed the static default route for wan1 to a distance of 1, putting it ahead of the PPOE assigned default route. I also changed the secondary default route for wan2 to a distance of 3, also putting it ahead of the PPOE route.
So now the route monitor shows the static wan1 default route as active under normal conditions. And if the link-monitor goes down the static wan2 route becomes active. (I suppose if wan2 also goes down the PPOE router would again become active, but at that point who cares, there is no internet anyway at that point).
But now that this is all working, the remote management won't connect.
I can't think of anything I changed that would affect this, but I change the distance from 10 to 1 and my remote management session disconnected. The site is up and everything else is working but no remote management.
Any ideas?