mirror of
https://github.com/rustdesk/doc.rustdesk.com.git
synced 2025-08-17 03:51:06 +02:00
fix
This commit is contained in:
@ -1,8 +1,7 @@
|
||||
---
|
||||
title: Self-host
|
||||
weight: 200
|
||||
pre: "<b>2. </b>"
|
||||
chapter: true
|
||||
title: Client Configuration
|
||||
weight: 300
|
||||
pre: "<b>2.3 </b>"
|
||||
---
|
||||
|
||||
### Overview
|
||||
@ -15,18 +14,42 @@ In the main RustDesk Client home click on the 3 dots next to your ID then click
|
||||
|
||||

|
||||
|
||||
Enter the `hbbs` host or IP Address in the **ID Server** input box (local side + remote side). The other two addresses can be left blank, RustDesk will automatically deduce (if not specially set), and the Relay Server refers to `hbbr` (port 21117).
|
||||
|
||||
e.g.
|
||||
|
||||
```nolang
|
||||
hbbs.example.com
|
||||
```
|
||||
|
||||
or
|
||||
|
||||
```nolang
|
||||
hbbs.example.com:21116
|
||||
```
|
||||
|
||||
|
||||
|
||||
### Automatic Config
|
||||
|
||||
The easiest way to setup automatically is using deployment scripts found [here](/docs/en/client/client-deployment/)
|
||||
|
||||
You can fix the Password is required and use a reverse base64 string in the format `{"host":"HOSTADDRESS","key":"HOSTKEY","api":"http://HOSTADDRESS:21114"` to automatically configure the clients, this is available automatically with RustDesk Server Pro via the console.
|
||||
|
||||
#### Put config in rustdesk.exe file name (Windows only)
|
||||
|
||||
### URL
|
||||
Change `rustdesk.exe` to rustdesk-`host=<host-ip-or-name>,key=<public-key-string>`.exe, e.g. rustdesk-`host=192.168.1.137,key=xfdsfsd32=32`.exe. You can see the config result in the About Window below.
|
||||
|
||||
To ease integration with other systems you can call RustDesk using a URL, it should be in the following format
|
||||
|
||||
`rustdesk://connection/new/agentid?password=agentpassword`
|
||||
<a name="invalidchar"></a>
|
||||
{{% notice note %}}
|
||||
You need to set both `host` and `key`, missing either one will not work.
|
||||
|
||||
Optionally add a `,` (comma) character after the key, before the `.exe` part as a delimiter, to avoid the key being mangled if Windows or the browser renames the file when downloading duplicated names.
|
||||
|
||||
If there are invalid characters in the key which can not be used in a Windows file name, please remove the
|
||||
`id_ed25519` file from your server and restart `hbbs`/`hbbr`. This will cause the `id_ed25519.pub` file to regenerate. You may need to
|
||||
repeat this process until you get valid characters.
|
||||
{{% /notice %}}
|
||||
|
||||
|
||||
### [Hardcoding](/docs/en/self-host/client-configuration/hardcode-settings/)
|
||||
|
@ -0,0 +1,32 @@
|
||||
---
|
||||
title: Benutzerdefinierte Einstellungen fest codieren
|
||||
weight: 49
|
||||
---
|
||||
|
||||
## Benutzerdefinierter Server
|
||||
{{% notice note %}}
|
||||
Um benutzerdefinierte Servereinstellungen in Ihren ausführbaren Dateien fest einzubinden, müssen Sie den Client auf Ihrem Rechner selbst [erstellen](/docs/de/dev/build/) oder mit [GitHub-Aktionen](/docs/de/dev/build/all/) bauen.
|
||||
{{% /notice %}}
|
||||
{{% notice note %}}
|
||||
**Wenn Sie einen dieser Werte ohne den anderen setzen, wird Ihre ausführbare Datei nicht funktionieren!**
|
||||
{{% /notice %}}
|
||||
|
||||
Sie können die folgenden Umgebungsvariablen auf Ihrem Betriebssystem setzen und RustDesk wird diese Variablen beim Erstellen Ihres Clients anstelle der Standardserver von rustdesk.com verwenden.
|
||||
|
||||
Wenn Sie nicht wissen, wie Sie eine Umgebungsvariable auf Ihrem System setzen können, sollten Sie in der Lage sein, online eine Dokumentation für Ihr Betriebssystem zu finden, die dies erklärt.
|
||||
|
||||
#### RENDEZVOUS_SERVER
|
||||
Diese Variable sollte auf Ihre Server-URL gesetzt werden.
|
||||
|
||||
Es sollte eine Zeichenkette sein wie
|
||||
```
|
||||
rustdesk.my-domain.com
|
||||
```
|
||||
|
||||
#### RS_PUB_KEY
|
||||
Diese Variable wird Ihr öffentlicher Schlüssel sein, weitere Informationen über den Schlüssel finden Sie [hier](/docs/de/self-host/install/#schlüssel).
|
||||
|
||||
Es sollte eine Zeichenkette sein wie
|
||||
```
|
||||
OeVuKk5nlHiXp+APNn0Y3pC1Iwpwn44JGqrQCsWqmBw=
|
||||
```
|
@ -0,0 +1,32 @@
|
||||
---
|
||||
title: Hardcoding Custom Settings
|
||||
weight: 49
|
||||
---
|
||||
|
||||
## Custom Server
|
||||
{{% notice note %}}
|
||||
To hardcode custom server settings into your executables you must [build](/docs/en/dev/build/) the client yourself on your machine or [with GitHub Actions](/docs/en/dev/build/all/).
|
||||
{{% /notice %}}
|
||||
{{% notice note %}}
|
||||
**If you set either of these values without setting the other, your executable will not work!**
|
||||
{{% /notice %}}
|
||||
|
||||
You can set the following environment variables on your OS and RustDesk will use those variables when compiling your client rather than the default rustdesk.com servers.
|
||||
|
||||
If you do not know how to set an environment variable on your system you should be able to find documentation for your OS online that will explain this.
|
||||
|
||||
#### RENDEZVOUS_SERVER
|
||||
This variable should be set to your server URL.
|
||||
|
||||
This should be a string such as
|
||||
```
|
||||
rustdesk.my-domain.com
|
||||
```
|
||||
|
||||
#### RS_PUB_KEY
|
||||
This variable will be your public key, more information on the key is available [here](/docs/en/self-host/install/#key).
|
||||
|
||||
This should be a string such as
|
||||
```
|
||||
OeVuKk5nlHiXp+APNn0Y3pC1Iwpwn44JGqrQCsWqmBw=
|
||||
```
|
@ -0,0 +1,33 @@
|
||||
---
|
||||
title: Paramètres personnalisés codés en dur
|
||||
weight: 49
|
||||
---
|
||||
|
||||
## Serveur personnalisé
|
||||
{{% notice note %}}
|
||||
Pour coder en dur les paramètres personnalisés serveur dans vos exécutables, vous devez [compiler](/docs/fr/dev/build/) le client vous-même.
|
||||
{{% /notice %}}
|
||||
{{% notice note %}}
|
||||
**Si vous définissez l'une de ces valeurs sans définir l'autre, votre exécutable ne fonctionnera pas !**
|
||||
{{% /notice %}}
|
||||
|
||||
Vous pouvez définir les variables d'environnement suivantes dans votre système d'exploitation et Rustdesk les utilisera lors de la compilation du client sinon il prendra les valeurs par défaut de Rustdesk.com.
|
||||
|
||||
Si vous ne savez pas comment définir une variable d'environnement dans votre système, vous devriez pouvoir trouver en ligne la documentation correspondante à votre système d'exploitation.
|
||||
|
||||
#### RENDEZVOUS_SERVER
|
||||
Cette variable doit être définie avec l'URL de votre serveur.
|
||||
|
||||
Exemple:
|
||||
```
|
||||
rustdesk-serveur.mon-domaine.fr
|
||||
```
|
||||
|
||||
#### RS_PUB_KEY
|
||||
Cette variable sera votre clé publique, plus d'informations sur cette clé sont disponibles [ici](/docs/fr/self-host/install/#clé)
|
||||
|
||||
|
||||
Exemple:
|
||||
```
|
||||
OeVuKk5nlHiXp+APNn0Y3pC1Iwpwn44JGqrQCsWqmBw=
|
||||
```
|
@ -0,0 +1,32 @@
|
||||
---
|
||||
title: Hardcodering van aangepaste instellingen
|
||||
weight: 49
|
||||
---
|
||||
|
||||
## Aangepaste Server
|
||||
{{% notice note %}}
|
||||
Om de aangepaste instellingen van de server vast te leggen in uw uitvoerbare bestanden, moet u de client zelf [compileren](/docs/en/dev/build/).
|
||||
{{% /notice %}}
|
||||
{{% notice note %}}
|
||||
**Als u een van deze waarden instelt zonder de andere in te stellen, zal uw uitvoerbaar programma niet werken!**
|
||||
{{% /notice %}}
|
||||
|
||||
U kunt de volgende omgevingsvariabelen op uw OS instellen en rustdesk zal deze variabelen gebruiken bij het compileren van uw client in plaats van de standaard rustdesk.com servers.
|
||||
|
||||
Als u niet weet hoe u een omgevingsvariabele op uw systeem moet instellen, moet u online documentatie voor uw besturingssysteem kunnen zoeken die dit uitlegt.
|
||||
|
||||
#### RENDEZVOUS_SERVER
|
||||
Deze variabele moet worden ingesteld op de URL van uw server.
|
||||
|
||||
Dit moet een tekenreeks zijn zoals
|
||||
```
|
||||
rustdesk.my-domain.com
|
||||
```
|
||||
|
||||
#### RS_PUB_KEY
|
||||
Deze variabele zal uw publieke sleutel zijn, meer informatie over de sleutel is beschikbaar [hier](/docs/en/self-host/install/#key).
|
||||
|
||||
Dit moet een tekenreeks zijn zoals
|
||||
```
|
||||
OeVuKk5nlHiXp+APNn0Y3pC1Iwpwn44JGqrQCsWqmBw=
|
||||
```
|
@ -0,0 +1,37 @@
|
||||
---
|
||||
title: 硬编码自定义设置
|
||||
weight: 49
|
||||
---
|
||||
|
||||
## 自定义服务器
|
||||
|
||||
{{% notice note %}}
|
||||
如果您想将自定义服务器设置硬编码到您的可执行文件中,您必须在您自己的机器上[编译](/docs/zh-cn/dev/build/)客户端或者通过 [GitHub Actions](/docs/en/dev/build/all/) 完成。
|
||||
{{% /notice %}}
|
||||
{{% notice note %}}
|
||||
**如果您只设置了其中的一个值而没有设置另一个,您的可执行文件将无法正常工作!**
|
||||
{{% /notice %}}
|
||||
|
||||
您可以在您的操作系统上设置以下环境变量,RustDesk 在编译客户端时将使用这些变量而不是默认的 rustdesk.com 服务器。
|
||||
|
||||
如果您不知道如何在系统上设置环境变量,您可以在网上找到相关的操作系统文档以了解如何进行设置。
|
||||
|
||||
#### RENDEZVOUS_SERVER
|
||||
|
||||
这个变量应该被设置为您自己的服务器 URL。
|
||||
|
||||
这应该是一个字符串,例如:
|
||||
|
||||
```text
|
||||
rustdesk.my-domain.com
|
||||
```
|
||||
|
||||
#### RS_PUB_KEY
|
||||
|
||||
这个变量应该是您的公钥,关于其更多信息可以参见 [Key](/docs/zh-cn/self-host/install/#key)。
|
||||
|
||||
这应该是一个字符串,例如:
|
||||
|
||||
```text
|
||||
OeVuKk5nlHiXp+APNn0Y3pC1Iwpwn44JGqrQCsWqmBw=
|
||||
```
|
Reference in New Issue
Block a user