Section: Traffic Capture and Firewall Inspection

List iptables rules

bash
bash
sudo iptables -L -n -v
Explanation

Common on older systems and container hosts.

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
List nftables ruleset
Inspect modern nftables configuration.
OpenIn sheetbashsame section
Show UFW status
Inspect uncomplicated firewall state.
OpenIn sheetbashsame section
Show firewalld settings
Inspect zones and allowed services.
OpenIn sheetbashsame section
Capture traffic on interface
Capture packets on a specific interface.
OpenIn sheetbashsame section
Capture traffic by host and port
Limit packet capture to a host and service port.
OpenIn sheetbashsame section
Show brief interface summary
List interfaces with addresses concisely.
OpenIn sheetbash1 tag match