hello everyone… I have a freepbx server which has the address 192.168.1.201, I made a redirection of my server to the PUBLIC IP address which is 129.2.154.61… I want to be able to receive calls from another city using the public IP address… but how to configure the redirection in My BOX… the configuration of my IP phones will have the public IP address
You might start by forwarding UDP port 5060 on the public IP to your private IP by changing your external firewall/router settings, but if you don’t limit the forward to certain allowed external IPs, or use fail2ban, etc., then that’s potentially a lot of exposure on the public network. Either way, it can be difficult to pull this off, due to NAT issues.
It is not clear what is being asked here, but my guess is that you are saying you haven’t configured correctly for being behind NAT, in which case you need to configure the external address and local networks, in your settings.