In this post, I am going to talk about how to configure FreeSWITCH in a high availability active-passive schema. The active-passive approach will share a floating IP between your VoIP switches and when one gets off-line, the passive one will take control over the IP and it will get the load. For more information about how this works, I strongly suggest you read my article about the High Availability Cluster Overview; you will understand what you are going to do.
This article will assume the following:
So I was in a situation; in order to help my friend to manage his servers, I have to connect through his L2TP VPN. After a little digging, I figure out how to do that with xl2tpd. However, the situation was not ideal, it was overwhelming to start manually the connection plus adding manually the routes (since xl2tpd doesn't have a way to add them).
So, let's take a look at the initscripts. Initscripts are wonderful, they allow you to configure different types of interfaces and turn them up/down with an ifup/ifdown command. The only problem is that they do not support L2TP.
Here is what I did.
I am very proud to share with you all the FreeSWITCH 1.10.8 RPMs for CentOS 7, Rocky 8 and Rocky 9.