标签:安装 centos tab isa systemctl stat info strong 技术分享
1 先检查是否安装了iptables:
service iptables status
iptables -L
ls /etc/sysconfig/
综上:命令报错,且 iptables不存在,那就说明没有安装
2、禁用/停止自带的firewalld服务
查看firewalld状态
systemctl status firewalld
停止firewalld服务
systemctl stop firewalld
禁用firewalld服务
systemctl mask firewalld
禁用firewalld开机启动
systemctl disable firewalld.service
3、安装iptables
yum install -y iptables
标签:安装 centos tab isa systemctl stat info strong 技术分享
原文地址:https://www.cnblogs.com/yybrhr/p/9559715.html