当前位置:网站首页>firewalld 配置文件的位置
firewalld 配置文件的位置
2022-06-23 07:18:00 【时光凉春衫薄】
开放端口
永久开放2个端口
firewall-cmd --permanent --zone=public --add-port=80/tcp
firewall-cmd --permanent --zone=public --add-port=443/tcp
firewall-cmd --reload
在 /etc/firewalld/zones / public.xml里面:
<?xml version="1.0" encoding="utf-8"?>
<zone>
<short>Public</short>
<description>For use in public areas. You do not trust the other computers on networks to not harm your computer. Only selected incoming connections are accepted.</description>
<service name="ssh"/>
<service name="dhcpv6-client"/>
<port protocol="tcp" port="80"/>
<port protocol="tcp" port="443"/>
</zone>边栏推荐
- MySQL on duplicate key and PgSQL on conflict (primary key) handle primary key conflicts
- Unity picture loading and saving
- 1278_ FreeRTOS_ Understand the delayed task with the prvaddcurrenttasktodelayedlist interface
- Ntu-rgbd data set download and data format analysis
- 浅谈ThreadLocal和InheritableThreadLocal,源码解析
- 基于51单片机的温度检测监测报警系统设计
- Playwirght深度入门
- 快速删除代码里面的node_modules
- [Planet selection] how to efficiently build fine-grained two-way links between roam and thebrain?
- 【Veusz】导入CSV中的二维数据
猜你喜欢

Principle of skip table

Playwirght深度入门

【PyQt5系列】修改计数器实现控制
![[veusz] import 2D data in CSV](/img/22/467139f5a83ce9e88a57ced732d4d6.png)
[veusz] import 2D data in CSV

RFID data security experiment: C # visual realization of parity check, CRC redundancy check and Hamming code check

Design of temperature detection and alarm system based on 51 single chip microcomputer
![[interface automation] software testing the core skills of salary increase to increase salary by 200%](/img/22/be8c5c922307225c34f6205f189c33.png)
[interface automation] software testing the core skills of salary increase to increase salary by 200%
![[pyqt5 series] modify the counter to realize control](/img/de/c997a19ad72619b0fd2fcd0124ee1a.png)
[pyqt5 series] modify the counter to realize control

Product axure9 (English version), prototype design background dynamic secondary menu display content

某年某月某公司的面试题(1)
随机推荐
The original cloud landed in deep water, and the cloud product family of Boyun container released four values
MySQL慢查询记录
The Sandbox 与《足球小将》达成合作,将流行的足球漫画及动画带入元宇宙
Intelligence Education - how to merge codes when code conflicts occur in multi person collaborative development?
利用for循环输出一个字母三角形
Operation on a bit of binary
传智教育 | 多人协作开发出现代码冲突,如何合并代码?
What is the experience of being a data product manager in the financial industry
Unity to wechat applet games
Online JSON to CSharp (c) class tool
《一周的朋友》
【Kubernetes】Kubernetes各大版本的最新版本下载地址
Playwirght getting started
Hcip Road
The eighth experiment of hcip Road
Using the for loop to output an alphabetic triangle
C WPF additional attribute implementation interface defines decorator
Eureka service registration and discovery
Acwing第 56 场周赛【完结】
Distributed ID generation