I'm in the process of switching from a PfSense router to an RB5009. I have a single fiber WAN with a single dynamic IP. 3CX works and Firewall Checker passes with the pFsense router.
Ether5 is in a bridge called bridge-dmz at 10.1.1.0/24. The 3CX server's IP is 10.1.1.20.
I followed the guide on the 3CX website with the following commands. I also disabled the SLP ALG service port.
ip firewall nat add chain=dstnat action=dst-nat to-addresses=10.1.1.20 to-ports=5001 protocol=tcp dst-port=5001 comment="3CX Presence and Provisioning HTTPS"
ip firewall nat add chain=dstnat action=dst-nat to-addresses=10.1.1.20 to-ports=5060 protocol=udp dst-port=5060 comment="3CX SIP UDP"
ip firewall nat add chain=dstnat action=dst-nat to-addresses=10.1.1.20 to-ports=5060 protocol=tcp dst-port=5060 comment="3CX SIP TCP"
ip firewall nat add chain=dstnat action=dst-nat to-addresses=10.1.1.20 to-ports=5061 protocol=tcp dst-port=5061 comment="3CX SIP TLS"
ip firewall nat add chain=dstnat action=dst-nat to-addresses=10.1.1.20 to-ports=9000-10999 protocol=udp dst-port=9000-10999 comment="3CX Media UDP"
ip firewall nat add chain=dstnat action=dst-nat to-addresses=10.1.1.20 to-ports=5090 protocol=tcp dst-port=5090 comment="3CX Tunnel TCP"
ip firewall nat add chain=dstnat action=dst-nat to-addresses=10.1.1.20 to-ports=5090 protocol=udp dst-port=5090 comment="3CX Tunnel UDP"
ip firewall filter add chain=input action=accept connection-state=established
ip firewall filter add chain=input action=accept connection-state=related
ip firewall filter add chain=forward action=accept connection-state=established
ip firewall filter add chain=forward action=accept connection-state=related
ip firewall filter add chain=forward action=drop connection-state=invalid
ip firewall filter add chain=input action=drop in-interface=ether1
ip firewall nat add chain=srcnat action=masquerade out-interface=ether1
The only other rules I have added are NAT rules for my web server.
Has anybody ever configured an MT router for 3CX before?