Domanda

This is the IP range I wish to block 61.19.0.0 - 61.19.255.255 I've google it and found a few information's, but how do you continue the restriction list?

    First block /18 starting at 0: 0-63 (64 class C addresses)
    then block /20 starting from there: 64-79 (16 class C addresses)
    then block /22 starting from there: 80-83 (4 class C addresses) 

what is the next value?

block /22 ? which block covers?

also if i want to ban from

61.0.0.0 - 61.255.255.255 how it's done?

thanks

È stato utile?

Soluzione

You can block it by using:

Order Deny,Allow
Deny from 61.19

or you can use CIDR notation:

Deny from 61.19.0.0/16

To achieve the secondary goal of blocking all of 61.0.0.0-61.255.255.255, you would modify the above addresses to either:

Deny from 61

or in CIDR format

Deny from 61.0.0.0/8
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top