P2P connection behind a Firewall #391
Replies: 2 comments 9 replies
-
Alright, reading I found this which explains some: Also I'm not fully understanding what is the problem in not using I found this explanation: https://rustdesk.com/docs/en/self-host/rustdesk-server-oss/docker/
But... with or without --net=host... my rendezvous_server sees the correct public IP addresses of the clients. I tried to dabble with Outbound NAT... without too much luck. |
Beta Was this translation helpful? Give feedback.
-
You need |
Beta Was this translation helpful? Give feedback.
-
I'm exploring how P2P connections work, especially with a RustDesk instance behind a pfSense firewall on a local network, with only standard ports forwarded.
I'm experimenting with NAT and will share updates. Any advice is welcome.
Below is the
docker-compose.yml
for RustDesk running on Debian:This setup is behind a pfSense firewall, with ports 21115-21117/tcp and 21116/udp forwarded to the Debian machine (no home router, pfSense is directly connected to the Internet).
Current observations:
My questions: how does the RustDesk server decide that P2P is possible... I'm guessing when he sees 2 client with the same public IP?
Beta Was this translation helpful? Give feedback.
All reactions