与其相反的命令,firewall-cmd --permanent --zone=public --add-rich-rule='rule family="ipv4" source address="10.100.224.17" accept';怎么去掉这些ip
时间: 2024-06-15 10:07:08 浏览: 24
要去掉指定的IP地址,可以使用相反的命令来删除防火墙规则。使用以下命令可以删除指定的IP地址:
firewall-cmd --permanent --zone=public --remove-rich-rule='rule family="ipv4" source address="10.100.224.17" accept'
这个命令将从公共区域的永久规则中删除指定的IP地址。请确保IP地址与添加规则时使用的IP地址完全匹配。
相关推荐
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![txt](https://img-home.csdnimg.cn/images/20210720083642.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![docx](https://img-home.csdnimg.cn/images/20210720083331.png)
![ipynb](https://img-home.csdnimg.cn/images/20210720083646.png)