linux查看防火墙状态_linux开启和关闭防火墙

linux查看防火墙状态_linux开启和关闭防火墙,第1张

linux查看防火墙状态_linux开启和关闭防火墙 下面是Linux系统一些常见防火墙 *** 作命令的使用情况介绍:Centos7防火墙1) 查看防火墙状态firewall-cmd --state2) 停止防火墙systemctl stop firewalld.service3) 开启防火墙systemctl start firewalld.service4) 禁止firewall开机启动systemctl disable firewalld.serviceCentos6防火墙1) 查看防火墙状态service iptables status2) 停止防火墙service iptables stop3) 开启防火墙service iptables star4) 查看iptables是否开机启chkconfig iptables --list5) 设置iptables开机启动chkconfig iptables on6) 设置iptables开机不启动chkconfig iptables off

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/tougao/657625.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-04-18
下一篇 2022-04-18

发表评论

登录后才能评论

评论列表(0条)

保存