Skip to content

Instantly share code, notes, and snippets.

@mcastelino
Last active April 2, 2019 22:33
Show Gist options
  • Save mcastelino/4442bd38d5f5b549e8ff4a197255b41a to your computer and use it in GitHub Desktop.
Save mcastelino/4442bd38d5f5b549e8ff4a197255b41a to your computer and use it in GitHub Desktop.
Dump all iptables stats
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