http://www.nirsoft.net/countryip/
http://www.ip2location.com/free/visitor-blocker
https://ipinfo.io/countries
https://ip-range.com/
https://www.proxynova.com/ip-ranges
https://github.com/lord-alfred/ipranges
Хороший способ описан здесь.
https://github.com/netstalking-core/ultimate-netstalking-guide/blob/master/ip-range-guide.md