Sign up ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

I'm running Fedora 20 and would like to see what my firewall is doing in the background. Is it possible to view a log of the traffic blocked by FirewallD?

share|improve this question

2 Answers 2

up vote 2 down vote accepted

According to this page, the FirewallD logs are at /var/log/firewalld. To get debug messages, you need to run it with --debug or --debug=2.

share|improve this answer

you can see the logging information by using iptables:

first open the command line and run iptables service:

service iptables start

second write this command:

iptables -A INPUT -j LOG --log-level info --log-prefix "iptables INPUT:"

then you can write this command:

tail -f /var/log/messages

it will give you the logging information you are looking for

the code above let you see what your firewall do with the packets which enter to your network, you can also see the packets which get out of your network by replacing INPUT by OUTPUT in the second command above

share|improve this answer
... not responsive: service iptables is a separate animal from service firewalld – fche Dec 29 '14 at 16:48

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.