How to tcpdump inside a concrete iptables rule
Issue
- I need to tcpdump in a concrete point of the firewall, not just in an interface.
- I need to validate via tcpdump if some traffic is being dropped or badly impacted by a concrete rule of the Linux firewall.
- tcpdump captures via
packet
sockets, but that doesn't fit my troubleshooting scenario. - I want to capture packets matching a concrete NFLOG rule
Environment
- Red Hat Enterprise Linux
- 8.x and higher
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.