# 如何设置禁用特定区域IP的访问，或者有相应的插件吗？

**URL:** https://meta.discourse.org/t/how-do-i-set-up-to-disable-access-from-a-certain-regional-ip-or-is-there-a-plugin-for-that/288180
**Category:** Support
**Created:** [2023 年12 月 11 日 02:14 UTC](https://meta.discourse.org/t/how-do-i-set-up-to-disable-access-from-a-certain-regional-ip-or-is-there-a-plugin-for-that/288180 "2023-12-11T02:14:07Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![wenqin](https://avatars.discourse-cdn.com/v4/letter/w/85f322/32.png) [@wenqin](https://meta.discourse.org/u/wenqin)
#### Post date: [2023 年12 月 11 日 02:14 UTC](https://meta.discourse.org/t/how-do-i-set-up-to-disable-access-from-a-certain-regional-ip-or-is-there-a-plugin-for-that/288180/1 "2023-12-11T02:14:07Z")

</div>

我的论坛主要面向日本客户。  
因此，我想禁用来自中国和韩国IP的访问。  
有这样的插件吗？  
我尝试查找设置，但似乎没有可以直接设置的功能。

---

<div class="post-metadata">

### Author: ![jericson](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jericson/32/116215_2.png) [@jericson](https://meta.discourse.org/u/jericson)
#### Post date: [2023 年12 月 11 日 03:26 UTC](https://meta.discourse.org/t/how-do-i-set-up-to-disable-access-from-a-certain-regional-ip-or-is-there-a-plugin-for-that/288180/2 "2023-12-11T03:26:21Z")

</div>

> [@wenqin](#):
>
> 我的论坛主要面向日本客户。  
> 因此，我希望禁用来自中国和韩国IP的访问。

这似乎是个坏主意，因为据我所知，日本客户可以自由前往韩国和中国。还有VPN等。

话虽如此，你或许可以查看“设置 | 日志 | 屏蔽的IP”。

---

<div class="post-metadata">

### Author: ![wenqin](https://avatars.discourse-cdn.com/v4/letter/w/85f322/32.png) [@wenqin](https://meta.discourse.org/u/wenqin)
#### Post date: [2023 年12 月 11 日 03:56 UTC](https://meta.discourse.org/t/how-do-i-set-up-to-disable-access-from-a-certain-regional-ip-or-is-there-a-plugin-for-that/288180/3 "2023-12-11T03:56:37Z")

</div>

非常感谢您的回复。  
我找到了设置所在的位置，并且似乎设置没有达到因此禁用 IP 访问的效果。我会再检查一下。  
我将屏蔽中国和韩国的 IP。因为我想避免不必要的麻烦。因为中国、韩国和日本有相同的肤色和相似的美学。我不想吸引联系不多的客户。

由 [www.DeepL.com/Translator（免费版）翻译](http://www.DeepL.com/Translator%EF%BC%88%E5%85%8D%E8%B4%B9%E7%89%88%EF%BC%89%E7%BF%BB%E8%AF%91)

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [2023 年12 月 11 日 03:57 UTC](https://meta.discourse.org/t/how-do-i-set-up-to-disable-access-from-a-certain-regional-ip-or-is-there-a-plugin-for-that/288180/4 "2023-12-11T03:57:04Z")

</div>

您可以尝试 [Geo Blocking plugin](https://meta.discourse.org/t/geo-blocking-plugin/227824)

---

<div class="post-metadata">

### Author: ![wenqin](https://avatars.discourse-cdn.com/v4/letter/w/85f322/32.png) [@wenqin](https://meta.discourse.org/u/wenqin)
#### Post date: [2023 年12 月 12 日 06:47 UTC](https://meta.discourse.org/t/how-do-i-set-up-to-disable-access-from-a-certain-regional-ip-or-is-there-a-plugin-for-that/288180/5 "2023-12-12T06:47:40Z")

</div>

![image](https://global.discourse-cdn.com/meta/original/4X/e/5/8/e5838451691f7f674fc60d13e5209d052045005b.png)  
我已经安装了该插件，但我注意到它仍然可以访问。设置方面是不是有什么问题？
