随笔-13  评论-28  文章-63  trackbacks-0
Red Hat linux as 4 修改 /etc/sysconfig/iptables
增加 -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT
表示允许访问80端口

要想要配置生效可以重启电脑,或者允许下面两个命令:
# service iptables stop
# service iptables start
posted on 2008-11-07 14:02 七匹狼 阅读(178) 评论(0)  编辑  收藏 所属分类: linux

只有注册用户登录后才能发表评论。


网站导航: