Geo Blocking plugin

Yes it works if you follow the guide Using Discourse with Cloudflare: Best Practices

This is incorrect. Cloudflare transmits the country code in that header, not the IP address, and only if you’ve enabled it. The plugin does not use that though, it uses the internal Discourse Maxmind database.