# 开启UPnP

## 1. 判断设备连接到是路由器还是光猫 <a href="#id-1-pan-duan-she-bei-lian-jie-dao-shi-lu-you-qi-hai-shi-guang-mao" id="id-1-pan-duan-she-bei-lian-jie-dao-shi-lu-you-qi-hai-shi-guang-mao"></a>

## 2. 如果是光猫的，则开启光猫的 UPnP 即可 <a href="#id-2-ru-guo-shi-guang-mao-de-ze-kai-qi-guang-mao-de-upnp-ji-ke" id="id-2-ru-guo-shi-guang-mao-de-ze-kai-qi-guang-mao-de-upnp-ji-ke"></a>

### 2.1 用连接此网络的设备，浏览器输入终端配置地址打开，终端配置地址在光猫背面 <a href="#id-21-yong-lian-jie-ci-wang-luo-de-she-bei-liu-lan-qi-shu-ru-zhong-duan-pei-zhi-di-zhi-da-kai-zhong-dua" id="id-21-yong-lian-jie-ci-wang-luo-de-she-bei-liu-lan-qi-shu-ru-zhong-duan-pei-zhi-di-zhi-da-kai-zhong-dua"></a>

<figure><img src="https://3822791205-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrZQtAKIIsvAQP0E9RumD%2Fuploads%2FDb3gatxwlp5P33zFmdl6%2Fimage.png?alt=media&#x26;token=0916827c-69aa-49a4-858d-b69b34f66a22" alt=""><figcaption></figcaption></figure>

### 2.2 采用超级账户进入 <a href="#id-22-cai-yong-chao-ji-zhang-hu-jin-ru" id="id-22-cai-yong-chao-ji-zhang-hu-jin-ru"></a>

输入超级账户密码登录光猫设置页，注意，此处输入的为超级密码，不是光猫后面的账号密码，下面以中国移动为例，其他运营商设置基本一致。

<figure><img src="https://3822791205-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrZQtAKIIsvAQP0E9RumD%2Fuploads%2FEOYJerUg3qC2uxyoFy0k%2Fimage.png?alt=media&#x26;token=577c83e6-265b-4e60-8e0f-9c2cc5b37531" alt=""><figcaption></figcaption></figure>

每个运营商和每个地方都不同，下面列出运营商通用账号

| 运营商 | 账号           | 密码        |
| --- | ------------ | --------- |
| 电信  | telecomadmin | nE7jA%5m  |
| 联通  | CUAdmin      | CUAdmin   |
| 移动  | CMCCAdmin    | aDm8H%MdA |

如果通用账号无法登录，需要您自行百度查询或联系您的宽带运营商，直接拨打宽带运营商客服电话查询即可（PS：很简单，两分钟即可拿到）。

### 2.3 选择应用里的 UPnP 配置，勾选 UPnP 后保存即可

<figure><img src="https://3822791205-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrZQtAKIIsvAQP0E9RumD%2Fuploads%2F2t6ilkfwYgM62QCJz0Zn%2Fimage.png?alt=media&#x26;token=8e957c64-686b-42d4-b211-4b2f0472a6ce" alt=""><figcaption></figcaption></figure>

## 3. 如果是路由器的，则需要开启路由器的 UPnP[​](https://help.niulinkcloud.com/issue/upnp.html#_3-%E5%A6%82%E6%9E%9C%E6%98%AF%E8%B7%AF%E7%94%B1%E5%99%A8%E7%9A%84-%E5%88%99%E9%9C%80%E8%A6%81%E5%BC%80%E5%90%AF%E8%B7%AF%E7%94%B1%E5%99%A8%E7%9A%84-upnp)

### 3.1 登录路由器开启 UPnP 并记录 WAN 口的 IP[​](https://help.niulinkcloud.com/issue/upnp.html#_3-1-%E7%99%BB%E5%BD%95%E8%B7%AF%E7%94%B1%E5%99%A8%E5%BC%80%E5%90%AF-upnp-%E5%B9%B6%E8%AE%B0%E5%BD%95-wan-%E5%8F%A3%E7%9A%84-ip)

设备连接后，浏览器输入管理 IP或管理域名登录路由器。管理 IP 或管理域名以及账号密码可在路由器背面查看：

<figure><img src="https://3822791205-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrZQtAKIIsvAQP0E9RumD%2Fuploads%2FHxMqnodQNiziOnBg6fht%2Fimage.png?alt=media&#x26;token=063d795b-3991-4041-bdaa-929fa708202f" alt=""><figcaption></figcaption></figure>

#### **3.1.1 登录路由器，开启UPnP**[**​**](https://help.niulinkcloud.com/issue/upnp.html#_3-1-1-%E7%99%BB%E5%BD%95%E8%B7%AF%E7%94%B1%E5%99%A8-%E5%BC%80%E5%90%AFupnp)

不同的路由器页面稍有不同，但整体流程一致，以下以 FAST 325R 为例：

登录后，点击高级设置 -> UPnP设置 -> 状态改为ON。

<figure><img src="https://3822791205-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrZQtAKIIsvAQP0E9RumD%2Fuploads%2FGwMLIzG99RjepG8Vqjsf%2Fimage.png?alt=media&#x26;token=45976f87-e591-4452-ad67-f76ab48076f7" alt=""><figcaption></figcaption></figure>

**3.1.2 记录路由器 IP**[**​**](https://help.niulinkcloud.com/issue/upnp.html#_3-1-2-%E8%AE%B0%E5%BD%95%E8%B7%AF%E7%94%B1%E5%99%A8-ip)

打开常用设置里的上网设置，记录路由器WAN口IP，用于后续问题排查。

如果您是光猫拨号，路由器连接在光猫下，那么还需要去开启光猫到路由器的DMZ设置，参考文档：[开启DMZ>>>](https://titannet.gitbook.io/titan-network-en/titan-network-zhong-wen/4-ce-jia-li-le-ce-shi-wang/wang-luo-pei-zhi-you-hua/zhong-guo-qu-yu/kai-qi-dmz)


---

# Agent Instructions: 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:

```
GET https://titannet.gitbook.io/titan-network-en/titan-network-zhong-wen/titan-fil/wang-luo-pei-zhi-you-hua/zhong-guo-qu-yu/kai-qi-upnp.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
