Linux 防火墙设置失败
来源:互联网 发布:如何网络销售水果 编辑:程序博客网 时间:2024/06/14 05:15
当使用 chkconfig iptables on 时可能会报出这样的错:
error reading information on service iptables: No such file or directory
记录一下解决方案:
首先关闭防火墙服务
systemctl stop firewalld
systemctl mask firewalld
之后安装iptables-services package
yum install iptables-services
将给服务设为开机启动
systemctl enable iptables
该服务相关命令
systemctl [stop|start|restart] iptables
修改开放端口
先执行
service iptables save
之后再
vim /etc/sysconfig/iptables
最后重启防火墙
service iptables restart
参考:http://stackoverflow.com/questions/24756240/how-can-i-use-iptables-on-centos-7
0 0
- Linux 防火墙设置失败
- Linux防火墙设置
- linux 防火墙 设置
- Linux 防火墙设置方法
- Linux Centos防火墙设置
- Linux 防火墙设置
- LINUX服务器防火墙设置
- linux防火墙设置
- linux 防火墙设置
- Linux防火墙设置
- Linux 防火墙端口设置
- Linux防火墙设置
- Linux防火墙设置
- Linux 防火墙端口设置
- linux防火墙设置
- Linux防火墙设置
- Linux防火墙的设置
- Linux防火墙设置
- jquery 根据name属性查找元素
- @Column(s) not allowed on a @ManyToOne property:
- PHP之OOP: 编程思想从过程到对象!
- linux下线程的两种封装方式
- DSST(Accurate Scale Estimation for Robust Visual Tracking 代码解读(2)
- Linux 防火墙设置失败
- gcc常用编译选项详解
- C# 常用的正则表达式
- iOS 图片 保存到沙盒路径/相册、图片缩小、图片截取
- Ubuntu14.04下sick LMS5xx的gmapping建图
- 二叉树的先根遍历
- jquery中children及find的不同
- 控制浏览器全屏的事件
- 移动端弹出框组件 - Dialog