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”
Dont know about 3CX but your rules shown are on the crappy side.
In any case without evidence full config, any comment is not all that useful.
/export file=anynameyouwish (minus router serial number, public wanip information, long list of dhcp leases )
Yes, I’ve used MikroTik routers with 3CX and they work very well together (once you’ve got all the rules configured correctly). I have several questions about your setup:
Have you assigned an IP to the ether5 interface (e.g.: 10.1.1.1),
Do you have DHCP running for your DMZ bridge, and
Does the 3CX server have a static IP and, if so, have you configured the gateway correctly,
Can you ping an outside address from your 3CX server?
–
Backups are your friend. Always make a backup!
/system backup save encryption=aes-sha256 name=MyBackup
Please, export and attach your current config to your post if you want help with a config issue:
/export hide-sensitive file=MyConfig/export file=MyConfig
In this case, gateway means Internet gateway and refers to the IP address of your router. To see the setting use the following command:
On Windows: PowerShell or Command prompt
ipconfig
On Linux: command prompt (bash shell or terminal)
more /etc/network/interfaces
You will see something similar to one of these screenshots.
Does you MikroTik connect directly to the Internet (i.e.: The IP on ether1 is Internet addressable). Please attach your MikroTik config (see below for details on how to get that if you don’t already know) so that we can give you more detailed help.
–
Backups are your friend. Always make a backup!
/system backup save encryption=aes-sha256 name=MyBackup
Please, export and attach your current config to your post if you want help with a config issue:
/export hide-sensitive file=MyConfig/export file=MyConfig