rustdesk / rustdesk-server

RustDesk Server Program
https://rustdesk.com/server
GNU Affero General Public License v3.0
6.46k stars 1.35k forks source link

openwrt multiple public network interfaces can only visit one of it #161

Open bgycn opened 1 year ago

bgycn commented 1 year ago

Describe the bug openwrt multiple interface can only visit one of it, It could be a problem with UDP binding.

Describe the environment rustdesk-server 1.1.6-2 OpenWrt 22.03

How to Reproduce the bug I have an OpenWrt router, there are 3 public network interfaces pppoe0, pppoe1, pppoe2, through nftables to input and output from an interface to a certain interface, but hbbs seems to be bound to the interface pppoe0 corresponding to the default route, from the public network can only access pppoe0, and access pppoe1, pppoe2 does not work, through wireshark packet capture to find hbbs 21116 UDP returns always use the address of pppoe0, and then I change the output address to pppoe1 or pppoe2 through the nftables' nat, which still doesn't work, while other applications such as openvpn can access pppoe1 and pppoe2 in this way.

rustdesk commented 1 year ago

No plan yet.

paspo commented 1 year ago

openwrt has docker support now.

Can you try running rustdesk-server inside a container?