Skip to content

Commit

Permalink
Outbound: Add sendthrough "origin"
Browse files Browse the repository at this point in the history
  • Loading branch information
Fangliding authored Feb 21, 2025
1 parent c4ac3e1 commit 237eb8a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/config/outbound.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@

对于使用ndp接入的网络,不建议设置小于 /120 的子网,否则可能会造成 NDP flood 导致路由器邻居缓存被占满等一系列问题。

特殊值 `origin` 若使用该值,将使用本机被连接的IP发出请求。

例如机器上存在一整段 IPv4 `11.4.5.0/24` 且监听 0.0.0.0(网卡上的全部IPv4与IPv6),若客户端通过 `11.4.5.14` 连接到本机,那么出站也会通过 `11.4.5.14` 发送对外请求;如果使用 `11.4.5.10` 连接到本机,那么出站就会通过 `11.4.5.10` 发送请求。 同样适用于机器上有整段/复数个 IPv6 的情况

> `protocol`: string
连接协议名称,可选的协议列表见左侧 出站代理。
Expand Down

0 comments on commit 237eb8a

Please sign in to comment.