patschi

MySQL iptable rules

May 22nd, 2013
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.16 KB | None | 0 0
  1. iptables -A INPUT -p tcp -s 127.0.0.1 --dport 3306 -j ACCEPT
  2. iptables -A INPUT -p tcp -s IP2 --dport 3306 -j ACCEPT
  3. iptables -A INPUT -p tcp --dport 3306 -j DROP
Advertisement
Add Comment
Please, Sign In to add comment