Geo-blocking access from a country - IPs dynamic changing

Geo-Blocking could be done different ways:

  1. Using blacklisting, this isn’t sustainable since the IP ranges by countries need to be updated often. I found a couple of pages that give you a full list of IPs from the different countries in CDIR format:
    Search for all IP ranges of any country. and you can see the length of the APIs there

  2. Using a custom plugin that will do the blocking checking a database that would update regularly like maxmind.

  3. Using a layer on top of Tyk like Cloudflare.

What do you think?

1 Like