If you were to do it manually, by obtaining IP ranges for different countries and keying them all in, this would have invariably been a mammoth task! Just to give an example: If I wanted to block China, I would need to enter 600 IP address ranges. Similarly, if I wanted to block Israel, I would need to enter more than 860 IP address ranges!
Now, it is not in my interest to start a geopolitical or censorship debate here. I agree the internet should remain open and that’s the way it was meant to be. However, we all acknowledge that there may be enterprise requirements from corporate and/or government customers which would actually need such policies. So here goes:
A list of ISA Server computer sets classified by country in XML format, compiled by Thor is available for download here. The list includes 234 countries. Good luck!