In this repo, you can find all major IP addresses blocks allocated for Iran. Most of these IP blocks are assigned for Internet providers and hosting companies.
In order to extend the ranges or create a similar file for other countries, please see the iran_raw_data.csv
and builder.py
files.