Skip to content

Commit

Permalink
add a tip
Browse files Browse the repository at this point in the history
  • Loading branch information
Fangliding authored and yuhan6665 committed Nov 18, 2023
1 parent 9deddf1 commit a5a0cc9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/config/inbound.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,10 @@

其中 `["fakedns+others"]` 相当于 `["http", "tls", "quic", "fakedns"]`,当 IP 地址处于 FakeIP 区间内但没有命中域名记录时会使用 `http``tls``quic` 进行匹配。此项仅在 `metadataOnly``false` 时有效。

::: tip
Xray只会嗅探 `destOverride` 中协议的域名用作路由,如果只想进行嗅探用作路由而不想重置目标地址,请在这里添加对应的协议并启用 `routeOnly`
:::

> `metadataOnly`: true | false
当启用时,将仅使用连接的元数据嗅探目标地址。此时,除 `fakedns` 以外的 sniffer 将不能激活(包括 `fakedns+others`)。
Expand Down

0 comments on commit a5a0cc9

Please sign in to comment.