dyhkwong 说明 Exclave 将 UDP 回包映射回 FakeIP 的条件

在 Exclave 的 FakeDNS 与 SOCKS5 UDP 回包讨论中,dyhkwong 解释,Exclave 知道 FakeIP 对应哪个域名,但不知道该域名的真实 IP。若服务端回传域名,例如 sing-box,Exclave 能映射回 FakeIP;若服务端回传真实数字 IP,Exclave 无法据此反推原域名并完成映射。

作者原文

It depends on your server.

Example:

Client: 198.18.0.1 - example.com
  |
Middleboxes
  |
Server: example.com - 104.20.23.154
  |
Real network

Real network will response with 104.20.23.154. Exclave only knows 198.18.0.1 is example.com and does not know the real IP address of example.com. If the server responses with example.com (e.g. sing-box), Exclave can map it back to 198.18.0.1. If the server responses with 104.20.23.154 (a typical proxy server), Exclave does not know 104.20.23.154 is example.com, and can not map it back to 198.18.0.1.