rustdesk / rustdesk-server

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

rustdesk server run with clash tun mode #457

Open QQ853695231 opened 2 months ago

QQ853695231 commented 2 months ago

how to make rustdesk server run with clash tun mode correctly?

dhay3 commented 3 weeks ago

You could use route-exclude-address directive (only for meta core) to exclude the rs-ny.rustdesk.com A record, which works for me. And if you use fake-ip enhanced mode, don't forget to use fake-ip-filter to bypass the domain.

eg.

tun:
  enable: true
  stack: mixed
  device: meta0
  auto-route: true
  auto-redirect: false
  auto-detect-interface: true
  strict-route: true
  route-exclude-address:
    - 209.250.254.15/32
  dns-hijack:
    - any:53
  mtu: 1500
QQ853695231 commented 3 weeks ago

thanks for reply,I will try later。😊