centos 7保存iptables防火墙规则跳错的解决方法,service iptables save 指令不可用
centos 7保存iptables防火墙规则跳错的解决方法,service iptables save 指令不可用# 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.
# cat /etc/sysconfig/iptables
cat: /etc/sysconfig/iptables: 没有那个文件或目录
解决办法
yum -y install iptables-services
路过
页:
[1]