Last active
April 2, 2019 22:33
-
-
Save mcastelino/4442bd38d5f5b549e8ff4a197255b41a to your computer and use it in GitHub Desktop.
Dump all iptables stats
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for table in $(echo filter nat mangle raw security); do echo $table; iptables -L -v -n --line-numbers -t $table; done | |
tcpdump -elnXXi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment