Como bloquear uma faixa de IPs?
Para bloquear uma faixa de IPs, você deve inserir em seu firewall ou no iptables, o IP inicial seguido do CIDR conforme na tabela:
iptables -A INPUT -s 82.0.0.0/24 -j DROP
CIDR Início Final Total de IPs 69.208.0.0/0 0.0.0.0 255.255.255.255 4,294,967,296 69.208.0.0/1 0.0.0.0 127.255.255.255 2,147,483,648 69.208.0.0/4 65.0.0.0 79.255.255.255 268,435,456 69.208.0.0/8 69.0.0.0 69.255.255.255 67,108,864 69.208.0.0/11 69.208.0.0 69.238.255.255 2,197,152 69.208.0.0/12 69.208.0.0 69.223.255.255 1,048,576 69.208.0.0/13 69.208.0.0 69.215.255.255 524,288 69.208.0.0/14 69.208.0.0 69.211.255.255 262,144 69.208.0.0/15 69.208.0.0 69.209.255.255 131,072 69.208.0.0/16 69.208.0.0 69.208.255.255 65,536 69.208.0.0/17 69.208.0.0 69.208.127.255 32,768 69.208.0.0/18 69.208.0.0 69.208.63.255 16,384 69.208.0.0/19 69.208.0.0 69.208.31.255 8,192 69.208.0.0/20 69.208.0.0 69.208.15.255 4,096 69.208.0.0/21 69.208.0.0 69.208.7.255 2,048 69.208.0.0/22 69.208.0.0 69.208.3.255 1,024 69.208.0.0/23 69.208.0.0 69.208.1.255 512 69.208.0.0/24 69.208.0.0 69.208.0.255 256 69.208.0.0/25 69.208.0.0 69.208.0.127 128 69.208.0.0/26 69.208.0.0 69.208.0.63 64 69.208.0.0/27 69.208.0.0 69.208.0.31 32 69.208.0.0/28 69.208.0.0 69.208.0.15 16 69.208.0.0/29 69.208.0.0 69.208.0.7 8 69.208.0.0/30 69.208.0.0 69.208.0.3 4 69.208.0.0/31 69.208.0.0 69.208.0.1 2 69.208.0.0/32 69.208.0.0 69.208.0.0 1
Esta resposta lhe foi útil?
Powered by WHMCompleteSolution