TypechoJoeTheme

EYblog - Powered by Eyblog

统计
登录
用户名
密码

郑先森灬

世上没有偶然,有的只是必然,正面面对困难,才能迈向成功。
网站页面

【技术解读】Linux防火墙操作命令

重启防火墙(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 //重载
赞(24)
版权属于:

EYblog - Powered by Eyblog

本文链接:

https://akxdz.com/index.php/archives/67/(转载时请注明本文出处及文章链接)

评论 (75)
郑先森灬
世上没有偶然,有的只是必然,正面面对困难,才能迈向成功。
25 文章数
161 评论量

人生倒计时

今日已经过去小时
这周已经过去
本月已经过去
今年已经过去个月