rustdesk / rustdesk-server

RustDesk Server Program

Home Page:https://rustdesk.com/server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Trying to setup server, Failed to connect to relay server

dpolakovics opened this issue · comments

Hello,

i try to setup the server for an NGO.
The Problem is i always get Failed to connect via relay server.

  • Install environment: docker (rustdesk/rustdesk-server:1) on nixos, both run on the same machine, and Ports are forwarded with docker
  • Also tried s6 image
  • Network 1st try: over VPN connection both connected via wireguard to opnsense.
  • Network 2nd try: made server public both connect via public ip
  • hbbs command: hbbs -r=....:21117
  • hbbr command: hbbr
  • Clients i just put the domain into the ID Server, also tried to put .....:21117 to relay server

I tried to debug it a bit. Connection to hbbs works good. I also get logging that the clients get an id and its stored into database.
Hbbr just gives standard startup log and then nothing more.
When trying with telnet i get connection refused on 21117, because i wasn't sure if it uses ssl i also tried with openssl and also get refused. 21116 works fine.
Both Ports are opened and i can see them in netstat.

Best regards