Linux networking · Packet capture and firewall

Save a capture for Wireshark

Write packets to a file you can open in Wireshark.

sudo tcpdump -i eth0 -w capture.pcap host 203.0.113.10

Official Linux networking documentation

More packet capture and firewall commands

All packet capture and firewall commands · Linux networking cheatsheet

Was this page helpful?