systemctl 关闭 firewalld
时间: 2023-11-08 16:16:58 浏览: 130
CentOS7使用firewalld打开关闭防火墙与端口
要关闭firewalld服务,可以使用以下命令:
```
systemctl stop firewalld
```
这个命令会立即停止firewalld服务。然后,如果你希望在系统重启后不再自动启动firewalld服务,可以使用以下命令:
```
systemctl disable firewalld
```
这样,firewalld服务就会被禁用并且不会在系统启动时自动启动。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [Linux防火墙-firewalld](https://download.csdn.net/download/weixin_38543950/14048840)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [Linux关闭防火墙命令](https://blog.csdn.net/qq_39399966/article/details/102660601)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文