How to solve Firewall issue in physical PC?

I am facing a problem. When FreePBX is running in a VM, the phones work with each other without any problem, and the router gives IP addresses to all the phones.

The problem is that on my physical computer where I installed this FreePBX, I cannot ping the FreePBX IP address and I also cannot access the WebGUI.

Now when I run:

iptables -F

everything works fine. It works for a short time, then the firewall starts again and access gets blocked., when firewall starts then gives me this message:

Broadcast message from root@My-PBX (somewhere) (Sat Feb 21 04:47:59 2026):

Firewall Rules corrupted! Restarting in 5 seconds
More information available in /var/log/asterisk/firewall.log

Broadcast message from root@My-PBX (somewhere) (Sat Feb 21 04:48:09 2026):

Firewall service now starting.
I’m using FreePBX 17 on debian 12.12

And what is the further information?

Also, as a general point, a physical machine should be no more complex than a VM, and potentially simpler.

I don’t think that installing on a physical PC would be an issue, probably it’s something related to your network not being whitelisted.

I would do this: fwconsole firewall trust your-IP

Where your-ip is the ip where you are trying to access to the PBX.

Thank you solved it

The duplicate topic was removed.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.