From 871a0158f1cb82094ad50ae6f53e16cda2584b62 Mon Sep 17 00:00:00 2001 From: Meow <197331664+Meo597@users.noreply.github.com> Date: Fri, 12 Dec 2025 20:28:37 +0800 Subject: [PATCH] Add link to inbound and outbound protocols (#779) * Add link to inbound and outbound protocols * Revise protocol options and outbound settings reference --- docs/config/inbound.md | 2 +- docs/config/outbound.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/config/inbound.md b/docs/config/inbound.md index db92074b..677a67d2 100644 --- a/docs/config/inbound.md +++ b/docs/config/inbound.md @@ -56,7 +56,7 @@ > `protocol`: "dokodemo-door" | "http" | "shadowsocks" | "socks" | "vless" | "vmess" | "trojan" | "wireguard" -连接协议名称,可选的协议列表见左侧 入站代理。 +连接协议名称,可选的协议列表见左侧 [入站协议](./inbounds/)。 > `settings`: InboundConfigurationObject diff --git a/docs/config/outbound.md b/docs/config/outbound.md index b16fa5df..521724d2 100644 --- a/docs/config/outbound.md +++ b/docs/config/outbound.md @@ -43,9 +43,9 @@ 和入站介绍的一样,因为 UDP 的无连接特性 Xray 无从得知这个请求进入核心的原目标IP(举个例子,在同一个 QUIC 连接里它甚至可能变动),所以这个功能无法生效。 -> `protocol`: string +> `protocol`: "blackhole" | "dns" | "freedom" | "http" | "loopback" | "shadowsocks" | "socks" | "trojan" | "vless" | "vmess" | "wireguard" -连接协议名称,可选的协议列表见左侧 出站代理。 +连接协议名称,可选的协议列表见左侧 [出站协议](./outbounds/)。 > `settings`: OutboundConfigurationObject