How to Log dropped packets using firewalld in RHEL7?
Issue
- On all our RHEL 5 and 6 installation, we log all packets that are dropped by
iptablesusing the followingiptablesrules:
### DROP ###
-A INPUT -j LOG --log-level debug --log-prefix "iptables: # DROP # "
-A INPUT -j DROP
- How can the same results be achieved on RHEL 7, using firewalld ?
Environment
- Red Hat Enterprise Linux (RHEL) 7
- Firewalld service
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
