VLESS Rvs: Add sniffing

This commit is contained in:
Fangliding
2026-04-26 12:17:50 +08:00
parent b63b2a3b00
commit 7795776367
3 changed files with 15 additions and 6 deletions
+5 -2
View File
@@ -94,7 +94,7 @@ level 的值, 对应 [policy](../policy.md#policyobject) 中 `level` 的值。
> `reverse`: struct
VLESS 极简反向代理配置,和核心内部自带的的通用反向代理作用相同但是配置更简单。
VLESS 极简反向代理配置,和核心内部自带的的通用反向代理作用相同但是配置更简单,并且会保留公网端的真实源 IP 信息
存在此项代表该出站可以被用作 VLESS 反向代理出站,其会自动向服务端建立连接注册反向代理隧道。
@@ -102,10 +102,13 @@ VLESS 极简反向代理配置,和核心内部自带的的通用反向代理
```json
"reverse": {
"tag": "r-inbound"
"tag": "r-inbound",
"sniffing" : {}
}
```
`tag` 为该反向代理的入站代理 tag. 当服务端派发反向代理请求时会从使用这个 tag 的入站进入路由系统,使用路由系统将其路由到你需要的出站。
使用的 UUID 需要是服务端同样配置了 reverse 的 UUID(详见 VLESS 入站)。
`sniffing` 见 [sniffingObject](../inbound.md#sniffingobject) 对从该反向代理进入的请求执行嗅探。
+5 -2
View File
@@ -94,7 +94,7 @@ The value of `level` corresponds to the value of `level` in [policy](../policy.m
> `reverse`: struct
VLESS minimalist reverse proxy configuration. It functions the same as the core's built-in generic reverse proxy but is simpler to configure.
VLESS minimalist reverse proxy configuration. It functions the same as the core's built-in generic reverse proxy but is simpler to configure, and it preserves the real source IP information from the public-facing side.
The existence of this item indicates that this outbound can be used as a VLESS reverse proxy outbound, and it will automatically establish a connection to the server to register the reverse proxy tunnel.
@@ -102,10 +102,13 @@ Current syntax:
```json
"reverse": {
"tag": "r-inbound"
"tag": "r-inbound",
"sniffing" : {}
}
```
`tag` is the inbound proxy tag for this reverse proxy. When the server dispatches a reverse proxy request, it enters the routing system from the inbound using this tag, and the routing system routes it to the outbound you need.
The UUID used needs to be a UUID that is also configured with reverse on the server side (see VLESS Inbound for details).
`sniffing` see [sniffingObject](../inbound.md#sniffingobject), performs sniffing on requests entering through this reverse proxy.
+5 -2
View File
@@ -96,7 +96,7 @@ Splice - это функция, предоставляемая ядром Linux,
> `reverse`: struct
Упрощённая конфигурация обратного прокси VLESS. Имеет то же назначение, что и встроенный в ядро универсальный обратный прокси, но с более простой настройкой.
Упрощённая конфигурация обратного прокси VLESS. Имеет то же назначение, что и встроенный в ядро универсальный обратный прокси, но с более простой настройкой, и при этом сохраняет информацию о реальном исходном IP-адресе со стороны публичной сети.
Наличие этого параметра означает, что данное исходящее соединение может быть использовано как исходящее соединение обратного прокси VLESS. Оно автоматически установит соединение с сервером для регистрации туннеля обратного прокси.
@@ -104,10 +104,13 @@ Splice - это функция, предоставляемая ядром Linux,
```json
"reverse": {
"tag": "r-inbound"
"tag": "r-inbound",
"sniffing" : {}
}
```
`tag` — это тег входящего прокси для данного обратного прокси. Когда сервер отправляет запрос обратного прокси, он войдет в систему маршрутизации через входящее соединение с этим тегом. Используйте систему маршрутизации, чтобы направить его на нужное вам исходящее соединение.
Используемый UUID должен совпадать с UUID, для которого на сервере также настроен `reverse` (подробнее см. в разделе о входящих соединениях VLESS).
`sniffing` см. [sniffingObject](../inbound.md#sniffingobject) — выполняет распознавание (sniffing) запросов, поступающих через этот обратный прокси.