Could rustdesk provide directly connect in lan without relay server? #34

Closed
opened 2026-02-20 22:20:46 -05:00 by deekerman · 8 comments
Owner

Originally created by @mokeyish on GitHub (May 25, 2021).

Originally created by @mokeyish on GitHub (May 25, 2021).
Author
Owner

@rustdesk commented on GitHub (May 25, 2021):

Most of case, we can make direct connection in lan. but we do see rustdesk failed sometimes, e.g. in different subnet, or configured with different gateway, or some firewall reasons, or some unknown reasons.

@rustdesk commented on GitHub (May 25, 2021): Most of case, we can make direct connection in lan. but we do see rustdesk failed sometimes, e.g. in different subnet, or configured with different gateway, or some firewall reasons, or some unknown reasons.
Author
Owner

@rustdesk commented on GitHub (May 25, 2021):

if you can figure out why rustdesk failed, maybe can help me figure out better solution, e.g. multicast

@rustdesk commented on GitHub (May 25, 2021): if you can figure out why rustdesk failed, maybe can help me figure out better solution, e.g. multicast
Author
Owner

@mokeyish commented on GitHub (May 25, 2021):

if you can figure out why rustdesk failed, maybe can help me figure out better solution, e.g. multicast

Considering about different subnet is too diffcult. I think it is enough just like Windows Remote Desktop, which can set up a gateway for connecting over different subnet .

P2P may be another way. libp2p provide rust implemention https://libp2p.io/.

@mokeyish commented on GitHub (May 25, 2021): > if you can figure out why rustdesk failed, maybe can help me figure out better solution, e.g. multicast Considering about different subnet is too diffcult. I think it is enough just like Windows Remote Desktop, which can set up a gateway for connecting over different subnet . P2P may be another way. `libp2p` provide rust implemention https://libp2p.io/.
Author
Owner

@rustdesk commented on GitHub (May 25, 2021):

if you can figure out why rustdesk failed, maybe can help me figure out better solution, e.g. multicast

Considering about different subnet is too diffcult. I think it is enough just like Windows Remote Desktop, which can set up a gateway for connecting over different subnet .

P2P may be another way. libp2p provide rust implemention https://libp2p.io/.

looking forward to your contribution

@rustdesk commented on GitHub (May 25, 2021): > > if you can figure out why rustdesk failed, maybe can help me figure out better solution, e.g. multicast > > Considering about different subnet is too diffcult. I think it is enough just like Windows Remote Desktop, which can set up a gateway for connecting over different subnet . > > P2P may be another way. `libp2p` provide rust implemention https://libp2p.io/. looking forward to your contribution
Author
Owner

@rustdesk commented on GitHub (Jun 3, 2021):

As a simple solution, will add direct link via IP in 1.1.6.

@rustdesk commented on GitHub (Jun 3, 2021): As a simple solution, will add direct link via IP in 1.1.6.
Author
Owner

@mokeyish commented on GitHub (Jun 5, 2021):

As a simple solution, will add direct link via IP in 1.1.6.

That's great!!! I'll try later.

@mokeyish commented on GitHub (Jun 5, 2021): > As a simple solution, will add direct link via IP in 1.1.6. That's great!!! I'll try later.
Author
Owner

@rustdesk commented on GitHub (Sep 29, 2021):

https://github.com/rustdesk/rustdesk/issues/113

@rustdesk commented on GitHub (Sep 29, 2021): https://github.com/rustdesk/rustdesk/issues/113
Author
Owner

@ceewanna commented on GitHub (Aug 18, 2023):

From my experience so far, direct connection can be done only when firewall on remote machine is disabled. I have tried allow in/out of various ports 21115:21119 and 21116 but there has been no success so far. I also tried direct IP with port 21116 allow in on remote machine. That doesn't work for me either.

@ceewanna commented on GitHub (Aug 18, 2023): From my experience so far, direct connection can be done only when firewall on remote machine is disabled. I have tried allow in/out of various ports 21115:21119 and 21116 but there has been no success so far. I also tried direct IP with port 21116 allow in on remote machine. That doesn't work for me either.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/rustdesk-rustdesk#34
No description provided.