mirror of
https://github.com/rustdesk/doc.rustdesk.com.git
synced 2024-11-07 17:04:32 +01:00
Update _index.en.md
This commit is contained in:
parent
134a2962e1
commit
133a0ebcc5
@ -3,26 +3,22 @@ title: Synology
|
||||
weight: 22
|
||||
---
|
||||
|
||||
> An alterative up-to-date tutorial from third-party is [here](https://mariushosting.com/how-to-install-rustdesk-on-your-synology-nas/)
|
||||
> An alterative up-to-date tutorial from third-party is [here](https://mariushosting.com/how-to-install-rustdesk-on-your-synology-nas/).
|
||||
|
||||
This tutorial is based on latest DSM v6 and v7.
|
||||
|
||||
### Install Docker
|
||||
|
||||
Open package manager and install docker
|
||||
|
||||
| | |
|
||||
| -- | -- |
|
||||
| Open package manager | Install Docker |
|
||||
| --- | --- |
|
||||
| ![](/docs/en/self-host/rustdesk-server-oss/synology/images/package-manager.png) | ![](/docs/en/self-host/rustdesk-server-oss/synology/images/docker.png) |
|
||||
|
||||
|
||||
### Install RustDesk Server
|
||||
|
||||
| Search rustdesk-server in Docker's registry and install by double click | Installed rustdesk-server image, double click to create rustdesk-server container |
|
||||
| -- | -- |
|
||||
| --- | --- |
|
||||
| ![](/docs/en/self-host/rustdesk-server-oss/synology/images/pull-rustdesk-server.png) | ![](/docs/en/self-host/rustdesk-server-oss/synology/images/rustdesk-server-installed.png) |
|
||||
|
||||
|
||||
### Create hbbs container
|
||||
|
||||
As mentioned above, double click on rustdesk-server image to create new container, set it name to `hbbs`.
|
||||
@ -33,19 +29,20 @@ Click on above "Advanced Settings".
|
||||
- Enable auto-restart
|
||||
![](/docs/en/self-host/rustdesk-server-oss/synology/images/auto-restart.png)
|
||||
|
||||
- Enable "Use the same network as Docker host", for more about host net, please [check](install/#net-host)
|
||||
- Enable "Use the same network as Docker host", for more about host net, please [check](/docs/en/self-host/rustdesk-server-oss/docker/#net-host)
|
||||
![](/docs/en/self-host/rustdesk-server-oss/synology/images/host-net.png)
|
||||
|
||||
- Mount a host directory (e.g. `/home/rustdesk/`) to `/root`, hbbs will generate some files (database and `key` files) in this directory which need to be persistent over reboots.
|
||||
|
||||
| Mount | Files generated in the host directory |
|
||||
| -- | -- |
|
||||
| --- | --- |
|
||||
| ![](/docs/en/self-host/rustdesk-server-oss/synology/images/mount.png?width=500px) | ![](/docs/en/self-host/rustdesk-server-oss/synology/images/mounted-dir.png?width=300px) |
|
||||
|
||||
- Set command
|
||||
{{% notice note %}}
|
||||
Synology's OS is Debian based, so host net (--net=host) works fine, we do not need to map ports with `-p` option.
|
||||
|
||||
`192.168.16.98` is an internal IP used here for demonstration only, please set it to a public IP when you deploy (or you can use your DDNS address if you have configured one in Control Panel - Connectivity - DDNS) and don't forget to open ports on your router and your synology firewall if this is enabled (Control Panel - Connectivity - Firewall)!
|
||||
`192.168.16.98` is an internal IP used here for demonstration only, please set it to a public IP when you deploy (or you can use your DDNS address if you have configured one in "Control Panel -> Connectivity -> DDNS") and don't forget to open ports on your router and your Synology firewall if this is enabled ("Control Panel -> Connectivity -> Firewall")!
|
||||
|
||||
{{% /notice %}}
|
||||
|
||||
@ -67,9 +64,9 @@ Please repeat above `hbbs` steps, but name the container `hbbr` and command (for
|
||||
|
||||
|
||||
| Double click on container and check log | Double confirm hbbs/hbbr using host network |
|
||||
| -- | -- |
|
||||
| --- | --- |
|
||||
| ![](/docs/en/self-host/rustdesk-server-oss/synology/images/log.png?width=500px) | ![](/docs/en/self-host/rustdesk-server-oss/synology/images/network-types.png?width=500px) |
|
||||
|
||||
### Retrieve your Key
|
||||
|
||||
Browse to the folder setup before using File Station, download id_ed25519.pub and open with a text editor to via your key.
|
||||
Browse to the folder setup before using File Station, download `id_ed25519.pub` and open with a text editor to via your key.
|
||||
|
Loading…
Reference in New Issue
Block a user