如何关闭防火墙服务

如何关闭防火墙服务,第1张

可以通过services的服务命令进行关闭,具体操作步骤如下:

工具/原材料

win7电脑。

1、打开电脑同时按“win+R”快捷键打开运行命令的窗口;

/iknow-pic.cdn.bcebos.com/7e3e6709c93d70cf2dce0442f6dcd100baa12b4c"target="_blank"title="点击查看大图"class="ikqb_img_alink">/iknow-pic.cdn.bcebos.com/7e3e6709c93d70cf2dce0442f6dcd100baa12b4c?x-bce-process=image%2Fresize%2Cm_lfit%2Cw_600%2Ch_800%2Climit_1%2Fquality%2Cq_85%2Fformat%2Cf_auto"esrc="https://iknow-pic.cdn.bcebos.com/7e3e6709c93d70cf2dce0442f6dcd100baa12b4c"/>

2、打开运行命令的窗口以后,在打开栏里输入“services.msc”的命令;

/iknow-pic.cdn.bcebos.com/faedab64034f78f0ba7d34bc77310a55b3191c0e"target="_blank"title="点击查看大图"class="ikqb_img_alink">/iknow-pic.cdn.bcebos.com/faedab64034f78f0ba7d34bc77310a55b3191c0e?x-bce-process=image%2Fresize%2Cm_lfit%2Cw_600%2Ch_800%2Climit_1%2Fquality%2Cq_85%2Fformat%2Cf_auto"esrc="https://iknow-pic.cdn.bcebos.com/faedab64034f78f0ba7d34bc77310a55b3191c0e"/>

3、打开命令以后,在弹出的界面可中找到并双击Windowsfirewall防火墙的设置;

/iknow-pic.cdn.bcebos.com/dc54564e9258d1094f8407fddf58ccbf6c814d1e"target="_blank"title="点击查看大图"class="ikqb_img_alink">/iknow-pic.cdn.bcebos.com/dc54564e9258d1094f8407fddf58ccbf6c814d1e?x-bce-process=image%2Fresize%2Cm_lfit%2Cw_600%2Ch_800%2Climit_1%2Fquality%2Cq_85%2Fformat%2Cf_auto"esrc="https://iknow-pic.cdn.bcebos.com/dc54564e9258d1094f8407fddf58ccbf6c814d1e"/>

4、双击打开防火墙以后,在弹出对话框中将启动类型设置成禁用即可关闭防火墙。

/iknow-pic.cdn.bcebos.com/d058ccbf6c81800a18c82041bf3533fa828b474b"target="_blank"title="点击查看大图"class="ikqb_img_alink">/iknow-pic.cdn.bcebos.com/d058ccbf6c81800a18c82041bf3533fa828b474b?x-bce-process=image%2Fresize%2Cm_lfit%2Cw_600%2Ch_800%2Climit_1%2Fquality%2Cq_85%2Fformat%2Cf_auto"esrc="https://iknow-pic.cdn.bcebos.com/d058ccbf6c81800a18c82041bf3533fa828b474b"/>

关闭防火墙命令:systemctl stop firewalld.service

开启防火墙:systemctl start firewalld.service

关闭开机自启动:systemctl disable firewalld.service

开启开机启动:systemctl enable firewalld.service

1. 永久性生效

开启:chkconfig iptables on

关闭:chkconfig iptables off

2. 即时生效,重启后失效

开启:service iptables start

关闭:service iptables stop


欢迎分享,转载请注明来源:夏雨云

原文地址:https://www.xiayuyun.com/zonghe/67853.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2023-03-01
下一篇2023-03-01

发表评论

登录后才能评论

评论列表(0条)

    保存