How to add OpenVPN Server failover link on Clients
nijaz last edited by
First I want to apologise if this has previously been asked. I have had trouble locating the info required!
I have one pfSense server with local IP 172.16.0.1
10 pfSense clients with local IP-s 172.16.1.1 - 172.16.11.1
They are connected together over OpenVPN site-to-site
This connection is working fine.
I have 2 links on pfSense Server (primary and failover)
What i want to do.
I want to tell clients when OpenVPN server is unavailable on primary link, when primary link is down, that they connect to server using failover link.
I Tryed adding multiple openVPN client connections and remote routs but that didnt work :(
Is this possible, what is the best practise and how to do that?
Thanks a lot
InAr last edited by
I have a similiar configuration and have reconfigured my OpenVPN a few days ago according to this document : https://doc.pfsense.org/index.php/Multi-WAN_OpenVPN.
It seems to be working. If I disconnect my first WAN connection on the OpenVPN Server side, the Client reconnects after a short time via the second link.
If the first link is back up, when I disconnect the second link, the client switches back to the first link.
With this configuration the client side won't reconnect automaticaly if the primary gets back online again..it stays on the second connection as long as it is available or until you reconnect the client side, but this is exactly how I want it to work.