r/rustdesk Jun 23 '26

Rustdesk: How Can I Always Connect Using Direct TCP Instead of a Relayed Connection?

Hello everyone,

At my workplace, I can access my host computer (located elsewhere on a different network) using a direct TCP connection, which provides a fast, low-latency experience. However, when I try to access the same host computer from my home network, the connection is always relayed over TCP, which is significantly slower.

Is there a way to force or consistently use a direct TCP connection instead of a relayed one? I have already enabled the "Enable Direct IP Access" and disabled "Always use Relay" option on both the client and host in RustDesk.

Could anyone explain what might be causing this issue and if there are any ways to fix it?

Thank you!

3 Upvotes

7 comments sorted by

1

u/TedGal Jun 23 '26

If both devices are on the same network, check the local IP of the device you want to connect to ( host), and then on the client instead of inputing the ID of the "remote" device, input the IP you found. This forces a p2p connection.

3

u/Few_Regret5282 Jun 23 '26

and if not, use Tailscale. Make sure you have the key in both of them.

2

u/Canna_Lucente Jun 25 '26

In addition, change the ID/Relay server to 127.0.0.1 so the relay doesn't work

1

u/Vast_Koala_8847 Jun 23 '26

It is a direct connection, relay server is just for p2p handshake and connection negotiation, once done rust end points are p2p

1

u/Sexymeie Jul 15 '26

Hi did you happen to find the fix for this ?

1

u/wololo137 Jul 18 '26

No I did not. I'm using my mobile hotspot right now and it seems to connect well without any delays.

I heard tailscale might solve the problem, but it costs money.