I was thinking about deploying RustDesk on the same server that I have FreePBX 17 running on since it has an interface open already. After going over some things and running it on a seperate test server, the biggest thing I notice that might cause an issue is RustDesk uses ufw as it’s firewall. Will that cause an issue? Has anyone else tried running both on the same box? I would be using a different hostname and setup DNS records & reverse lookup records for the RustDesk part of it to not conflict with the FreePBX side.
My recommendation is to use only the FreePBX firewall (at the end of the day, both uses iptables, or nftables), but you can use the custom services from the Firewall Module.
Firewall > Services > Custom Services, and open the ports you need for RustDesk there.