Permalink
Browse files

Update iptables

  • Loading branch information...
magenx
magenx committed Jan 30, 2013
1 parent 3d83692 commit d1a6b911a9a4f8fbd7d581d81e6743d6b10921eb
Showing with 1 addition and 1 deletion.
  1. +1 −1 iptables
View
@@ -1,4 +1,4 @@
-# allow MySQL to listen to requests from your separate web server and your home ip:
+# allow MySQL to listen to requests ONLY from your separate web server and your home ip:
iptables -A INPUT -p tcp -s serverIPaddress --dport 3306 -j ACCEPT
iptables -A INPUT -p tcp -s homeIPaddress --dport 3306 -j ACCEPT
iptables -A INPUT -p tcp --dport 3306 -j DROP

0 comments on commit d1a6b91

Please sign in to comment.