From 17748f2b7b9a7eddd5448eceb9320cf6c217c94c Mon Sep 17 00:00:00 2001 From: Kobe Arthur Scofield Date: Mon, 4 Mar 2024 23:58:39 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20`loopback`=20=E5=87=BA?= =?UTF-8?q?=E7=AB=99=E6=96=87=E6=A1=A3=E5=86=85=E5=AE=B9=20(#477)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Add missing `loopback` (Chinese version) * Add `loopback` (Einglish version) * Clearify --- docs/config/outbounds/loopback.md | 17 +++++++++++++++++ docs/en/config/outbounds/loopback.md | 17 +++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 docs/config/outbounds/loopback.md create mode 100644 docs/en/config/outbounds/loopback.md diff --git a/docs/config/outbounds/loopback.md b/docs/config/outbounds/loopback.md new file mode 100644 index 000000000..3787e8472 --- /dev/null +++ b/docs/config/outbounds/loopback.md @@ -0,0 +1,17 @@ +# Loopback + +Loopback 是个出站数据协议,其作用为将经该出站传出的数据重新送入路由入站,以达到数据无需离开 Xray-core 即可再次被路由处理的效果。 + +## OutboundConfigurationObject + +```json +{ + "inboundTag": "TagUseAsInbound" +} +``` + +> `inboundTag`: string + +用于重新路由的入站协议标识。 + +该标识可以在路由中用于 `inboundTag` ,表示该出站中的数据可以被对应的路由规则再次处理。 diff --git a/docs/en/config/outbounds/loopback.md b/docs/en/config/outbounds/loopback.md new file mode 100644 index 000000000..d4cc77011 --- /dev/null +++ b/docs/en/config/outbounds/loopback.md @@ -0,0 +1,17 @@ +# Loopback + +Loopback is an outbound protocol. It can send traffics through corresponding outbound to routing inbound, thus rerouting traffics to other routing rules without leaving Xray-core. + +## OutboundConfigurationObject + +```json +{ + "inboundTag": "TagUseAsInbound" +} +``` + +> `inboundTag`: string + +Use as an inbound tag for routing. + +This tag can be used as `inboundTag` in routing rules, all traffics going through this outbound can be rerouted with routing rules with corresponding inbound tag.