当前位置:网站首页>firewall防火墙详解
firewall防火墙详解
2022-08-09 14:11:00 【渐暖°】
linux 开放端口
1.临时端口,重启防火墙或者服务器后失效
firewall-cmd --zone=public --add-port=8053/tcp
2.永久端口
# 永久开放端口 ,执行完 需要再重启下防火墙
firewall-cmd --permanent --zone=public --add-port=80/tcp
firewall-cmd --reload 刷新生效
3.查看开放端口列表
# linux 查看开放端口列表
firewall-cmd --list-all
防火墙开启和关闭
1、重启、关闭、开启firewalld.service服务
service firewalld restart 重启
service firewalld start 开启
service firewalld stop 关闭
2、查看firewall服务状态
systemctl status firewall
3、查看firewall的状态
firewall-cmd --state
边栏推荐
猜你喜欢
随机推荐
IK学习笔记(2)——TwoBones IK
* 5-2 CCF 2014-12-3 call auction
The code implementation of chess
Architect's learning experience summary
Assembly language learning (4)
兆骑科创创新创业大赛平台,人才引进,项目路演
Difference between apt-get install and pip install
数据建模已死,真的吗?
What is the cost of small program development and production?Three development methods cost analysis!
零时科技 | Nomad 跨链桥被盗1.8亿美元事件分析
Assembly Language Learning (6) Curriculum Design 1
#25-1 OJ 78 计算生日星期几
IK学习笔记(1)——CCD IK
[MRCTF2020]套娃-1
What are the steps website small program development?
Assembly language learning (8)
基于微信云开发的幼儿园招生报名小程序
spacedesk-笔记本、平板、扩展屏幕-解决平板字体太小的问题
兆骑科创创业大赛竞赛平台,双创服务,投融资对接
递归实现汉诺塔问题








