使用 service iptables save 时显示
[root@localhost ~]# service iptables save The service command supports only basic LSB actions (start, stop, restart, try-restart, reload, force-reload, status). For other actions, please try to use systemctl.
使用 yum install iptables-services 安装或更新服务
[root@localhost ~]# yum install iptables-services
安装成功后,在执行 service iptables save。
[root@localhost ~]# service iptables save iptables: Saving firewall rules to /etc/sysconfig/iptables:[ OK ]
您可以选择一种方式赞助本站