系统相关
首页 > 系统相关> > 重启防火墙(iptables)命令#service iptable restart失效

重启防火墙(iptables)命令#service iptable restart失效

作者:互联网

Redirecting to /bin/systemctl restart iptables.ser

linux下执行防火墙相关指令报错:

Redirecting to /bin/systemctl restart iptables.service

1,安装systemctl:

yum install iptables-services

2,设置开机启动:

systemctl enable iptables.service

然后就可以执行以下指令了:

systemctl stop iptables
systemctl start iptables
systemctl restart iptables
systemctl reload iptables

标签:iptables,bin,service,iptable,systemctl,Redirecting,restart
来源: https://www.cnblogs.com/manmanchanglu/p/12167510.html