> For the complete documentation index, see [llms.txt](https://docs.lan.kokomocloud.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.lan.kokomocloud.com/appendix/firewall-rule.md).

# ファイアウォールルール

lan.kokomocloud.com

以下は、デバイスがKOKOMO Cloudにアクセスするために必要なファイアウォールルールです。

{% hint style="info" %}
プロキシやファイアウォール装置で TLS/SSL インスペクションを有効にしている場合、一部の機能が正常に動作しないことがあります。本ページに記載しているデバイスと KOKOMO Cloud 間の通信に必要な通信先 IP アドレス、FQDN、およびポートは、プロキシの TLS/SSL インスペクションのバイパスリストにも登録してください。
{% endhint %}

<table data-full-width="true"><thead><tr><th width="132" valign="top">クラウドデバイス</th><th valign="top">クラウドサービス</th><th width="138" valign="top">送信元IPアドレス</th><th width="128" valign="top">宛先IPアドレス</th><th valign="top">FQDN</th><th width="107" valign="top">ポート</th><th width="163" valign="top">プロトコル (TCP / UDP / ICMP..)</th><th valign="top">Direction (Inbound / outbound / bi-direction)</th></tr></thead><tbody><tr><td valign="top">AP, SW, GW</td><td valign="top">定期クラウド通信、ファームウェアアップグレード、リアルタイムメーター</td><td valign="top">Your Networks</td><td valign="top">any</td><td valign="top">swallow-jp.production.kokomocloud.com<br>services-jp.production.kokomocloud.com<br>dolphin-jp-*.production.kokomocloud.com<br>device-jp.production.kokomocloud.com<br>chicken-jp.production.kokomocloud.com<br>chicken-eco-jp.production.kokomocloud.com</td><td valign="top">443</td><td valign="top">TCP</td><td valign="top">Outbound</td></tr><tr><td valign="top">AP,SW, GW</td><td valign="top">持続的クラウド通信</td><td valign="top">Your Networks</td><td valign="top">3.114.71.151</td><td valign="top">raccoon-jp.production.kokomocloud.com</td><td valign="top">80</td><td valign="top">TCP</td><td valign="top">Outbound</td></tr><tr><td valign="top">AP</td><td valign="top">クラウドRADIUS</td><td valign="top">Your Networks</td><td valign="top">52.197.245.49</td><td valign="top">NA</td><td valign="top">1812/1813</td><td valign="top">TCP &#x26; UDP</td><td valign="top">Outbound</td></tr><tr><td valign="top">AP, SW, GW</td><td valign="top">NTP 時刻同期</td><td valign="top">Your Networks</td><td valign="top">any</td><td valign="top">NA</td><td valign="top">123</td><td valign="top">UDP</td><td valign="top">Outbound</td></tr><tr><td valign="top">AP, SW, GW</td><td valign="top">リモートトンネル</td><td valign="top">Your Networks</td><td valign="top">35.73.31.229</td><td valign="top">sshserver-jp-0.production.kokomocloud.com</td><td valign="top">22</td><td valign="top">TCP</td><td valign="top">Outbound</td></tr><tr><td valign="top">AP, GW<br>※</td><td valign="top">スプラッシュページ</td><td valign="top">Your Networks</td><td valign="top">any</td><td valign="top">s3.ap-northeast-1.amazonaws.com<br>falcon-jp.production.kokomocloud.com</td><td valign="top">80/443</td><td valign="top">TCP</td><td valign="top">Outbound</td></tr></tbody></table>

{% hint style="warning" %}
※キャプティブポータル利用時は、キャプティブポータル提供機器だけでなく、接続端末からも本FQDNへの疎通性が確保されている必要があります。
{% endhint %}

以下は、KOKOMO Cloud APIにアクセスするために必要なファイアウォールルールです。

<table data-full-width="true"><thead><tr><th width="332" valign="top">Source Domain</th><th width="332" valign="top">Destination Domain</th><th width="79" valign="top">ポート</th><th valign="top">目的</th></tr></thead><tbody><tr><td valign="top">Your Server</td><td valign="top">falcon-jp.production.kokomocloud.com</td><td valign="top">443</td><td valign="top">KOKOMO Cloudからデータを取得するためのAPIリクエストの送信</td></tr><tr><td valign="top">falcon-jp.production.kokomocloud.com</td><td valign="top">Your Server</td><td valign="top">443</td><td valign="top">KOKOMO Cloud APIからのレスポンスの受信</td></tr></tbody></table>


---

# 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://docs.lan.kokomocloud.com/appendix/firewall-rule.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.
