-
-
Save amshinde/43f1934663168c190b57cfa0a023a780 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