/sbin/iptables -I INPUT -p tcp --dport 80 -j ACCEPT #开启80端口 
/etc/rc.d/init.d/iptables save #保存配置 
/etc/rc.d/init.d/iptables restart #重启服务