I have a Mikrotik that has an OpenVPN server running. There are 2 WANs and I want to set a failover for OpenVPN client computers.
Bellow is the .ovpn that I set in Windows client. The problem is that when the WAN1 fail, it takes 120s (average) to cycle to the next wan available (WAN2).
Is it possible to reduce this time and the OpenVPN chooses the WAN2 faster?
Code: Select all
client
dev tun
proto tcp
remote wan1.mycompany.com 443
remote wan2.mycompany.com 443
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert client.crt
key client.key
remote-cert-tls server
cipher AES-256-CBC
auth SHA1
auth-user-pass
route 192.168.1.0 255.255.255.0 10.100.100.1 1
verb 3