一直报这个错误,写个博客来记录一下问题
在centos7中执行service iptables start 报如下错误
执行如下命令
systemctl stop firewalld
systemctl mask firewalld
安装iptables-service
yum install iptables-services
设置开机启动
systemctl enable iptables
systemctl stop iptables
systemctl start iptables
systemctl restart iptables
systemctl reload iptables
保存设置
service iptables save
欧克,在执行一下 service iptables start 应该就没有问题了