How to tcpdump inside a concrete iptables rule

Solution Unverified - Updated -

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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content