Mixing internal and external hosts in PBXSync federation

Configuring synchronization, applying, states
Post Reply
User avatar
CRM User
Posts: 169
Joined: Sun Nov 27, 2016 3:41 pm

Mixing internal and external hosts in PBXSync federation

Post by CRM User » Fri May 31, 2019 9:01 pm

We have created a federation of 15 PBXSync hosts. All of the PBXSync hosts on internal networks work fine, but we have one external host that can't connected to the internal hosts.

Since the internal hosts have internal (private) IP addresses, how will the external PBXSync host ever connect to the internal host?
Account for questions transferred from CRM system
User avatar
Telium Support
Posts: 223
Joined: Sun Nov 27, 2016 3:27 pm

Re: Mixing internal and external hosts in PBXSync federation

Post by Telium Support » Fri May 31, 2019 9:06 pm

PBXSync is designed to handle a mix of internal and external hosts. When you setup your pbxsync.conf file, you will notice that the rsync and MySQL IP address entries allow for up to 3 IP addresses. These three addresses represent:
  1. Public IP - this is the IP address that PBXSync will publish to other PBXSync hosts not on your local subnet.
  2. Private IP - this is the IP address that PBXSync will publish to other PBXSync hosts on your local subnet.
  3. Local IP - this is the IP address that PBXSync uses when connecting to itself.
So for the Public IP use the IP address of your firewall, and for your Private IP use the internal (non-routable) IP address of an internal host. The local IP should probably be set to 'localhostipv4'. Also be sure to set the localsubnets setting to match your internal network(s).

Next, on your firewall setup porting mapping from the public IP address to the internal private IP addresses & port. After that the external host will be able to reach the internal host as well.
Post Reply