The link below will give an overview of the common concepts when configuring 3CX PhoneSystem inside your network infrastructure with other voip providers http://www.3cx.com/blog/voip-howto/nat-stun-network-configuration/
—