---
title: "centos7 防火墙的开启与关闭"
author: "softkf"
date: "2015-03-21T12:29:27Z"
tags: ["CentOS"]
categories: ["操作系统"]
slug: "centos7"
draft: false
lastmod: "2015-03-21T12:29:49Z"
id: 2194443
url: "https://aijerry.iteye.com/blog/2194443"
---

#启动firewall

systemctl start firewalld.service

#停止firewall

systemctl stop firewalld.service

#开机防火墙禁止启动

systemctl disable firew