centos7防火墙配置
来源:互联网 发布:白金数据谁杀的人 编辑:程序博客网 时间:2024/06/16 06:08
使用命令的方式配置Centos7防火墙
##Add
firewall-cmd --permanent --zone=public --add-port=8080/tcp
##Remove
firewall-cmd --permanent --zone=public --remove-port=8080/tcp
##Reload
firewall-cmd --reload
复制代码
检查是否生效
firewall-cmd --zone=public --query-port=8080/tcp
列出所有的开放端口
firewall-cmd --list-all
查看防火墙状态
systemctl status firewalld.service
启动防火墙
systemctl start firewalld.service
关闭防火墙
systemctl stop firewalld.service
重新启动防火墙
systemctl restart firewalld.service
阅读全文
0 0
- centos7防火墙配置
- Centos7 Friewalld 防火墙配置
- CentOS7配置防火墙
- centos7配置防火墙
- centos7 防火墙服务配置
- Centos7 防火墙基本配置
- Linux centos7防火墙配置
- CentOS7防火墙firewalld配置
- centos7防火墙配置
- centos7 防火墙常用配置
- CentOs7配置防火墙
- CentOS7防火墙配置
- CentOS7 防火墙配置(关闭)
- CentOS7防火墙关闭与配置
- centos7 使用iptables配置防火墙
- Centos7,配置防火墙,开启端口
- CentOS7下iptables防火墙配置
- centOS7 iptables防火墙配置脚本
- 从尾到头打印链表
- PHP高效率写法(详解原因)
- 计蒜客 简单密码破解
- db.createUser()方法的用法
- mysql 的Escape转义字符串
- centos7防火墙配置
- Python 环境搭建
- zoj3954 详细讲解 排序比较单词法
- laravel 打印sql 语句 打印sql语句
- RASPBERRY PI3
- 梯度下降(Gradient Descent)小结
- sql 中字符串函数的用法
- 【原】Cannot find entry file index.ios.js [index.android.js] in any of the roots
- leetcode--House Robber II