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.