重启Linux防火墙
时间: 2023-10-19 15:26:15 浏览: 172
要重启Linux防火墙,可以使用以下命令:
```
service iptables restart
```
这个命令会重新启动防火墙并且应用之前的配置。
另外,在CentOS 7上,如果使用的是firewalld防火墙,可以使用以下命令来重新启动防火墙:
```
systemctl restart firewalld
```
请根据你正在使用的Linux发行版和防火墙类型选择适合的命令来重启防火墙。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [Linux防火墙的开启、关闭、重启、查看&永久处理防火墙(需重启系统后才能生效)](https://blog.csdn.net/weixin_47055922/article/details/107972755)[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_2"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [linux防火墙简单的使用](https://blog.csdn.net/weixin_30764771/article/details/97848023)[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_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文