mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-03-02 19:26:56 -05:00
Client incorrectly uses internal IP for relay server despite public domain configuration (v1.4.3) #3779
Labels
No labels
bug
documentation
duplicate
enhancement
enhancement
enhancement
good first issue
help wanted
invalid
question
unreproducible
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/rustdesk-rustdesk#3779
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @City-Zero on GitHub (Nov 4, 2025).
Bug Description
When connecting through a self-hosted RustDesk server, the client ignores the configured public domain for the relay server and attempts to use an internal IP address instead, causing connection failures.
Environment:
Client Version: 1.4.3 (60)
Server Setup:
Hosted on home server (internal IP: 192.168.2.20)
Port forwarding configured for public access
Dynamic DNS (DDNS) domain: mydomain(replace with actual domain)
Configuration:
ID Server: mydomain:21116
Relay Server: mydomain:21117
How to Reproduce
Set up a self-hosted RustDesk server on a machine with internal IP (e.g., 192.168.2.20)
Configure port forwarding: external ports 21116-21117 → internal IP ports 21116-21117
Set up DDNS pointing to your public IP (e.g., mydomain)
On the client, configure custom servers:
ID Server: mydomain:21116
Relay Server: mydomain:21117
Start a connection attempt to another device
Monitor network traffic (using tools like Wireshark or tcpdump)
Observe that the client incorrectly tries to connect to 192.168.2.20:21117instead of the configured mydomain:21117
Expected Behavior
Client should consistently use the configured public domain (mydomain:21117) for relay connections.
Operating system(s) on local (controlling) side and remote (controlled) side
osx -> windows10
RustDesk Version(s) on local (controlling) side and remote (controlled) side
1.4.3->1.4.3
Screenshots
Additional Context
No response
@rustdesk commented on GitHub (Nov 4, 2025):
#763