?????????????????????22?????????????Nginx+php+mysql ????????????
????iptables -L -n
??????????????÷????????80???
????????Linux?????????????????????????????????????????????????÷???????????????
?????????????????
????service iptables stop (?????)
????????8080?????????????£?
????1?????/etc/sysconfig/iptables ???????????????У?

????-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 8080 -j ACCEPT
????????iptables
????service iptables restart
????2????????????????????????????????
????a) ???????Ч
????????? chkconfig iptables on
???????? chkconfig iptables off
????b) ?????Ч????????Ч
????????? service iptables start
???????? service iptables stop
?????????????Χ????3000??5000
????-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 3000:5000 -j ACCEPT