防火墙配置列子:

-A INPUT -p tcp -m state –state NEW -m tcp –dport 555  -j ACCEPT
-A INPUT -p tcp -m state –state NEW -m tcp –dport 555-s 162.17.127.249 -j ACCEPT
-A INPUT -p tcp -m state –state NEW -m tcp –dport 555-s 12.14.67.32/28 -j ACCEPT
-A INPUT -p tcp –dport 3306 -m iprange –src-range 12.196.4.0-12.196.4.64 -j ACCEPT