> For the complete documentation index, see [llms.txt](https://help.aikido.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.aikido.dev/docs/docs-ja/zen-firewall/zen-features/blocking-traffic-by-country-with-zen-firewall.md).

# Zen Firewall で国別にトラフィックをブロックする

AikidoのZen Firewallは、地理的位置に基づいてアプリケーションへのアクセスを制御するのに役立ちます。この機能は、どの国がアプリケーションにアクセスできるかを細かく制御できるようにし、セキュリティ対策を強化します。

> **重要**: 国別ブロックはグローバルな「[ブロック/検出モード](/docs/docs-ja/zen-firewall/zen-features/blocking-vs-detection-mode-in-zen-firewall.md)」設定とは独立しています。国別ブロックを有効にすると、Zen が検出モードの場合でも常に適用されます。

## ユースケース <a href="#use-cases" id="use-cases"></a>

* 🛡️ **規制への準拠**: コンプライアンス要件に基づいて国からのアクセスを制限する
* 💰 **不正の削減**: 悪意のある活動で知られる高リスク地域からのトラフィックをブロックする
* 🔒 **データ保護**: データ主権のために特定の地理的地域へのアクセスを制限する
* ⚡ **リソースの集中**: 対象市場のみに提供することでパフォーマンスを最適化する

## 国別トラフィックを監視またはブロックする方法 <a href="#how-to-block-country-traffic" id="how-to-block-country-traffic"></a>

特定のアプリを選択し、 **ファイアウォール** タブに進みます。次の「**国を管理**」の横にある「**国別にトラフィックをブロック**」をクリックして、国別ブロックを設定します。

![攻撃、ボット、Torトラフィック、脅威IP、および国をブロックするためのファイアウォール設定インターフェース。](https://715870456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKbzcQGrx7UtrG0nPZZ7%2Fuploads%2Fgit-blob-1e1837b35b09fd7b13286f246176b074acae7cce%2FScreenshot%202025-10-30%20at%2012.03.07.png?alt=media)

以下のいずれかを **許可する国を選択する**、または **ブロックする国を選択する** ブロックモードを使用します。次に、 **国** ドロップダウンから有効にするリストを選択し、「**変更を保存**".

![特定の国からIPを選択してブロックするためのインターフェース。](https://715870456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKbzcQGrx7UtrG0nPZZ7%2Fuploads%2Fgit-blob-40c26d005ad7f3a177486065490f2c778293da38%2FScreenshot%202025-08-13%20at%2017.26.42.png?alt=media)

{% hint style="info" %}
国別ブロックは即時ではありません。ブロックが有効になるまで最大1分かかる場合があります。
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://help.aikido.dev/docs/docs-ja/zen-firewall/zen-features/blocking-traffic-by-country-with-zen-firewall.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
