Zero rule counters before testing packet paths.
Section: Netfilter and Policy Debugging
Reset iptables counters
bash
bash
sudo iptables -ZExplanation
Zero rule counters before testing packet paths.
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 Netfilter and Policy Debugging