Firewalld logging

Hi, I’ve been looking for this for a day or two, but I seem I can’t find a way to view the firewalld’s log files.
I’ve found one under /var/log/firewalld but its empty.

How do I check the logs? It would be the best if there would be a GUI solution for this, but of course terminal is ok too. :slight_smile:

My goal is that I’m trying to find all the connections my firewall filtered or blocked just as it was logged in ufw.

Thanks in advance.

1 Like

Perhaps you would need to look into /etc/firewalld/firewalld.conf and enable logging.


Add logging rules right before reject and drop rules in the INPUT, FORWARD and OUTPUT chains for the default rules and also final reject and drop rules in zones for the configured link-layer packet type. The possible values are: all, unicast, broadcast, multicast and off. The default setting is off, which disables the logging.

GUI is available as firewall-config which comes with firewalld package.

1 Like

Thank you very much, that’s the solution.

Thanks for your reply, don’t get me wrong but I knew that there was a GUI for the firewalld itself, but what I meant is that I was looking for a GUI solution to open up the firewall’s logfile itself (but I might have missed it out, don’t hesitate to share if you see such button that could list the logfile aswell)

1 Like

It’s fine, I haven’t used a gui for anything related firewall in a while. I was kind of assuming it would be integrated into the firewall gui app, so it was my bad for not having checked it myself first.

1 Like

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