diff --git a/projects/280dd2a0-d23d-4a71-91e1-dce4353163be/Drony VPN 对 Flutter Dart 直连无效.md b/projects/280dd2a0-d23d-4a71-91e1-dce4353163be/Drony VPN 对 Flutter Dart 直连无效.md new file mode 100644 index 0000000..3df17db --- /dev/null +++ b/projects/280dd2a0-d23d-4a71-91e1-dce4353163be/Drony VPN 对 Flutter Dart 直连无效.md @@ -0,0 +1,29 @@ +--- +title: Drony VPN 对 Flutter Dart 直连无效 +type: experience +permalink: main/projects/280dd2a0-d23d-4a71-91e1-dce4353163be/drony-vpn-对-flutter-dart-直连无效 +stable_id: fa6a737e-dbd5-445e-b8ff-c43f5940a91c +scope: project +memory_type: experience +project_id: 280dd2a0-d23d-4a71-91e1-dce4353163be +usage_profile_id: 0c9feb46-d06e-43cd-9ef0-c5813c84a998 +status: active +revision: 1 +request_id: rapdrama-exp-drony-fail-20260925-0542 +created_at: '2026-09-24T21:42:29.731062+00:00' +updated_at: '2026-09-24T21:42:29.731062+00:00' +tags: +- drony +- flutter +- 无效 +--- + +Drony 已安装并配置完成(WiFi Belkin_f1e8702621f6 → HTTP 代理 10.0.2.2:8888),VPN 已启动,但 **Dart 的 API 请求仍然绕过了 Drony**。 + +Drony 的 VPN tun 只做了路由和 DNS 重定向,不是真正的透明代理。它依赖应用读取 HTTP 代理设置来走代理,但 Dart 的 HttpClient.findProxy 默认是 null(直连),所以 VPN 开着也没效果。 + +App 在 Drony VPN 活跃时仍然能正常加载所有内容(视频列表、账号状态),Charles 里没有 apis.raptdrama.com 的请求。 + +看雪文章里的方案实际上是 Drony + reFlutter(在 libflutter.so 里已经 patch 了代理地址),而不是单独用 Drony。单独用 Drony 对 Flutter 直连无效。 + +剩下唯一确认可行的方案:**reFlutter 重打包**。 \ No newline at end of file