Capture packets on a specific interface.
Section: Traffic Capture and Firewall Inspection
Capture traffic on interface
bash
bash
sudo tcpdump -i eth0Explanation
Start broad, then add host, port, or protocol filters.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Traffic Capture and Firewall Inspection