3cx with pfSense port mapping issue
-
Ok, I think I've gone insane!
I am usually pretty good at figuring things out myself without the need to ask for help but I have spent two days already trialing different guides and configs and just can't seem to get this system to work. I need some help and I am sure it will be an easy fix to those who are so inclined.
Please see photos for more details of errors and config here https://imgur.com/a/NmcMlBZ
Essentially I am trying to connect my voip service from Aussie BB to my 3cx running on my rpi 3b+ fed from my netgate sg-2100 (pfSense box).
My current network setup is:
NCD (NBN FTTC) --> (wan port) pfSense box --> pfSense box (port2) setup as vlan2 --> rpi (3cx – ip: 192.168.186.9)
for completeness I also have: --> pfSense box (port1) setup as vlan1 --> google wifi (home network – 192.168.86.0/24)I followed guides:
https://youtu.be/8QyFidVcoLM (3cx rpi installation guide/walkthrough)
https://www.3cx.com/docs/installing-pbx-raspberry-pi/
https://www.3cx.com/DOCS/pfsense-firewall/
https://www.3cx.com/docs/firewall-checker/
https://www.3cx.com/blog/voip-howto/firewall-nat-pat-stun/
https://pfsense-docs.readthedocs.io/en/latest/nat/forwarding-ports-with-pfsense.html
https://docs.netgate.com/pfsense/en/latest/troubleshooting/nat-port-forwards.htmlFurther things to note:
I can successfully register my AussieBB voip to 3cxPBX
I am using the 3cx client on my mobile (I don't own ip handset)
I cannot call my voip number on an outside line (4g)
I have forwarded all ports correctly (inbound and outbound -checked multiple times and recreated them just in case), tried resetting state tables, tried PureNAT, NAT + Proxy, Nat disabled, enabled/disabled Enable NAT Reflection for 1:1 NAT and Enable automatic outbound NAT for Reflection, power cycling the rpi and pfsense, and all combinations of the above.Nothing seems to fix the 3cx firewall checker coming back that my ports are not mapped correctly. The only thing I may have found but unsure of is that when viewing pfSense states the rpi 3cx box seems to use a port 60179 for some reason. I am unsure why or how and I suppose hence the seeking further help.
I appreciate the help, I think its going to be an easy fix for someone, however I am just lost at this point.
Best Regards,
Daz