[root@localhost ~]# yum install -y iptables-services
[root@localhost ~]# systemctl enable iptables && systemctl start iptables
Created symlink from /etc/systemd/system/basic.target.wants/iptables.service to /usr/lib/systemd/system/iptables.service.
[root@localhost ~]# service iptables save
iptables: Saving firewall rules to /etc/sysconfig/iptables:[ OK ]
CentOS7使用service save iptables命令报错
最新推荐文章于 2024-01-22 16:00:20 发布