For whatever reasons, we’ve had to urgently build a new FreePBX server. It’s sat behind a Unifi Security Gateway and uses SIP trunks from Gamma.
I’ve read about double NATing so have disabled the inbuilt firewall due to not being able to configure a DMZ on the Unifi Gateway Pro. I’ve also turned NAT to no under SIP Settings on FreePBX.
On the USG, i’ve allowed the following WAN out firewall rule settings.
- All traffic from the internal IP address of the FreePBX to the Gamma SIP trunk server allowed.
On the WAN in firewall rule settings;
- All traffic from the Gamma SIP trunk server to the internal IP of the FreePBX allowed.
I’ve also setup the following ports to forward to internal IP of the FreePBX server only allowed from our schools and SIP provider (Gamma).
- Ports 5160, 5060, 84, 80, 82 and 69
I have one trunk registering through using SIP. I can get local extensions to register, but i can’t get any external one registering.