Skip to content

Instantly share code, notes, and snippets.

@yohangdev
Created November 17, 2019 14:26
Show Gist options
  • Save yohangdev/5868b93f1e5ca34cd3654d2b777a57b1 to your computer and use it in GitHub Desktop.
Save yohangdev/5868b93f1e5ca34cd3654d2b777a57b1 to your computer and use it in GitHub Desktop.
My iptables Cheatsheet
# bind to 0.0.0.0, block public
iptables -A INPUT -p tcp --dport 3306 -i eth0 -j DROP
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment