How to identify which rule is getting applied by iptables config when there are thousands of rules in play?
Issue
We are using a complex and long set of iptables rules and we would like to identify which rule is getting matched from a specific traffic.
Environment
RHEL6
iptables enabled
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.
