Skip to content

Instantly share code, notes, and snippets.

@kgorskowski
Last active August 29, 2015 14:17
Show Gist options
  • Save kgorskowski/60e8624964c4981ab7b9 to your computer and use it in GitHub Desktop.
Save kgorskowski/60e8624964c4981ab7b9 to your computer and use it in GitHub Desktop.
iptables drop external mysql access
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