> 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、国をブロックするためのファイアウォール設定インターフェース。](/files/56e66f7319de0909d0a8f4d1b392be87c882b656)

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

![特定の国からのIPを選択してブロックするためのインターフェース。](/files/86b2d646cae9219de95f1a296db9539661444b58)

{% 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.
