# Geo Blocking plugin

**URL:** https://meta.discourse.org/t/geo-blocking-plugin/227824
**Category:** Plugin
**Created:** [May 23, 2022, 9:43am UTC](https://meta.discourse.org/t/geo-blocking-plugin/227824 "2022-05-23T09:43:22Z")
**Posts on this page:** 1
**Showing post:** 41

<div class="post-metadata">

### Author: ![singi2016cn](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/singi2016cn/32/532755_2.png) [@singi2016cn](https://meta.discourse.org/u/singi2016cn)
#### Post date: [May 9, 2026, 2:25am UTC](https://meta.discourse.org/t/geo-blocking-plugin/227824/41 "2026-05-09T02:25:45Z")

</div>

Hello everyone, I have a new requirement.  
I now want to allow access only from specific countries while blocking access from the vast majority of others. Would this require adding a configuration similar to geo\_blocking\_country\_region\_allowlist? When this configuration is present, the system should check whether the user is within the specified range; if so, grant access, otherwise block.  
When both geo\_blocking\_country\_region\_blocklist and geo\_blocking\_country\_region\_allowlist are configured, only geo\_blocking\_country\_region\_allowlist should be evaluated. If it is not configured, then geo\_blocking\_country\_region\_blocklist should be evaluated.

---

_[View the full topic](https://meta.discourse.org/t/geo-blocking-plugin/227824)._
