首页 > 系统服务 > 详细

Linux系统防火墙相关操作

时间:2020-04-28 17:45:59      阅读:75      评论:0      收藏:0      [点我收藏+]

服务器重启后防火墙会自动开启,需要把防火墙关闭

以下为对防火墙进行的相关操作

  • 查看防火墙状态

  systemctl status firewalld

  service iptables status

  • 暂时关闭防火墙

  systemctl stop firewalld

  service iptables stop

  • 永久关闭防火墙

systemctl distable firewalld

chkconfig iptables off

  • 重启防火墙

systemctl enable firewalld

service iptables restart

  • 永久关闭后重启

chkconfig iptables on

Linux系统防火墙相关操作

原文:https://www.cnblogs.com/moaiwa/p/12795702.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!