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

Google is your friend. Enable Firewalld debug logging.

share|improve this answer
The key with Google is knowing when to add a keyword and when to omit. Thanks for this find. –  David Armstrong Feb 12 '14 at 11:09
True. Using require "+" and exclude "-" for terms in the query help too. –  rickhg12hs Feb 13 '14 at 2:30
@rickhg12hs The + operator was dropped from Google's search syntax in 2011. Sometime in between then and now, it seems to have been made to return Google+ results. –  mattdm Feb 13 '14 at 22:32
You're right! I just learned several things from their search help pages. Thanks! –  rickhg12hs Feb 14 '14 at 6:59

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.