iptables 信息读取出错:没有那个文件或目录
1、停止 firewalld
# systemctl stop firewalld
# systemctl mask firewalld

2、安装 iptables-services
yum install iptables-services


3、再查看防火墙状态
service iptables status

4、开启 iptables
#service iptables start

5、把 iptables 加到开机启动项中
# systemctl enable iptables

6、保存防火墙规则
service iptables save

7、检查状态
service iptables start

声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
阅读量:62
阅读量:38
阅读量:118
阅读量:45
阅读量:131