Hi,

On mar. 17 mars 15:47:36 2020, the...@sys-concept.com wrote:
> How to block in .htaccess file certain IP range?
> 
> I have bot from huawei.com on my server for several days:
> IP: 114.119.128.0 - 114.119.191.255
> Or just block all China

In a case like this, I’m not trying to bother about how to do this with
apache/nginx or another process, I’m blocking the traffic directly from
iptables:
        iptables -s 114.119.128.0/19 -j DROP

-- 
Alarig

Reply via email to