I have attached an old Cisco 880 with 3G connection to my Mikrotik home router, in order to use it as a backup connection only for "incoming" management. (i.e. access router/server when I'm not home).
In the other hand, my routerOS has always an Openvpn connection always stablished to an external server.
My question is: When Internet goes down (primary link), is there any easy way to restablish only the openvpn connection through the 3G WAN? That connection has bandwidth very expensive, so I want it only for management+ssh via the ovpn server, not browsing or internet connection.
I have the default route
and then the 3G connection with the routing-mark=sortida-3G1 ADS 0.0.0.0/0 Movistar 1
8 ADC 192.168.3.0/30 192.168.3.1 ether5-3G 0
I suppose that I should create a script in the netwatch that marks the openvpn packets with the mark sortida-3G only when the main connection is lost. And when main connection comes again, unmark the packets. Is it the correct way?
Thank you!