Laptop -> OpenWRT -> VPN connection > RustDesk Connection Failure

I'm troubleshooting a VPN/RustDesk connection issue, and think I have it narrowed down to an OpenWrt config issue.

What works:

  • Use my phone as a hotspot, and connect my laptop to the internet through the hotspot
  • As a client, connect to an external network via VPN
  • Run RustDesk and successfully connect to a remote desktop

What doesn't work:

  • Connecting my laptop to my router, which is running OpenWRT
  • The VPN connection works just fine
  • Rust desk "fails to connect to x.x.x.x:21116" (RustDesk ID server)

I'm sure there's something relatively simple with the Firewall I'm missing. Any ideas?

**Edit: I'd add that I know RustDesk uses TCP and UDP ports in the 21115-21119 range. I assume I need to ensure this traffic is passing correctly through the router, but I cannot figure out how to check this or configure it properly.
Screenshot 2024-10-12 203855

SOLVED. I needed to take a step back and make sure I understood the zone model (this really helped, and this conversation on RustDesk's github confirmed I was on the right track.)

My initial attempt had been a to modify Traffic Rules, when what I needed to be configuring was within Port Forwards. I added a new rule as follows, and my RustDesk was immediately able to connect!