CentOS 7 中默认的防火墙不再是iptables了,需要先关闭防火墙firewall再安装iptables
systemctl stop firewalld.service #停止firewall systemctl disable firewalld.service #禁止firewall开机启动
yum install iptables-services #安装
时间: 2024-10-10 15:18:31
CentOS 7 中默认的防火墙不再是iptables了,需要先关闭防火墙firewall再安装iptables
systemctl stop firewalld.service #停止firewall systemctl disable firewalld.service #禁止firewall开机启动
yum install iptables-services #安装