diff --git a/README.md b/README.md index d1808f8..777a16f 100644 --- a/README.md +++ b/README.md @@ -73,9 +73,9 @@ listen = "0.0.0.0:9527" server = "127.0.0.1:9527" [[tunnels]] -name = "mysql" +name = "ssh" protocol = "tcp" -service = "127.0.0.1:3306" +service = "127.0.0.1:22" remotePort = 9000 ``` diff --git a/README_ZH.md b/README_ZH.md index 2f3db39..a5bee54 100644 --- a/README_ZH.md +++ b/README_ZH.md @@ -73,9 +73,9 @@ listen = "0.0.0.0:9527" server = "127.0.0.1:9527" [[tunnels]] -name = "mysql" +name = "ssh" protocol = "tcp" -service = "127.0.0.1:3306" +service = "127.0.0.1:22" remotePort = 9000 ``` diff --git a/docs/docs/features/dashboard.md b/docs/docs/features/dashboard.md index db5eac4..cc5643a 100644 --- a/docs/docs/features/dashboard.md +++ b/docs/docs/features/dashboard.md @@ -34,18 +34,3 @@ password = "123456" | `dashboard.user` | 否 | | Basic Auth 用户名 | | `dashboard.password` | 否 | | Basic Auth 密码 | | `dashboard.staticDir` | 否 | | 静态资源目录;空则使用内置前端 | - -## 命令行 - -无配置文件时也可用参数开启: - -```shell -./orbien-server --dashboard_port 8020 --dashboard_user admin --dashboard_pwd 123456 -``` - -| 参数 | 默认值 | 说明 | -|--------------------|-----------|-------------| -| `--dashboard_addr` | `0.0.0.0` | 监听地址 | -| `--dashboard_port` | `0` | 监听端口;`0` 关闭 | -| `--dashboard_user` | `admin` | 用户名 | -| `--dashboard_pwd` | `admin` | 密码 | diff --git a/docs/docs/features/public-bind.md b/docs/docs/features/public-bind.md index f6eade7..41ba3b3 100644 --- a/docs/docs/features/public-bind.md +++ b/docs/docs/features/public-bind.md @@ -8,13 +8,12 @@ title: 对外监听地址 服务端有两类监听: -| 用途 | 配置 | 谁连 | -|------|-----------------------------------------------------------|-----------------------| -| 控制通道 | `listen`(以及 `quicPort` / `kcpPort`) | **客户端** orbien 连上来建隧道 | -| 对外流量 | `proxyAddr` + `remotePort` / `httpGwPort` / `httpsGwPort` | **公网访客** 访问你穿透出去的服务 | +| 用途 | 配置 | 谁连 | +|------|-----------------------------------------|-----------------------| +| 控制通道 | `listen`(以及 `quicPort` / `kcpPort`) | **客户端** orbien 连上来建隧道 | +| 对外流量 | `proxyAddr` + `remotePort` / `httpGwPort` / `httpsGwPort` | **公网访客** 访问你穿透出去的服务 | -`proxyAddr` 决定访客流量绑在哪张网卡 / 哪个地址上,与客户端连哪无关。配置键名沿用 `proxyAddr`,语义是**对外监听地址** -,不是产品里的「代理隧道」。 +`proxyAddr` 决定访客流量绑在哪张网卡 / 哪个地址上,与客户端连哪无关。配置键名沿用 `proxyAddr`,语义是**对外监听地址**。 典型场景:机器多网卡时,控制通道只听内网,对外监听只挂公网 IP;或反过来隔离管理面与业务面。 @@ -42,6 +41,6 @@ proxyAddr = "203.0.113.10" ## 参数 -| 参数 | 必填 | 默认值 | 说明 | -|-------------|----|-----------|-----------------------------| -| `proxyAddr` | 否 | `0.0.0.0` | 对外监听地址;空则回退为 `listen` 的主机部分 | +| 参数 | 必填 | 默认值 | 说明 | +|-------------|----|-----------|--------------------------------| +| `proxyAddr` | 否 | `0.0.0.0` | 对外监听地址;空则回退为 `listen` 的主机部分 | diff --git a/docs/i18n/en/docusaurus-plugin-content-docs/current/features/dashboard.md b/docs/i18n/en/docusaurus-plugin-content-docs/current/features/dashboard.md index e124986..33259dd 100644 --- a/docs/i18n/en/docusaurus-plugin-content-docs/current/features/dashboard.md +++ b/docs/i18n/en/docusaurus-plugin-content-docs/current/features/dashboard.md @@ -34,18 +34,3 @@ Open `http://SERVER_IP:8020` in a browser and log in with Basic Auth (`user` / ` | `dashboard.user` | No | | Basic Auth username | | `dashboard.password` | No | | Basic Auth password | | `dashboard.staticDir` | No | | Static assets directory; empty uses the built-in frontend | - -## Command line - -You can also enable it with flags when there is no config file: - -```shell -./orbien-server --dashboard_port 8020 --dashboard_user admin --dashboard_pwd 123456 -``` - -| Flag | Default | Description | -|--------------------|-------------|--------------------------------| -| `--dashboard_addr` | `0.0.0.0` | Listen address | -| `--dashboard_port` | `0` | Listen port; `0` disables it | -| `--dashboard_user` | `admin` | Username | -| `--dashboard_pwd` | `admin` | Password | diff --git a/docs/src/components/DownloadMatrix/index.tsx b/docs/src/components/DownloadMatrix/index.tsx index 3df1480..0ff1ae8 100644 --- a/docs/src/components/DownloadMatrix/index.tsx +++ b/docs/src/components/DownloadMatrix/index.tsx @@ -26,7 +26,6 @@ type Row = { noteId: NoteId; }; -/** Must match what `.github/workflows/release.yml` actually uploads. */ const RELEASE_BUILDS: ReadonlySet = new Set([ 'orbien-server|linux|amd64|gnu', 'orbien-server|linux|amd64|musl', @@ -49,7 +48,9 @@ const RELEASE_BUILDS: ReadonlySet = new Set([ 'orbien|freebsd|amd64', 'orbien-desktop|linux|amd64|gnu', + 'orbien-desktop|linux|arm64|gnu', 'orbien-desktop|windows|amd64', + 'orbien-desktop|windows|arm64', 'orbien-desktop|darwin|amd64', 'orbien-desktop|darwin|arm64', ]);