How TO on Load Balancer

Hello,

I am trying to install a Load Balancer but i have only one server with one IP, how do i configure the Load balancer (Kamailio) ?

You can configure SEMS to listen on port 5061 and Kamailio on port 5060

understood, on the Same IP right ?
After the load Balance installation i can use the IPsets that you mentioned on Github ?
Also the outbound calls will be sent from 5061 or 5060 ?

understood, on the Same IP right ?

Yes, on same IP

After the load Balance installation i can use the IPsets that you mentioned on Github ?

Yes, you will be able to filter traffic to port 5060

Also the outbound calls will be sent from 5061 or 5060 ?

Outbound calls will be sent from 5061.

If my provider only accepts calls with 5060 port, what can i do in this case ?

Then you need additional IP address. If you want to block incoming calls using ipset you should have ability to distinguish packets related to incoming call leg and to outgoing call leg. On L4 layer it is possible only based on IP/ports.

understood @dmitry.s, Thank you.
Currently i am using UFW on Debain level to block incoming request’s.
Please close this thread.

Thank you for the info again.