/ip/upnp
upnp
Universal Plug and Play (UPnP) service settings. The service answers SSDP discovery on UDP port 1900 and control connections on TCP port 2828 of each internal interface. Any change in this menu restarts the service:...
ip/upnp
Type: Settings Directory
通用即插即用(UPnP)服务设置。该服务在每个内部接口的 UDP 端口 1900 上应答 SSDP 发现,并在 TCP 端口 2828 上应答控制连接。此菜单中的任何更改都会重启服务:所有动态端口映射都会被移除,客户端必须重新请求它们。配置示例见 UPnP 指南页面。
| 参数 | 类型 | 描述 |
|---|---|---|
enabled | bool | 启用 UPnP 服务。默认值:no。 |
allow-disable-external-interface | bool | 允许内部接口上的 UPnP 客户端在没有任何身份验证的情况下使用 ForceTermination 操作禁用路由器的外部接口。UPnP 标准要求此操作才能工作;设置为 no 后,本地客户端将无法断开 Internet 连接。以这种方式禁用外部接口还会移除其动态端口映射。默认值:no。 |
show-dummy-rule | bool | 当客户端枚举端口映射时,将非活动的占位端口映射(端口 0、客户端 0.0.0.0、描述为 "Dummy inactive rule for windows to work")作为第一个条目报告。这是为那些在没有端口映射时行为异常的客户端应用程序提供的变通方法。该占位条目永远不会出现在 /ip/firewall/nat 中。默认值:yes。 |