1.屏蔽指定IP:124.115.0.199
iptables -I INPUT -s 124.115.0.199 -j DROP
2.屏蔽IP段:
iptables -I INPUT -s 61.37.80.0/24 -j DROP //61.37.80开头
iptables -I INPUT -s 124.115.0.0/16 -j DROP //124.115开头iptables -I INPUT -s 124.0.0.0/8 -j DROP //124开头 3.解封iptables -D INPUT -s 124.115.0.199 -j REJECT
iptables -F //全清掉了
https://blog.csdn.net/weixin_40461281/article/details/83008976