3 ms·
How did you choose where to get the IP addresses to block? I guess I'm mostly asking where this problem (i.e. "get all IPs for country X") is on the scale from
by praptak 1y ago
How did you choose where to get the IP addresses to block? I guess I'm mostly asking where this problem (i.e. "get all IPs for country X") is on the scale from "obviously solved" to "hard and you need to play catch up constantly".
I did a quick search and found a few databases but none of them looks like the obvious winner.
- bakugo 1y agoMaxmind's GeoIP database is the industry standard, I believe. You can download a free version of it. If your site is behind cloudflare, blocking/challenging by country is a built-in feature.
- tietjens 1y agoThe common cloud platforms allow you to do geo-blocking.
- spc476 1y agoI used CYMRU <https://www.team-cymru.com/ip-asn-mapping https://www.team-cymru.com/ip-asn-mapping> to do the mapping for the post.
- preinheimer 1y agoMaxMind is very common, IPInfo is also good. https://ipinfo.io/developers/database-download https://ipinfo.io/developers/database-download If you want to test your IP blocks, we have servers on both China and Russia, we can try to take a screenshot from there to see what we get (free, no signup) https://testlocal.ly/ https://testlocal.ly/