Un excelente sitio llamado Country IP Blocks contiene el listado de IPs por bloques organizados por países. Posee los valores de checksum MD5 para conocer la ultima versión de la información.

Se hacer consultas seleccionando 2 valores, primero el formato en que queremos obtener el listado de IP y segundo el país a utilizar. Este sitio es muy útil para cuando se realice ruteo o control de tráfico internacional.

Un ejemplo de exportación de .htaccess allow para Argentina:

order deny,allow
# Country: ARGENTINA
# ISO Code: AR
# Total Networks: 552
# Total Subnets: 11,314,944
allow from 24.232.0.0/16
allow from 66.60.0.0/18
allow from 140.191.0.0/16
allow from 157.92.0.0/16
allow from 161.190.0.0/16
allow from 163.10.0.0/16
allow from 167.252.0.0/16
allow from 168.83.0.0/16
allow from 168.96.0.0/16
allow from 168.101.0.0/16
allow from 168.226.0.0/16
allow from 170.51.0.0/16
allow from 170.155.0.0/16
allow from 170.210.0.0/16
allow from 181.0.0.0/12
allow from 186.0.128.0/21
allow from 186.0.136.0/21
allow from 186.0.152.0/22
allow from 186.0.160.0/20
allow from 186.0.176.0/22
allow from 186.0.184.0/22
allow from 186.0.192.0/18
allow from 186.1.224.0/20
allow from 186.4.64.0/18
allow from 186.12.0.0/17
allow from 186.12.128.0/17
allow from 186.13.0.0/16
allow from 186.18.0.0/16
allow from 186.19.0.0/16
allow from 186.22.0.0/15
allow from 186.38.0.0/16
allow from 186.56.0.0/17
allow from 186.56.128.0/17
allow from 186.57.0.0/16
allow from 186.58.0.0/15
allow from 186.60.0.0/14
allow from 186.64.0.0/18
allow from 186.96.0.0/18
allow from 186.96.128.0/18
allow from 186.96.192.0/19
allow from 186.96.224.0/20
allow from 186.96.240.0/21
allow from 186.96.248.0/22
allow from 186.100.0.0/16
allow from 186.108.0.0/14
allow from 186.122.0.0/16
allow from 186.123.0.0/16
allow from 186.124.0.0/15
allow from 186.126.0.0/15
allow from 186.128.0.0/14
allow from 186.132.0.0/14
allow from 186.136.0.0/15
allow from 186.140.0.0/14
allow from 186.152.0.0/15
allow from 186.182.0.0/16
allow from 186.189.0.0/16
allow from 186.190.128.0/19
allow from 186.191.0.0/16
allow from 190.0.96.0/20
allow from 190.0.112.0/20
allow from 190.0.160.0/20
allow from 190.0.176.0/20
allow from 190.0.232.0/21
allow from 190.1.0.0/19
allow from 190.1.32.0/19
allow from 190.1.96.0/19
allow from 190.2.0.0/19
allow from 190.2.32.0/19
allow from 190.2.80.0/21
allow from 190.2.96.0/20
allow from 190.2.112.0/20
allow from 190.3.0.0/18
allow from 190.3.64.0/18
allow from 190.3.128.0/19
allow from 190.5.0.0/19
allow from 190.6.96.0/20
allow from 190.6.112.0/21
allow from 190.7.0.0/19
allow from 190.7.32.0/19
allow from 190.7.224.0/20
allow from 190.7.240.0/20
allow from 190.8.0.0/20
allow from 190.9.0.0/20
allow from 190.11.32.0/20
allow from 190.11.48.0/20
allow from 190.11.96.0/20
allow from 190.11.112.0/20
allow from 190.11.128.0/19
allow from 190.11.160.0/19
allow from 190.11.192.0/20
allow from 190.12.96.0/20
allow from 190.12.112.0/20
allow from 190.12.192.0/19
allow from 190.12.224.0/19
allow from 190.13.224.0/20
allow from 190.13.240.0/20
allow from 190.14.0.0/19
allow from 190.14.160.0/20
allow from 190.14.176.0/20
allow from 190.15.96.0/20
allow from 190.15.112.0/20
allow from 190.15.192.0/19
allow from 190.15.224.0/19
allow from 190.16.0.0/16
allow from 190.17.0.0/16
allow from 190.18.0.0/15
allow from 190.30.0.0/16
allow from 190.31.0.0/16
allow from 190.48.0.0/16
allow from 190.49.0.0/16
allow from 190.50.0.0/16
allow from 190.51.0.0/16
allow from 190.55.0.0/18
allow from 190.55.64.0/18
allow from 190.55.128.0/18
allow from 190.55.192.0/18
allow from 190.92.128.0/19
allow from 190.92.160.0/19
allow from 190.92.192.0/18
allow from 190.93.192.0/20
allow from 190.97.0.0/19
allow from 190.97.32.0/19
allow from 190.98.128.0/19
allow from 190.98.160.0/19
allow from 190.99.64.0/21
allow from 190.99.80.0/21
allow from 190.103.0.0/20
allow from 190.103.128.0/20
allow from 190.103.192.0/20
allow from 190.103.208.0/20
allow from 190.103.224.0/20
allow from 190.103.240.0/20
allow from 190.104.64.0/20
allow from 190.105.0.0/18
allow from 190.105.64.0/18
allow from 190.105.160.0/22
allow from 190.105.164.0/22
allow from 190.105.176.0/20
allow from 190.105.196.0/22
allow from 190.105.200.0/21
allow from 190.105.224.0/20
allow from 190.106.96.0/20
allow from 190.106.128.0/19
allow from 190.106.160.0/19
allow from 190.107.96.0/20
allow from 190.107.112.0/20
allow from 190.107.192.0/20
allow from 190.107.240.0/21
allow from 190.108.192.0/22
allow from 190.108.224.0/20
allow from 190.109.16.0/20
allow from 190.110.176.0/21
allow from 190.111.112.0/21
allow from 190.111.124.0/22
allow from 190.111.192.0/19
allow from 190.112.32.0/21
allow from 190.112.40.0/22
allow from 190.112.44.0/22
allow from 190.112.56.0/21
allow from 190.112.64.0/19
allow from 190.113.64.0/20
allow from 190.113.128.0/19
allow from 190.113.160.0/19
allow from 190.114.64.0/20
allow from 190.114.96.0/19
allow from 190.114.128.0/19
allow from 190.114.192.0/19
allow from 190.115.32.0/19
allow from 190.115.192.0/19
allow from 190.120.96.0/20
allow from 190.120.144.0/20
allow from 190.122.0.0/20
allow from 190.122.16.0/20
allow from 190.122.32.0/20
allow from 190.122.64.0/20
allow from 190.122.128.0/20
allow from 190.122.192.0/20
allow from 190.122.224.0/20
allow from 190.122.240.0/20
allow from 190.123.96.0/20
allow from 190.124.0.0/20
allow from 190.124.56.0/21
allow from 190.124.128.0/20
allow from 190.124.144.0/20
allow from 190.124.192.0/20
allow from 190.124.208.0/21
allow from 190.124.224.0/20
allow from 190.124.240.0/22
allow from 190.124.252.0/22
allow from 190.136.0.0/16
allow from 190.137.0.0/16
allow from 190.138.0.0/15
allow from 190.172.0.0/15
allow from 190.174.0.0/15
allow from 190.176.0.0/15
allow from 190.178.0.0/15
allow from 190.180.144.0/22
allow from 190.183.0.0/18
allow from 190.183.64.0/18
allow from 190.183.128.0/18
allow from 190.183.192.0/19
allow from 190.183.224.0/19
allow from 190.185.128.0/18
allow from 190.185.192.0/18
allow from 190.188.0.0/15
allow from 190.190.0.0/15
allow from 190.192.0.0/15
allow from 190.194.0.0/15
allow from 190.196.224.0/20
allow from 190.197.128.0/18
allow from 190.197.192.0/18
allow from 190.210.0.0/18
allow from 190.210.64.0/18
allow from 190.210.128.0/18
allow from 190.211.128.0/21
allow from 190.211.144.0/21
allow from 190.211.152.0/21
allow from 190.211.192.0/19
allow from 190.211.244.0/22
allow from 190.216.0.0/16
allow from 190.220.0.0/17
allow from 190.220.128.0/17
allow from 190.221.0.0/16
allow from 190.224.0.0/15
allow from 190.226.0.0/15
allow from 190.228.0.0/14
allow from 190.244.0.0/15
allow from 190.246.0.0/15
allow from 196.32.64.0/19
allow from 198.49.164.0/24
allow from 199.248.144.0/24
allow from 200.0.17.0/24
allow from 200.0.19.0/24
allow from 200.0.79.0/24
allow from 200.0.80.0/24
allow from 200.0.96.0/22
allow from 200.0.175.0/24
allow from 200.0.181.0/24
allow from 200.0.182.0/23
allow from 200.0.184.0/24
allow from 200.0.185.0/24
allow from 200.0.186.0/24
allow from 200.0.188.0/22
allow from 200.0.192.0/23
allow from 200.0.194.0/23
allow from 200.0.196.0/23
allow from 200.0.198.0/23
allow from 200.0.200.0/24
allow from 200.0.208.0/21
allow from 200.0.224.0/19
allow from 200.1.7.0/24
allow from 200.1.32.0/19
allow from 200.1.113.0/24
allow from 200.1.116.0/24
allow from 200.1.117.0/24
allow from 200.1.118.0/24
allow from 200.1.224.0/19
allow from 200.2.120.0/21
allow from 200.3.32.0/19
allow from 200.3.64.0/19
allow from 200.3.96.0/20
allow from 200.3.112.0/24
allow from 200.3.113.0/24
allow from 200.3.115.0/24
allow from 200.3.116.0/22
allow from 200.3.120.0/21
allow from 200.3.168.0/21
allow from 200.3.184.0/21
allow from 200.3.195.0/24
allow from 200.3.216.0/21
allow from 200.3.243.0/24
allow from 200.4.59.0/24
allow from 200.4.68.0/23
allow from 200.5.10.0/24
allow from 200.5.48.0/21
allow from 200.5.64.0/18
allow from 200.5.192.0/18
allow from 200.6.50.0/23
allow from 200.7.15.0/24
allow from 200.7.128.0/20
allow from 200.7.176.0/21
allow from 200.9.75.0/24
allow from 200.9.147.0/24
allow from 200.9.157.0/24
allow from 200.9.194.0/24
allow from 200.9.208.0/24
allow from 200.9.212.0/23
allow from 200.9.219.0/24
allow from 200.9.227.0/24
allow from 200.9.235.0/24
allow from 200.9.236.0/24
allow from 200.9.237.0/24
allow from 200.9.242.0/23
allow from 200.9.244.0/23
allow from 200.9.246.0/24
allow from 200.9.253.0/24
allow from 200.9.254.0/24
allow from 200.10.96.0/19
allow from 200.10.128.0/24
allow from 200.10.129.0/24
allow from 200.10.139.0/24
allow from 200.10.140.0/24
allow from 200.10.161.0/24
allow from 200.10.186.0/24
allow from 200.10.196.0/24
allow from 200.10.199.0/24
allow from 200.10.201.0/24
allow from 200.10.202.0/24
allow from 200.10.204.0/24
allow from 200.10.206.0/24
allow from 200.10.207.0/24
allow from 200.10.219.0/24
allow from 200.10.235.0/24
allow from 200.11.29.0/24
allow from 200.11.33.0/24
allow from 200.11.112.0/21
allow from 200.12.133.0/24
allow from 200.12.134.0/23
allow from 200.12.136.0/23
allow from 200.12.138.0/24
allow from 200.12.154.0/24
allow from 200.12.192.0/24
allow from 200.12.200.0/21
allow from 200.12.216.0/21
allow from 200.13.41.0/24
allow from 200.13.42.0/23
allow from 200.13.44.0/22
allow from 200.13.83.0/24
allow from 200.13.84.0/22
allow from 200.14.37.0/24
allow from 200.14.38.0/24
allow from 200.14.39.0/24
allow from 200.14.74.0/24
allow from 200.14.75.0/24
allow from 200.16.16.0/20
allow from 200.16.64.0/24
allow from 200.16.65.0/24
allow from 200.16.72.0/22
allow from 200.16.76.0/23
allow from 200.16.78.0/24
allow from 200.16.80.0/22
allow from 200.16.84.0/24
allow from 200.16.85.0/24
allow from 200.16.86.0/24
allow from 200.16.87.0/24
allow from 200.16.96.0/20
allow from 200.16.116.0/24
allow from 200.16.120.0/21
allow from 200.16.128.0/17
allow from 200.24.240.0/21
allow from 200.24.248.0/21
allow from 200.26.0.0/17
allow from 200.26.184.0/21
allow from 200.29.248.0/21
allow from 200.31.0.0/19
allow from 200.31.224.0/20
allow from 200.32.0.0/19
allow from 200.32.32.0/19
allow from 200.32.64.0/19
allow from 200.32.96.0/19
allow from 200.32.128.0/19
allow from 200.41.0.0/19
allow from 200.41.32.0/19
allow from 200.41.64.0/18
allow from 200.41.128.0/17
allow from 200.42.0.0/17
allow from 200.42.128.0/19
allow from 200.43.0.0/16
allow from 200.45.0.0/16
allow from 200.47.0.0/17
allow from 200.47.128.0/18
allow from 200.47.192.0/19
allow from 200.47.224.0/19
allow from 200.49.0.0/20
allow from 200.49.24.0/21
allow from 200.49.48.0/20
allow from 200.49.64.0/19
allow from 200.49.96.0/20
allow from 200.49.112.0/21
allow from 200.49.120.0/21
allow from 200.49.128.0/19
allow from 200.49.192.0/19
allow from 200.49.224.0/20
allow from 200.49.248.0/21
allow from 200.50.160.0/20
allow from 200.50.176.0/20
allow from 200.50.240.0/21
allow from 200.50.248.0/21
allow from 200.51.0.0/16
allow from 200.55.0.0/18
allow from 200.55.64.0/19
allow from 200.55.96.0/19
allow from 200.55.240.0/21
allow from 200.58.96.0/20
allow from 200.58.112.0/20
allow from 200.59.0.0/20
allow from 200.59.32.0/19
allow from 200.59.64.0/19
allow from 200.59.96.0/20
allow from 200.59.112.0/20
allow from 200.59.128.0/19
allow from 200.59.160.0/20
allow from 200.59.176.0/21
allow from 200.59.192.0/20
allow from 200.59.224.0/20
allow from 200.59.240.0/20
allow from 200.61.0.0/20
allow from 200.61.16.0/20
allow from 200.61.32.0/19
allow from 200.61.64.0/18
allow from 200.61.160.0/19
allow from 200.61.192.0/19
allow from 200.63.0.0/19
allow from 200.63.32.0/21
allow from 200.63.48.0/21
allow from 200.63.64.0/19
allow from 200.63.112.0/21
allow from 200.63.120.0/21
allow from 200.63.128.0/18
allow from 200.68.64.0/20
allow from 200.68.80.0/20
allow from 200.68.96.0/20
allow from 200.68.112.0/20
allow from 200.68.192.0/19
allow from 200.68.224.0/20
allow from 200.68.240.0/20
allow from 200.69.0.0/19
allow from 200.69.32.0/19
allow from 200.69.64.0/19
allow from 200.69.128.0/19
allow from 200.69.192.0/18
allow from 200.70.0.0/16
allow from 200.71.88.0/21
allow from 200.71.224.0/20
allow from 200.73.128.0/18
allow from 200.75.176.0/21
allow from 200.80.64.0/20
allow from 200.80.80.0/20
allow from 200.80.128.0/19
allow from 200.80.160.0/20
allow from 200.80.176.0/20
allow from 200.80.192.0/19
allow from 200.80.224.0/20
allow from 200.80.240.0/20
allow from 200.81.0.0/19
allow from 200.81.32.0/20
allow from 200.81.64.0/19
allow from 200.81.96.0/20
allow from 200.81.112.0/21
allow from 200.81.120.0/21
allow from 200.81.128.0/20
allow from 200.81.152.0/21
allow from 200.81.160.0/20
allow from 200.81.176.0/20
allow from 200.81.192.0/20
allow from 200.81.208.0/20
allow from 200.81.224.0/19
allow from 200.82.0.0/18
allow from 200.82.64.0/18
allow from 200.85.88.0/21
allow from 200.85.96.0/20
allow from 200.85.112.0/20
allow from 200.85.152.0/21
allow from 200.85.176.0/21
allow from 200.85.184.0/21
allow from 200.89.128.0/19
allow from 200.89.160.0/19
allow from 200.91.32.0/21
allow from 200.91.48.0/21
allow from 200.91.56.0/21
allow from 200.105.0.0/18
allow from 200.105.64.0/19
allow from 200.105.104.0/21
allow from 200.105.120.0/21
allow from 200.107.81.0/24
allow from 200.107.88.0/21
allow from 200.107.112.0/21
allow from 200.107.200.0/21
allow from 200.107.224.0/21
allow from 200.108.64.0/20
allow from 200.108.80.0/20
allow from 200.108.112.0/21
allow from 200.110.160.0/21
allow from 200.110.176.0/21
allow from 200.110.184.0/21
allow from 200.110.192.0/21
allow from 200.110.208.0/21
allow from 200.110.216.0/21
allow from 200.110.224.0/21
allow from 200.112.128.0/19
allow from 200.112.160.0/19
allow from 200.114.80.0/21
allow from 200.114.96.0/21
allow from 200.114.104.0/21
allow from 200.114.120.0/21
allow from 200.114.128.0/19
allow from 200.114.160.0/19
allow from 200.114.192.0/19
allow from 200.114.224.0/19
allow from 200.115.0.0/20
allow from 200.115.192.0/20
allow from 200.115.208.0/20
allow from 200.115.224.0/20
allow from 200.115.240.0/20
allow from 200.117.0.0/18
allow from 200.117.64.0/18
allow from 200.117.128.0/17
allow from 200.122.0.0/19
allow from 200.122.32.0/19
allow from 200.122.64.0/19
allow from 200.122.96.0/19
allow from 200.123.64.0/19
allow from 200.123.96.0/19
allow from 200.123.128.0/20
allow from 200.123.144.0/20
allow from 200.123.160.0/20
allow from 200.123.176.0/20
allow from 200.123.192.0/20
allow from 200.125.64.0/19
allow from 200.125.96.0/19
allow from 200.126.128.0/19
allow from 200.126.160.0/19
allow from 200.126.192.0/18
allow from 200.127.0.0/17
allow from 200.127.128.0/17
allow from 201.212.0.0/17
allow from 201.212.128.0/17
allow from 201.213.0.0/16
allow from 201.216.192.0/19
allow from 201.216.224.0/19
allow from 201.219.64.0/19
allow from 201.220.160.0/20
allow from 201.220.176.0/20
allow from 201.221.96.0/20
allow from 201.231.0.0/17
allow from 201.231.128.0/17
allow from 201.234.0.0/17
allow from 201.234.128.0/17
allow from 201.235.0.0/17
allow from 201.235.128.0/17
allow from 201.250.0.0/17
allow from 201.250.128.0/17
allow from 201.251.0.0/17
allow from 201.251.128.0/17
allow from 201.252.0.0/16
allow from 201.253.0.0/16
allow from 201.254.0.0/16
allow from 201.255.0.0/17
allow from 201.255.128.0/17
allow from 209.13.0.0/16
allow from 209.99.224.0/20
allow from 216.244.192.0/18
#
deny from all