OpenVPN and OSPF - no fail-over
-
Having an issue with OpenVPN links between two SG-3100 where Site A is on fibre (in rural area so there are some disruptions) using a LTE fail-over. Site B is connected using a cable-modem.
I have configured two OpenVPN tunnels (separate clients and servers configured running on different ports).
OSPF seems to be working correctly - routing works and costs are considered (meaning if I swap the costs the LTE will be selected as primary and the fibre as backup).
The primary tunnel is going through the customer's Unifi DM with portforward to the SG-3100's LAN interface and the fail-over LTE is connected to SG-3100's WAN interface.
If a failure happens on the primary, the OpenVPN tunnel disconnects and the route disappears but fail-over doesn't happen.
Is this because the LAN interface is still active?Question:
I am confused as what interface to select under Service > FRR > OSPF. I have selected the "OpenVPN Server: S2S Fibre" and "OpenVPN Server: S2S LTE" (showing as ovpns1 and ovpns3). Is this correct?Thanks,
/Mattias