CentOS 7 firewalld使用简介

firewalld的简介

firewalld常用命令

安装firewalld

yum install firewalld

安装图形化的配置界面

yum install firewall-config

启动

systemctl start firewalld

停止

systemctl stop firewalld

禁用

systemctl disable firewalld

禁用后,firewalld将不会再开机时自动启动。

启用

systemctl enable firewalld

检查防火墙是否在运行

systemctl status firewalld

检查firewall-cmd是否能够连接到守护进程

firewall-cmd --state

官网

https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Security_Guide/sec-Using_Firewalls.html#sec-Introduction_to_firewalld

参考文章

http://www.centoscn.com/CentOS/help/2015/0208/4667.html

你可能感兴趣的:(CentOS 7 firewalld使用简介)