FreePBX | Register | Issues | Wiki | Portal | Support

Monitor Firewall Status


Is there a method to check to see if the FreePBX firewall is running via SSH?

We use LabTech (ConnectWise Automate) as our RMM tool and would like to create some sort of monitor to make sure the firewall stays up and running.

(Tom Ray) #2

The firewall.log will exist in /tmp when the firewall is active.


Thank you for the information.

I turned off the firewall (fwconsole firewall disable), confirmed in the GUI it is disabled, and check /tmp/ and the firewall.log is still there. Should it auto delete when stopped/disabled?

(Tom Ray) #4

Well it might only get deleted during a reboot. I thought it was deleted when it was deactivated. You can just look at what iptables chains/rules are in place. The firewall is just iptables.

(Dave Burgess) #5

There should be an fwconsole command to get firewall information. Start with “fwconsole ?” will get you the list of all fwconsole commands.


Currently there is not an option for status.