sudo iptables -L -n -v

Category: Self-Hosting

sudo iptables -L -n -v

List all active iptables rules with packet/byte counters — the low-level firewall underlying UFW

Dumps all active iptables chains and rules with packet counts. UFW uses iptables under the hood — this shows the raw rules UFW generates.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.