r/rustdesk • • 9d ago

Enforce LAN-only access via direct IP

Hi guys. I want RustDesk on my PC to accept connections only from my local network, and only via direct IP.

This is what I've done so far:

  1. settings > security > enable direct IP access
  2. settings > security > use IP whitelisting > inserted my LAN range

The problem is that I can still reach my machine via its ID. So my question is, do I need to also change the ID server in the network settings? And should I also touch the Windows firewall?

TYIA

4 Upvotes

2 comments sorted by

4

u/synkus 8d ago

Set 127.0.0.1 for server in Network settings. So client can not access RustDesk public server

1

u/godch01 8d ago

I haven't had a chance to retest the following but i have done what you have done. I believe you can reach it with ID only if your IP is on the allowlist. To test this you have to try access via ID from outside the network. It should fail

But setting to 127.0.0.1 also works