Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

添加 loopback 出站文档内容 #477

Merged
merged 3 commits into from
Mar 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions docs/config/outbounds/loopback.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Loopback

Loopback 是个出站数据协议,其作用为将经该出站传出的数据重新送入路由入站,以达到数据无需离开 Xray-core 即可再次被路由处理的效果。

## OutboundConfigurationObject

```json
{
"inboundTag": "TagUseAsInbound"
}
```

> `inboundTag`: string

用于重新路由的入站协议标识。

该标识可以在路由中用于 `inboundTag` ,表示该出站中的数据可以被对应的路由规则再次处理。
17 changes: 17 additions & 0 deletions docs/en/config/outbounds/loopback.md
Original file line number Diff line number Diff line change
@@ -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.
Loading