1 |
The below are not blocking those IP's : |
2 |
deny from 114.119.128.0/24 |
3 |
deny from 114.119.128.0 |
4 |
|
5 |
Thelma |
6 |
On 03/17/2020 04:00 PM, Michael wrote: |
7 |
> On Tuesday, 17 March 2020 21:56:29 GMT thelma@×××××××××××.com wrote: |
8 |
>> Will it work: |
9 |
>> deny from 114.119.128.0/114.119.191.255 |
10 |
>> |
11 |
>> Thelma |
12 |
> |
13 |
> It is better to use this syntax: |
14 |
> |
15 |
> <RequireAll> |
16 |
> Require all granted |
17 |
> Require not ip XX.XXX.XX.XXX |
18 |
> </RequireAll> |
19 |
> |
20 |
> |
21 |
> So your example address space becomes: |
22 |
> |
23 |
> Require not ip 114.119.128 |
24 |
> |
25 |
> Or; |
26 |
> |
27 |
> Require not ip 114.119.128.0/24 |
28 |
> |
29 |
> Or; |
30 |
> |
31 |
> Require not ip 114.119.128.0/255.255.255.0 |
32 |
> |
33 |
> |
34 |
> Look in Google for webpages providing geo-ip blocking advice, but China is |
35 |
> vast and so is their ability to buy/change more IP addresses per day. So this |
36 |
> is a moving beast. |
37 |
> |
38 |
> HTH. |
39 |
> |