标签:fir protoc .net http art man ash port ane
https://blog.csdn.net/s_p_j/article/details/80979450
firewall-cmd --permanent --add-rich-rule="rule family=‘ipv4‘ source address=‘222.222.222.222‘ reject" 单个IP
firewall-cmd --permanent --add-rich-rule="rule family=‘ipv4‘ source address=‘222.222.222.0/24‘ reject" IP段
封58.83.141.73 80端口
firewall-cmd --permanent --add-rich-rule="rule family=ipv4 source address=58.83.141.73 port=80 protocol=tcp drop"
配置后要重新载入以生效
firewall-cmd --reload
删除该规则把 –add-rich-rule 改成 –remove-rich-rule即可
标签:fir protoc .net http art man ash port ane
原文地址:https://www.cnblogs.com/abkn/p/9985117.html