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
iptables
using the followingiptables
rules:
### 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, tools, and much more.