posts - 4,  comments - 1,  trackbacks - 0

 

编辑 /etc/sysconfig/iptables
然后运行 /sbin/service iptables restart

防火墙规则只有在 iptables 服务运行的时候才能被激活。要手工启动服务,使用以下命令:

/sbin/service iptables restart
要确保它在系统引导时启动,使用以下命令:

/sbin/chkconfig --level 345 iptables on
ipchains 服务不能和 iptables 服务同时运行。要确定 ipchains 服务被禁用,执行以下命令:

/sbin/chkconfig --level 345 ipchains off



JOESOFT

 



JOESOFT
posted on 2011-10-10 15:50 sz_joe 阅读(224) 评论(0)  编辑  收藏 所属分类: Linux常用资料

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


网站导航:
 
<2011年10月>
2526272829301
2345678
9101112131415
16171819202122
23242526272829
303112345

常用链接

留言簿

随笔分类

随笔档案

文章分类

文章档案

搜索

  •  

最新评论

阅读排行榜

评论排行榜