Merge pull request #390 from fufesou/refact/custom_client_settings

refact: custom client, advanced settings, proxy
This commit is contained in:
RustDesk 2024-05-19 18:05:48 +08:00 committed by GitHub
commit e399578839
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 65 additions and 28 deletions

View File

@ -5,13 +5,14 @@ weight: 49
### Privilege Levels for Settings
There are three types of settings:
There are four types of settings:
1. Override settings, in "Web Console -> Custom Clients".
1. Default settings, in "Web Console -> Custom Clients".
1. User settings, in the RustDesk client.
1. Stragegy settings, in "Web Console -> Strategies".
The hierarchy of privilege for these settings is as follows: `Override > User > Default`.
The hierarchy of privilege for these settings is as follows: `Override > Stragegy > User > Default`.
### Settings
@ -241,6 +242,37 @@ Accept incoming connections via password or manually click.
| :------: | :------: | :------: | :------: |
| N | password,click,password-click | password-click | `approve-mode=password-click` |
##### proxy-url
The proxy url.
Currently support `http` and `socks5`.
**Location**:
1. **Desktop** Settings -> Network -> Proxy -> Socks5/Http(s) proxy
1. **Mobile**
Examples:
1. **http** `proxy-url=http://192.168.0.2:12345`
1. **https** `proxy-url=https://192.168.0.2:12345`
1. **socks5** `proxy-url=socks5://192.168.0.2:1080`
##### proxy-username & proxy-password
Proxy username and password.
**Location**:
1. **Desktop** Settings -> Network -> Proxy -> Socks5/Http(s) proxy
1. **Mobile**
| Install required | Values | Default | Example |
| :------: | :------: | :------: | :------: |
| N | | | `proxy-username=user` |
| N | | | `proxy-password=pass` |
#### General
##### theme
@ -371,19 +403,6 @@ Always use software rendering.
| :------: | :------: | :------: | :------: |
| N | Y,N | N | `allow-always-software-render=N` |
##### enable-check-update
Check for software update on startup.
**Location**:
1. **Desktop** Settings -> General -> Other -> Check for software update on startup
1. **Mobile**
| Install required | Values | Default | Example |
| :------: | :------: | :------: | :------: |
| N | Y,N | Y | `enable-check-update=N` |
##### allow-linux-headless
Allow incoming connection if there's no displays.

View File

@ -241,6 +241,37 @@ IP 直接访问的端口。
| :------: | :------: | :------: | :------: |
| N | password,click,password-click | password-click | `approve-mode=password-click` |
##### proxy-url
代理的 url 。
目前支持 `http``socks5`
**位置**:
1. **桌面端** 设置 -> 网络 -> 代理 -> Socks5/Http(s) 代理
1. **移动端**
示例:
1. **http** `proxy-url=http://192.168.0.2:12345`
1. **https** `proxy-url=https://192.168.0.2:12345`
1. **socks5** `proxy-url=socks5://192.168.0.2:1080`
##### proxy-username & proxy-password
代理的 用户名 和 密码。
**位置**:
1. **桌面端** 设置 -> 网络 -> 代理 -> Socks5/Http(s) 代理
1. **移动端**
| 是否需要安装 | 可设值 | 默认值 | 示例 |
| :------: | :------: | :------: | :------: |
| N | | | `proxy-username=user` |
| N | | | `proxy-password=pass` |
#### 常规
##### theme
@ -371,19 +402,6 @@ ar, bg, ca, cs, da, de, el, en, eo, es, et, fa, fr, he, hr, hu, id, it, ja, ko,
| :------: | :------: | :------: | :------: |
| N | Y,N | N | `allow-always-software-render=N` |
##### enable-check-update
启动时检查软件更新.
**Location**:
1. **Desktop** 设置 -> 常规 -> 其他 -> 启动时检查软件更新
1. **Mobile**
| 是否需要安装 | 可设值 | 默认值 | 示例 |
| :------: | :------: | :------: | :------: |
| N | Y,N | Y | `enable-check-update=N` |
##### allow-linux-headless
在没有显示器的时候,允许传入会话。