摘要: 1、设定[root@localhost ~]# /sbin/iptables -I INPUT -p tcp --dport 80 -j ACCEPT[root@localhost ~]# /sbin/iptables -I INPUT -p tcp --dport 22 -j ACCEPT[root@localhost ~]# /sbin/iptables -I INPUT -p tcp --dport 3306 -j ACCEPT2、保存[root@localhost ~]# /etc/rc.d/init.d/iptables save3、重启防火墙[root@localhost ~]# 阅读全文
posted @ 2012-09-26 09:05 茗迹周 阅读(280) 评论(0) 推荐(0) 编辑