ä»ãµã¼ãããã®MySQLã¸ã®æ¥ç¶ãä¸æçã«é®æãã
æ¬çªDBãµã¼ãæ§ç¯ä¸ã§ãä¸ãä¸ä»ã®ãµã¼ãããåç
§ããããå°ããããªæã«ã¯ã
iptablesã§ä»ãµã¼ãããã®æ¥ç¶ãé®æãã¦ããã¾ããã
vim /etc/sysconfig/iptables
*filter :INPUT ACCEPT [0:0] :FORWARD ACCEPT [0:0] :OUTPUT ACCEPT [0:0] -A INPUT -s 127.0.0.1 -p tcp -m tcp --dport 3306 -j ACCEPT -A INPUT -p tcp -m tcp --dport 3306 -j REJECT --reject-with icmp-port-unreachable COMMIT
æ§ç¯ããã¹ã¦å®äºããããã®iptablesãå¤ãã®ãå¿ããã«ã