Local PBX and PFsense Firewall NAT
I have followed a guide on youtube for setting up NAT for freePBX.
I hvae tried option Port Forward with Outbound rule and 1:1 method.
My settings are like this
Then I have WAN Rule open all the UDP traffic as below. (I have open all the UDP Traffic to test. I know I will cut it down once it's working.)
When I make a call external I get No Traffic in state.
Then I create a LAN rule as below.
I have tried the option port forward +Outbound rule with static IP . It's the same results.
I have change the Firewall Optimization Option to Conservative and NAT Reflection mode for port forwards PureNAT.
Please Please Please if anyone has any idea please share it with me.
Thanks in advance. :)
Appreciate if anyone has done this and share the knowledge with me please .
Grimeton last edited by
Delete all the rules above and create a port forwarding rule:
Everything that hits the external interface's IP on port 5060 is forwarded to the PBX on 5060.
This should give you the main connection. Then check the udp port range the PBX uses for actual communication (RTP).
Forward those ports as well from external IP to the PBX.
If the RTP ports cannot be nailed down to reside in a certain range, check if the PBX can use a STUN server and if your provider offers one. If so, the PBX connects to the STUN server, does a handshake when it comes to ports and then uses those ports on the firewall (punches holes in the state table for said udp ports) and keeps them open and alive.