郑先森灬
世上没有偶然,有的只是必然,正面面对困难,才能迈向成功。
重启防火墙(iptables)命令#service iptable restart失效
Redirecting to /bin/systemctl restart iptables.ser
linux下执行防火墙相关指令报错:
1,安装systemctl:
yum install iptables-services
2,设置开机启动:
systemctl enable iptables.service
然后就可以执行以下指令了:
systemctl stop iptables //停止
systemctl start iptables //启动
systemctl restart iptables //重启
systemctl reload iptables //重载
EYblog - Powered by Eyblog
https://jwwey.com/index.php/archives/67/(转载时请注明本文出处及文章链接)