Country IP Ranges
All CIDR blocks allocated to a specific country (IPv4 + IPv6).
| CIDR | Family |
|---|---|
| 45.85.104.0/24 | IPv4 |
| 45.85.184.0/22 | IPv4 |
| 45.85.208.0/22 | IPv4 |
| 45.85.241.0/24 | IPv4 |
| 45.85.244.0/23 | IPv4 |
| 45.85.246.0/24 | IPv4 |
| 45.86.32.0/22 | IPv4 |
| 45.86.212.0/22 | IPv4 |
| 45.87.32.0/22 | IPv4 |
| 45.88.4.0/24 | IPv4 |
| 45.88.96.0/24 | IPv4 |
| 45.89.8.0/22 | IPv4 |
| 45.90.0.0/22 | IPv4 |
| 45.90.43.0/24 | IPv4 |
| 45.90.164.0/22 | IPv4 |
| 45.90.184.0/22 | IPv4 |
| 45.92.240.0/22 | IPv4 |
| 45.93.160.0/22 | IPv4 |
| 45.93.228.0/22 | IPv4 |
| 45.94.154.0/23 | IPv4 |
| 45.95.218.0/24 | IPv4 |
| 45.128.38.0/24 | IPv4 |
| 45.128.46.0/23 | IPv4 |
| 45.128.108.0/22 | IPv4 |
| 45.128.216.0/22 | IPv4 |
| 45.129.0.0/24 | IPv4 |
| 45.129.130.0/24 | IPv4 |
| 45.129.196.0/24 | IPv4 |
| 45.129.252.0/22 | IPv4 |
| 45.130.28.0/22 | IPv4 |
| 45.130.34.0/23 | IPv4 |
| 45.130.64.0/24 | IPv4 |
| 45.130.208.0/22 | IPv4 |
| 45.131.32.0/22 | IPv4 |
| 45.131.44.0/24 | IPv4 |
| 45.131.132.0/24 | IPv4 |
| 45.131.183.0/24 | IPv4 |
| 45.131.204.0/22 | IPv4 |
| 45.132.48.0/24 | IPv4 |
| 45.132.56.0/24 | IPv4 |
| 45.132.59.0/24 | IPv4 |
| 45.132.76.0/22 | IPv4 |
| 45.132.112.0/24 | IPv4 |
| 45.132.144.0/22 | IPv4 |
| 45.134.212.0/24 | IPv4 |
| 45.135.216.0/22 | IPv4 |
| 45.137.55.0/24 | IPv4 |
| 45.137.224.0/22 | IPv4 |
| 45.138.16.0/24 | IPv4 |
| 45.138.152.0/22 | IPv4 |
| 45.139.1.0/24 | IPv4 |
| 45.139.92.0/22 | IPv4 |
| 45.141.0.0/22 | IPv4 |
| 45.141.32.0/22 | IPv4 |
| 45.141.215.0/24 | IPv4 |
| 45.142.160.0/22 | IPv4 |
| 45.143.72.0/22 | IPv4 |
| 45.144.48.0/22 | IPv4 |
| 45.144.120.0/22 | IPv4 |
| 45.145.30.152/29 | IPv4 |
| 45.145.30.160/29 | IPv4 |
| 45.145.208.0/22 | IPv4 |
| 45.145.217.0/24 | IPv4 |
| 45.146.44.0/22 | IPv4 |
| 45.146.52.0/24 | IPv4 |
| 45.148.24.0/24 | IPv4 |
| 45.148.40.0/22 | IPv4 |
| 45.148.119.0/24 | IPv4 |
| 45.149.0.0/24 | IPv4 |
| 45.149.48.0/22 | IPv4 |
| 45.149.63.0/24 | IPv4 |
| 45.149.208.0/22 | IPv4 |
| 45.150.92.0/24 | IPv4 |
| 45.150.94.0/24 | IPv4 |
| 45.150.151.0/24 | IPv4 |
| 45.151.124.0/22 | IPv4 |
| 45.151.216.0/22 | IPv4 |
| 45.153.236.0/24 | IPv4 |
| 45.154.81.8/29 | IPv4 |
| 45.154.136.0/24 | IPv4 |
| 45.154.144.0/22 | IPv4 |
| 45.154.156.0/24 | IPv4 |
| 45.154.220.0/22 | IPv4 |
| 45.155.0.0/22 | IPv4 |
| 45.155.62.0/23 | IPv4 |
| 45.155.148.0/22 | IPv4 |
| 45.156.149.0/24 | IPv4 |
| 45.156.236.0/22 | IPv4 |
| 45.157.12.0/22 | IPv4 |
| 45.157.113.0/24 | IPv4 |
| 45.158.4.0/22 | IPv4 |
| 45.158.72.0/22 | IPv4 |
| 45.158.108.0/22 | IPv4 |
| 45.159.80.0/22 | IPv4 |
| 45.159.98.0/24 | IPv4 |
| 45.159.164.0/22 | IPv4 |
| 45.159.236.0/22 | IPv4 |
| 45.192.12.0/24 | IPv4 |
| 45.194.44.0/24 | IPv4 |
| 45.194.66.0/24 | IPv4 |
Synced monthly.
About this tool
Every IPv4 and IPv6 block on the public internet is assigned a country code by its Regional Internet Registry. This tool lists every CIDR block currently assigned to a given country — search by ISO 3166-1 code (US, DE, UA) or by country name. The result is the complete allocation list with prefix, address count, and the responsible RIR.
Data comes from the RIR delegated-stats files (ARIN, RIPE, APNIC, LACNIC, AFRINIC) published nightly. Each entry shows registry, allocation date, and prefix length. Results are sorted by size by default so you can spot the biggest blocks first; sort by date to see the country's newest allocations.
When to use this tool
- Geo-blocking and geo-routing. Build firewall or CDN rules that allow or deny traffic from specific countries with a complete, authoritative list.
- Compliance and sanctions screening. Quickly produce the IP ranges associated with a sanctioned jurisdiction for legal-required filtering.
- Content licensing. Cross-reference your CDN config against the actual ranges in a licensed market.
- Network research. Compare how much address space each country was allocated by which registry, in which decade.
Country codes are not always destinations
An IP's registry country is the country of the legal entity that holds the allocation, not necessarily where the IP is used today. A US-headquartered cloud provider can announce its addresses from datacentres in 30 countries. For traffic-routing decisions, combine this tool's registry list with a real-time geolocation database — the two can disagree by 30%+ for large multinational hosting and CDN networks.Frequently asked questions
Why are some blocks listed under multiple countries?
Does the country code match where the IP is actually used?
How big is a typical country's allocation?
Can I export the list for use in iptables / pf / nftables?
ipset restore, AWS prefix lists, Cloudflare's IP-list rules, or any modern firewall syntax. For very large countries (US, CN, RU) expect tens of thousands of prefixes — consider summarising with an aggregator before pushing the full list to a router.