美文网首页
CentOS 7 firewalld使用简介

CentOS 7 firewalld使用简介

作者: 梨捉阳笆 | 来源:发表于2016-08-28 10:31 被阅读37次

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使用简介

      本文链接:https://www.haomeiwen.com/subject/fkixsttx.html