How to identify which rule is getting applied by iptables config when there are thousands of rules in play?

Solution Verified - Updated -


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.


iptables enabled

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In