> 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
