Site to site OpenVPN like backup connection

Started by dym8, June 09, 2021, 09:08:22 PM

Previous topic - Next topic
June 09, 2021, 09:08:22 PM Last Edit: June 09, 2021, 09:15:57 PM by dym8
Hello.

I have two offices and use two OPNsense instances like routers by direct connection over a dedicated access line (L2 VPN). I want to create a backup connection over Internet by OpenVPN. I created an OpenVPN Site-to-Site and created FailOver GW there is a dedicated access GW is main (Tair 1). I almost got all I want. But ff the dedicated access line is down then I need to restart an OpenVPN connect for recreate a routing table. And a connect between oficcess is restored again. How can I automatic restart or just start an OpenVPN connect by lost packets of a main GW?