Create id-relay-set.md

This commit is contained in:
RustDesk
2021-03-31 16:49:28 +08:00
committed by GitHub
parent 19c9e453b4
commit d58f6f9502

47
id-relay-set.md Normal file
View File

@@ -0,0 +1,47 @@
# Set up your own cloud by following those simple steps:
-----------
## STEP-1 : Download server-side software programs
Check this link below for download programs.
[Download](https://github.com/rustdesk/rustdesk-server/)
There are two executables:
- hbbs - RustDesk ID/Rendezvous server
- hbbr - RustDesk relay server
They are built on Centos7, tested on Centos7/8, Ubuntu 18/20.
### STEP-2 : Run hbbs and hbbr on server
Run hbbs/hbbr on your server (Centos or Ubuntu). We suggust you use [pm2](https://pm2.keymetrics.io/) managing your service.
By default, hbbs listens on 21115(tcp) and 21116(tcp/udp), hbbr listens on 21117(tcp).
Please run with "-h" option to see help if you wanna choose your own port.
### STEP-3 : Set hbbs/hbbr address on client-side
Click on menu button on the right side of ID as below, choose "ID/Relay Server".
![image](https://user-images.githubusercontent.com/71636191/113117333-e73c8f00-9240-11eb-8653-fc0c2ae4f0bf.png)
Please input hbbs host or ip address in ID server input box, and hbbr host or ip address in relay server input box.
e.g.
```
hbbs.yourhost.com
hbbr.yourhost.com
```
or
```
hbbs.yourhost.com:21116
hbbr.yourhost.com:21117
```
![image](https://user-images.githubusercontent.com/71636191/113117449-0509f400-9241-11eb-9425-0f70b676d4b6.png)