I’m fairly new to pfSense and a complete newb to FreePBX. I’m having a strange IP issue, and after two days, I’m at a dead-end on troubleshooting.
I’ve got a pfSense firewall set up with my WAN on wan_ip_a.
I’ve got a FreePBX server that I’m wanting to assign wan_ip_b.
In pfSense, I’ve configured Firewall->Virtual IP and added my wan_ip_b to the list.
In Firewall->NAT->1:1, I’ve mapped wan_ip_b to the internal address of my FreePBX server.
In Firewall->Rules, I’ve added rules for passing traffic for 5060, 5160 and the UDP ports to my wan_ip_b destination.
I’m trying out SIPStation, and I used the FreePBX auto-detect network button – it returned wan_ip_b, which I was happy about. However, once I enter my SIPStation key, it attempts to contact Sangoma and fails. I reached out to Sangoma, and they reported that they are sending traffic to wan_ip_b, but the return traffic is coming from wan_ip_a. This causes the verification process to fail.
What could I check that could possibly cause this? I’m sure I’m doing something wrong, but I’m honestly out of ideas on where to look.
Thanks in advance.