/ip/cloud/back-to-home-file/settings
settings
State of the File Share service: its DNS name, certificate and connection to the relay servers. The service starts with the first share in /ip/cloud/back-to-home-file and stops when the last one is removed. For an...
ip/cloud/back-to-home-file/settings
Syscap: cloud-vpn Type: Settings Directory
文件共享服务的状态:其 DNS 名称、证书以及与中继服务器的连接。服务会在 /ip/cloud/back-to-home-file 中第一个共享出现时启动,并在移除最后一个共享时停止。说明请参阅 文件共享的工作原理。
| 参数 | 类型 | 描述 |
|---|---|---|
prefer-relay-code | string | 要优先选择的中继区域代码,来自 relay-regions,例如 EUR1。为空时,路由器根据往返时间(relay-rtts)选择中继。默认值:空。 |
| 只读参数 | 类型 | 描述 |
|---|---|---|
enabled | bool | 当至少存在一个共享且服务运行时为 yes。当您移除最后一个共享时,它会变为 no。 |
dns-name | string | Name the shares are served under: <serial>.routingthecloud.net, with the serial number in lower case. When the router uses the relay, the name resolves to the relay. |
status | string | 服务状态,例如: - getting cert status: requesting SSL certificate、requesting validation、requesting authorization、requesting order finalization - 路由器正在获取 Let's Encrypt 证书。 - running - 服务正在运行。 |
relay-rtts | multi { code: string } | 通过 IPv4 和 IPv6 到每个中继区域的往返时间,例如 EUR1 (ip4: 1.103ms, ip6: timeout)。 |
relay-ipv4-status | string | Connection to the relay over IPv4, for example connected (region: EUR1 ip: <relay address> rtt: 1.103ms reachable: unknown ). |
relay-ipv6-status | string | 通过 IPv6 与中继的连接,例如路由器测量往返时间时显示 testing rtt。 |
relay-regions | multi { code: string } | 路由器可以使用的中继区域,例如 EUR1 和 USA1。在 prefer-relay-code 中使用此列表中的代码。 |
relay-addresses | multi { address: ipAddr } | 中继服务器的 IPv4 地址,每个区域一个。 |
relay-addresses-ipv6 | multi { address: ip6Addr } | 中继服务器的 IPv6 地址,每个区域一个。 |
certificate | enum (none) | Certificate the shares use, fileshare-<serial>.routingthecloud.net in /certificate. none after remove-certificate. |