diff --git a/docs/config/api.md b/docs/config/api.md index 69f2ce15..92999108 100644 --- a/docs/config/api.md +++ b/docs/config/api.md @@ -53,7 +53,7 @@ API 服务监听的 IP 和端口。这是一个可选配置项。 { "listen": "127.0.0.1", "port": 10085, - "protocol": "dokodemo-door", + "protocol": "tunnel", "settings": { "rewriteAddress": "127.0.0.1" }, diff --git a/docs/config/inbound.md b/docs/config/inbound.md index bee54341..f72ea6fc 100644 --- a/docs/config/inbound.md +++ b/docs/config/inbound.md @@ -54,7 +54,7 @@ 注意,监听一个端口是相当昂贵的操作,监听端口范围太大可能造成占用显著提高甚至导致 Xray 无法正常工作,一般来说监听数量接近四位数时可能就会开始出现问题,要使用一个很大的范围请考虑使用 iptables 进行重定向而不是在这里设置。 -> `protocol`: "dokodemo-door" | "http" | "shadowsocks" | "socks" | "vless" | "vmess" | "trojan" | "wireguard" | "hysteria" +> `protocol`: "tunnel" | "http" | "shadowsocks" | "socks" | "vless" | "vmess" | "trojan" | "wireguard" | "hysteria" | "tun" 连接协议名称,可选的协议列表见左侧 [入站协议](./inbounds/)。 diff --git a/docs/config/inbounds/tunnel.md b/docs/config/inbounds/tunnel.md index e880f729..d0ea43e2 100644 --- a/docs/config/inbounds/tunnel.md +++ b/docs/config/inbounds/tunnel.md @@ -48,7 +48,7 @@ Tunnel(隧道),旧称 dokodemo-door(任意门),可以监听数个本 > `followRedirect`: true | false -当值为 `true` 时,dokodemo-door 会识别出由 iptables 转发而来的数据,并转发到相应的目标地址。 +当值为 `true` 时,tunnel 会识别出由 iptables 转发而来的数据,并转发到相应的目标地址。 可参考 [传输配置](../transports/sockopt.md#sockoptobject) 中的 `tproxy` 设置。 diff --git a/docs/config/outbounds/dns.md b/docs/config/outbounds/dns.md index c5210e5b..af387f8e 100644 --- a/docs/config/outbounds/dns.md +++ b/docs/config/outbounds/dns.md @@ -2,7 +2,7 @@ DNS 是一个出站协议,用于接收由 routing 送入的 DNS 查询,并按规则转发或处理。 -此出站只支持传统明文 DNS,即基于 UDP 和 TCP 的查询;DoH、DoT、DoQ 等非传统明文 DNS 不适用于此出站。常见场景是 TUN、透明代理或 `dokodemo-door` 接收到 DNS 流量后,再由 routing 将其分流到此出站。 +此出站只支持传统明文 DNS,即基于 UDP 和 TCP 的查询;DoH、DoT、DoQ 等非传统明文 DNS 不适用于此出站。常见场景是 TUN、透明代理或 `tunnel` 接收到 DNS 流量后,再由 routing 将其分流到此出站。 它可以按规则将查询放行到目标 DNS 服务器、`hijack` 到内置的 [DNS 服务器](../dns.md) 进一步处理、直接丢弃或按指定 RCODE 返回响应,也可以改写目标地址、端口和传输协议。 diff --git a/docs/config/reverse.md b/docs/config/reverse.md index c458a737..76fcb206 100644 --- a/docs/config/reverse.md +++ b/docs/config/reverse.md @@ -219,7 +219,7 @@ inbound: // 直接接收来自公网的请求 "tag": "external", "port": 80, - "protocol": "dokodemo-door", + "protocol": "tunnel", "settings": { "allowedNetwork": "tcp", "rewriteAddress": "127.0.0.1", diff --git a/docs/config/transports/sockopt.md b/docs/config/transports/sockopt.md index 6f7109b5..7ea92c2a 100644 --- a/docs/config/transports/sockopt.md +++ b/docs/config/transports/sockopt.md @@ -87,7 +87,7 @@ Sockopt 用于配置底层网络行为。 透明代理需要 Root 或 `CAP_NET_ADMIN` 权限。 ::: danger -当 [Dokodemo-door](../inbounds/tunnel.md) 中指定了 `followRedirect`为`true`,且 Sockopt 设置中的`tproxy` 为空时,Sockopt +当 [tunnel](../inbounds/tunnel.md) 中指定了 `followRedirect`为`true`,且 Sockopt 设置中的`tproxy` 为空时,Sockopt 设置中的`tproxy` 的值会被设为 `"redirect"`。 ::: diff --git a/docs/config/transports/tls.md b/docs/config/transports/tls.md index fcfb6bad..f5cc67cb 100644 --- a/docs/config/transports/tls.md +++ b/docs/config/transports/tls.md @@ -51,13 +51,13 @@ TLS 是常见的传输层加密方式。 当留空时,自动使用 address 中的值(如果是域名)。 -特殊值 `"FromMitM"`, 这会使其使用入来自 dokodemo-door 入站解密的 TLS 中包含的 SNI. +特殊值 `"FromMitM"`, 这会使其使用入来自 tunnel 入站解密的 TLS 中包含的 SNI. > `verifyPeerCertByName`: string 仅客户端,用于校验证书使用的 SNI,可以用 `,` 分割多个域名(只需要证书中有一个 SAN 在该列表中即可), 将会覆盖本用于校验的 `serverName`, 用于域前置等特殊目的。 -特殊值 `"FromMitM"`, 这会使其额外加入来自 dokodemo-door 入站解密的 TLS 中包含的 SNI. +特殊值 `"FromMitM"`, 这会使其额外加入来自 tunnel 入站解密的 TLS 中包含的 SNI. > `rejectUnknownSni`: bool @@ -67,7 +67,7 @@ TLS 是常见的传输层加密方式。 一个字符串数组,指定了 TLS 握手时指定的 ALPN 数值。默认值为 `["h2", "http/1.1"]`。 -特殊值:`["FromMitM"]` (有且仅有这一个元素时) 会使出站 TLS 使用来自 dokodemo-door 入站解密的 TLS 连接使用的 alpn. +特殊值:`["FromMitM"]` (有且仅有这一个元素时) 会使出站 TLS 使用来自 tunnel 入站解密的 TLS 连接使用的 alpn. > `minVersion`: string diff --git a/docs/development/intro/guide.md b/docs/development/intro/guide.md index 4e2d6b3e..117e41ff 100644 --- a/docs/development/intro/guide.md +++ b/docs/development/intro/guide.md @@ -102,7 +102,7 @@ Xray-core ├── common // 公用代码 ├── proxy // 通讯协议 │ ├── blackhole -│ ├── dokodemo-door +│ ├── dokodemo │ ├── freedom │ ├── socks │ ├── vmess diff --git a/docs/document/level-2/iptables_gid.md b/docs/document/level-2/iptables_gid.md index fb4156b3..80c00388 100644 --- a/docs/document/level-2/iptables_gid.md +++ b/docs/document/level-2/iptables_gid.md @@ -98,7 +98,7 @@ iptables -t mangle -A OUTPUT -m owner ! --gid-owner 23333 -j XRAY_SELF "inbounds": [ { "port": 12345, - "protocol": "dokodemo-door", + "protocol": "tunnel", "settings": { "allowedNetwork": "tcp,udp", "followRedirect": true diff --git a/docs/document/level-2/nginx_or_haproxy_tls_tunnel.md b/docs/document/level-2/nginx_or_haproxy_tls_tunnel.md index d5bfa8b6..c3290193 100644 --- a/docs/document/level-2/nginx_or_haproxy_tls_tunnel.md +++ b/docs/document/level-2/nginx_or_haproxy_tls_tunnel.md @@ -159,7 +159,7 @@ WantedBy=multi-user.target { "tag": "tproxy-in", "port": 12345, - "protocol": "dokodemo-door", + "protocol": "tunnel", "settings": { "allowedNetwork": "tcp,udp", "followRedirect": true diff --git a/docs/document/level-2/redirect.md b/docs/document/level-2/redirect.md index bbc90a7e..5596d72e 100644 --- a/docs/document/level-2/redirect.md +++ b/docs/document/level-2/redirect.md @@ -103,7 +103,7 @@ lsmod | grep wireguard { "listen": "127.0.0.1", "port": 12345, // - "protocol": "dokodemo-door", + "protocol": "tunnel", "settings": { "rewriteAddress": "127.0.0.1" }, diff --git a/docs/document/level-2/tproxy.md b/docs/document/level-2/tproxy.md index eda46d5c..52bf1d61 100644 --- a/docs/document/level-2/tproxy.md +++ b/docs/document/level-2/tproxy.md @@ -32,7 +32,7 @@ sudo curl -oL /usr/local/share/xray/geosite.dat https://github.com/Loyalsoldier/ { "tag": "all-in", "port": 12345, - "protocol": "dokodemo-door", + "protocol": "tunnel", "settings": { "allowedNetwork": "tcp,udp", "followRedirect": true diff --git a/docs/document/level-2/tproxy_ipv4_and_ipv6.md b/docs/document/level-2/tproxy_ipv4_and_ipv6.md index f8504c8c..768aa83a 100644 --- a/docs/document/level-2/tproxy_ipv4_and_ipv6.md +++ b/docs/document/level-2/tproxy_ipv4_and_ipv6.md @@ -34,7 +34,7 @@ { "tag": "all-in", "port": 12345, - "protocol": "dokodemo-door", + "protocol": "tunnel", "settings": { "allowedNetwork": "tcp,udp", "followRedirect": true diff --git a/docs/document/level-2/traffic_stats.md b/docs/document/level-2/traffic_stats.md index 9ee57a30..35823f88 100644 --- a/docs/document/level-2/traffic_stats.md +++ b/docs/document/level-2/traffic_stats.md @@ -5,7 +5,7 @@ ## 查看流量信息 配置方法与 v2fly 一致。 -查看流量信息是 xray 命令行的其中一个功能。配置内设置的 api dokodemo-door 端口,即为 `--server` 参数的端口。 +查看流量信息是 xray 命令行的其中一个功能。配置内设置的 api tunnel 端口,即为 `--server` 参数的端口。 ```bash xray api statsquery --server=127.0.0.1:10085 #查看所有流量 diff --git a/docs/document/level-2/transparent_proxy/transparent_proxy.md b/docs/document/level-2/transparent_proxy/transparent_proxy.md index 9b8fb798..3ee16854 100644 --- a/docs/document/level-2/transparent_proxy/transparent_proxy.md +++ b/docs/document/level-2/transparent_proxy/transparent_proxy.md @@ -111,7 +111,7 @@ Linux 使用`Netfilter`来管理网络,`Netfilter`模型如下: "inbounds": [ { "port": 12345, - "protocol": "dokodemo-door", + "protocol": "tunnel", "settings": { "allowedNetwork": "tcp,udp", "followRedirect": true diff --git a/docs/en/config/api.md b/docs/en/config/api.md index 77ee79e8..c9d8f6c6 100644 --- a/docs/en/config/api.md +++ b/docs/en/config/api.md @@ -53,7 +53,7 @@ You can add an `api` inbound in the `inbounds` configuration: { "listen": "127.0.0.1", "port": 10085, - "protocol": "dokodemo-door", + "protocol": "tunnel", "settings": { "rewriteAddress": "127.0.0.1" }, diff --git a/docs/en/config/inbound.md b/docs/en/config/inbound.md index 6e4d8720..c062b9e4 100644 --- a/docs/en/config/inbound.md +++ b/docs/en/config/inbound.md @@ -54,7 +54,7 @@ When only one port is specified, Xray will listen for inbound connections on thi Note that listening on a port is a relatively expensive operation. Listening on a port range that is too large may cause a significant increase in resource usage or even cause Xray to fail to work properly. Generally speaking, problems may begin to appear when the number of listening ports approaches four digits. If you need to use a very large range, please consider using iptables for redirection instead of setting it here. -> `protocol`: "dokodemo-door" | "http" | "shadowsocks" | "socks" | "vless" | "vmess" | "trojan" | "wireguard" | "hysteria" +> `protocol`: "tunnel" | "http" | "shadowsocks" | "socks" | "vless" | "vmess" | "trojan" | "wireguard" | "hysteria" | "tun" Connection protocol name. See the list of available [Inbound Protocols](./inbounds/) on the left. diff --git a/docs/en/config/inbounds/tunnel.md b/docs/en/config/inbounds/tunnel.md index edc7ed39..0525f674 100644 --- a/docs/en/config/inbounds/tunnel.md +++ b/docs/en/config/inbounds/tunnel.md @@ -48,7 +48,7 @@ A map mapping local ports to required remote addresses/ports (if the inbound lis > `followRedirect`: true | false -When set to `true`, dokodemo-door will recognize data forwarded by iptables and forward it to the corresponding target address. +When set to `true`, tunnel will recognize data forwarded by iptables and forward it to the corresponding target address. Please refer to the `tproxy` setting in [Sockopt](../transports/sockopt.md#sockoptobject). @@ -62,7 +62,7 @@ The value of `userLevel` corresponds to the value of `level` in [policy](../poli The "Arbitrary Door" has two main uses: one is for transparent proxy (see below), and the other is for mapping a port. -Sometimes some services do not support forward proxies like Socks5, and using Tun or Tproxy is overkill. If these services only communicate with a single IP and port (e.g., iperf, Minecraft server, Wireguard endpoint), you can use dokodemo-door. +Sometimes some services do not support forward proxies like Socks5, and using Tun or Tproxy is overkill. If these services only communicate with a single IP and port (e.g., iperf, Minecraft server, Wireguard endpoint), you can use `tunnel`. For example, the following Config (assuming the default outbound is a valid proxy): diff --git a/docs/en/config/metrics.md b/docs/en/config/metrics.md index 22dae624..83f470f8 100644 --- a/docs/en/config/metrics.md +++ b/docs/en/config/metrics.md @@ -17,7 +17,7 @@ A more direct (and hopefully better) way to export statistics. > `tag`: string -The outbound proxy tag corresponding to metrics. You can access it by setting up a dokodemo-door inbound + routing rules that point the dokodemo-door to this outbound. +The outbound proxy tag corresponding to metrics. You can access it by setting up a `tunnel` inbound + routing rules that point the `tunnel` to this outbound. > `listen`: string diff --git a/docs/en/config/outbounds/dns.md b/docs/en/config/outbounds/dns.md index 16452fb3..f2a1b0b4 100644 --- a/docs/en/config/outbounds/dns.md +++ b/docs/en/config/outbounds/dns.md @@ -2,7 +2,7 @@ DNS is an outbound protocol used to receive DNS queries sent in by routing, then forward or process them according to rules. -This outbound only supports traditional plaintext DNS queries over UDP and TCP; non-plaintext DNS protocols such as DoH, DoT, and DoQ are not applicable to this outbound. Common scenarios include TUN, transparent proxy, or `dokodemo-door` receiving DNS traffic and then routing sending that traffic to this outbound. +This outbound only supports traditional plaintext DNS queries over UDP and TCP; non-plaintext DNS protocols such as DoH, DoT, and DoQ are not applicable to this outbound. Common scenarios include TUN, transparent proxy, or `tunnel` receiving DNS traffic and then routing sending that traffic to this outbound. It can allow queries to the target DNS server, `hijack` them to the built-in [DNS server](../dns.md) for further processing, drop them, or return responses with a specified RCODE according to rules. It can also rewrite the target address, port, and transport protocol. diff --git a/docs/en/config/reverse.md b/docs/en/config/reverse.md index 552ec19c..e72be53d 100644 --- a/docs/en/config/reverse.md +++ b/docs/en/config/reverse.md @@ -220,7 +220,7 @@ Inbounds: // Directly receive requests from the public internet "tag": "external", "port": 80, - "protocol": "dokodemo-door", + "protocol": "tunnel", "settings": { "allowedNetwork": "tcp", "rewriteAddress": "127.0.0.1", diff --git a/docs/en/config/transports/sockopt.md b/docs/en/config/transports/sockopt.md index 226d34fe..b2eda7e8 100644 --- a/docs/en/config/transports/sockopt.md +++ b/docs/en/config/transports/sockopt.md @@ -84,7 +84,7 @@ Whether to enable transparent proxying. Linux only. Transparent proxying requires root or `CAP_NET_ADMIN`. ::: danger -When [Dokodemo-door](../inbounds/tunnel.md) has `followRedirect` set to `true`, and `tproxy` is empty in Sockopt, the `tproxy` value is set to `"redirect"`. +When [tunnel](../inbounds/tunnel.md) has `followRedirect` set to `true`, and `tproxy` is empty in Sockopt, the `tproxy` value is set to `"redirect"`. ::: > `domainStrategy`: "AsIs"
diff --git a/docs/en/config/transports/tls.md b/docs/en/config/transports/tls.md index eb4e4109..443d3c79 100644 --- a/docs/en/config/transports/tls.md +++ b/docs/en/config/transports/tls.md @@ -51,13 +51,13 @@ Server name. The server certificate's SAN must contain this value. It can be a d When left empty, the value in `address` is used automatically if that value is a domain name. -Special value `"FromMitM"` causes Xray to use the SNI extracted from TLS decrypted by a `dokodemo-door` inbound. +Special value `"FromMitM"` causes Xray to use the SNI extracted from TLS decrypted by a `tunnel` inbound. > `verifyPeerCertByName`: string Client-only. The SNI used for certificate verification. Multiple domain names can be separated with `,`; it is enough for any one SAN in the certificate to match one of them. This overrides the `serverName` used for verification and is intended for special cases such as domain fronting. -Special value `"FromMitM"` causes Xray to additionally include the SNI extracted from TLS decrypted by a `dokodemo-door` inbound. +Special value `"FromMitM"` causes Xray to additionally include the SNI extracted from TLS decrypted by a `tunnel` inbound. > `rejectUnknownSni`: bool @@ -67,7 +67,7 @@ When set to `true`, the server rejects the TLS handshake if the received SNI doe An array of strings that specifies the ALPN values used during TLS handshake. The default value is `["h2", "http/1.1"]`. -Special value `["FromMitM"]`, when it is the only element, causes outbound TLS to reuse the ALPN from the TLS connection decrypted by a `dokodemo-door` inbound. +Special value `["FromMitM"]`, when it is the only element, causes outbound TLS to reuse the ALPN from the TLS connection decrypted by a `tunnel` inbound. > `minVersion`: string diff --git a/docs/en/development/intro/guide.md b/docs/en/development/intro/guide.md index 35dff594..a90e715f 100644 --- a/docs/en/development/intro/guide.md +++ b/docs/en/development/intro/guide.md @@ -102,7 +102,7 @@ Xray-core ├── common // Common code ├── proxy // Communication protocols │ ├── blackhole -│ ├── dokodemo-door +│ ├── dokodemo- │ ├── freedom │ ├── socks │ ├── vmess diff --git a/docs/en/document/level-2/iptables_gid.md b/docs/en/document/level-2/iptables_gid.md index 65d0d96d..16664ebf 100644 --- a/docs/en/document/level-2/iptables_gid.md +++ b/docs/en/document/level-2/iptables_gid.md @@ -87,14 +87,14 @@ iptables -t mangle -A OUTPUT -m owner ! --gid-owner 23333 -j XRAY_SELF ### 2. Prepare Xray Configuration File -Configure Xray `dokodemo-door` to listen on port 12345, enable `followRedirect` and `tproxy`. Setting `sniffing` is not required: +Configure Xray `tunnel` to listen on port 12345, enable `followRedirect` and `tproxy`. Setting `sniffing` is not required: ```json { "inbounds": [ { "port": 12345, - "protocol": "dokodemo-door", + "protocol": "tunnel", "settings": { "allowedNetwork": "tcp,udp", "followRedirect": true @@ -184,7 +184,7 @@ iptables -t mangle -A XRAY -d 224.0.0.0/3 -j RETURN iptables -t mangle -A XRAY ! -s Gateway_LAN_IPv4_Subnet -j RETURN # Mark TCP packets with 1, forward to port 12345 -# Traffic is accepted by Xray dokodemo-door only if mark is set to 1 +# Traffic is accepted by Xray tunnel only if mark is set to 1 iptables -t mangle -A XRAY -p tcp -j TPROXY --on-port 12345 --tproxy-mark 1 iptables -t mangle -A XRAY -p udp -j TPROXY --on-port 12345 --tproxy-mark 1 # Apply rules diff --git a/docs/en/document/level-2/nginx_or_haproxy_tls_tunnel.md b/docs/en/document/level-2/nginx_or_haproxy_tls_tunnel.md index df02be32..0d9b67cd 100644 --- a/docs/en/document/level-2/nginx_or_haproxy_tls_tunnel.md +++ b/docs/en/document/level-2/nginx_or_haproxy_tls_tunnel.md @@ -158,7 +158,7 @@ Enable auto-start on boot: { "tag": "tproxy-in", "port": 12345, - "protocol": "dokodemo-door", + "protocol": "tunnel", "settings": { "allowedNetwork": "tcp,udp", "followRedirect": true diff --git a/docs/en/document/level-2/redirect.md b/docs/en/document/level-2/redirect.md index f244bbd3..b802318e 100644 --- a/docs/en/document/level-2/redirect.md +++ b/docs/en/document/level-2/redirect.md @@ -102,7 +102,7 @@ lsmod | grep wireguard { "listen": "127.0.0.1", "port": 12345, // - "protocol": "dokodemo-door", + "protocol": "tunnel", "settings": { "rewriteAddress": "127.0.0.1" }, diff --git a/docs/en/document/level-2/tproxy.md b/docs/en/document/level-2/tproxy.md index 7939c511..0f833421 100644 --- a/docs/en/document/level-2/tproxy.md +++ b/docs/en/document/level-2/tproxy.md @@ -32,7 +32,7 @@ sudo curl -oL /usr/local/share/xray/geosite.dat https://github.com/Loyalsoldier/ { "tag": "all-in", "port": 12345, - "protocol": "dokodemo-door", + "protocol": "tunnel", "settings": { "allowedNetwork": "tcp,udp", "followRedirect": true diff --git a/docs/en/document/level-2/tproxy_ipv4_and_ipv6.md b/docs/en/document/level-2/tproxy_ipv4_and_ipv6.md index ee74a5c0..cac59d50 100644 --- a/docs/en/document/level-2/tproxy_ipv4_and_ipv6.md +++ b/docs/en/document/level-2/tproxy_ipv4_and_ipv6.md @@ -34,7 +34,7 @@ If the Xray program is not installed on the side router, you can manually downlo { "tag": "all-in", "port": 12345, - "protocol": "dokodemo-door", + "protocol": "tunnel", "settings": { "allowedNetwork": "tcp,udp", "followRedirect": true diff --git a/docs/en/document/level-2/traffic_stats.md b/docs/en/document/level-2/traffic_stats.md index 48c0556c..b168a3f0 100644 --- a/docs/en/document/level-2/traffic_stats.md +++ b/docs/en/document/level-2/traffic_stats.md @@ -5,7 +5,7 @@ Please familiarize yourself with the [Traffic Statistics Plain Language Guide](h ## Viewing Traffic Information The configuration method is consistent with v2fly. -Viewing traffic information is one of the features of the xray command line. The `api dokodemo-door` port set in the configuration corresponds to the port for the `--server` parameter. +Viewing traffic information is one of the features of the xray command line. The `api tunnel` port set in the configuration corresponds to the port for the `--server` parameter. ```bash xray api statsquery --server=127.0.0.1:10085 # View all traffic statistics diff --git a/docs/en/document/level-2/transparent_proxy/transparent_proxy.md b/docs/en/document/level-2/transparent_proxy/transparent_proxy.md index 2712db0b..2711ab19 100644 --- a/docs/en/document/level-2/transparent_proxy/transparent_proxy.md +++ b/docs/en/document/level-2/transparent_proxy/transparent_proxy.md @@ -111,7 +111,7 @@ The configuration file should listen on port 12345 and enable tproxy: "inbounds": [ { "port": 12345, - "protocol": "dokodemo-door", + "protocol": "tunnel", "settings": { "allowedNetwork": "tcp,udp", "followRedirect": true diff --git a/docs/ru/config/api.md b/docs/ru/config/api.md index 31b21c0c..dbadcf07 100644 --- a/docs/ru/config/api.md +++ b/docs/ru/config/api.md @@ -57,7 +57,7 @@ IP-адрес и порт, на котором прослушивает API-се { "listen": "127.0.0.1", "port": 10085, - "protocol": "dokodemo-door", + "protocol": "tunnel", "settings": { "rewriteAddress": "127.0.0.1" }, diff --git a/docs/ru/config/inbound.md b/docs/ru/config/inbound.md index 61e1bf7a..20076f3f 100644 --- a/docs/ru/config/inbound.md +++ b/docs/ru/config/inbound.md @@ -59,7 +59,7 @@ Обратите внимание, что прослушивание порта — это довольно ресурсоемкая операция. Прослушивание слишком большого диапазона портов может привести к значительному увеличению потребляемых ресурсов и даже нарушить нормальную работу Xray. Как правило, проблемы могут начаться, когда количество прослушиваемых портов приближается к четырехзначным числам. Если вам нужен большой диапазон, рассмотрите возможность использования iptables для перенаправления вместо того, чтобы настраивать его здесь. -> `protocol`: "dokodemo-door" | "http" | "shadowsocks" | "socks" | "vless" | "vmess" | "trojan" | "wireguard" | "hysteria" +> `protocol`: "tunnel" | "http" | "shadowsocks" | "socks" | "vless" | "vmess" | "trojan" | "wireguard" | "hysteria" | "tun" Название протокола соединения. Список доступных протоколов см. в разделе [Входящие протоколы](./inbounds/) в меню слева. diff --git a/docs/ru/config/inbounds/tunnel.md b/docs/ru/config/inbounds/tunnel.md index f579410a..f6cb4202 100644 --- a/docs/ru/config/inbounds/tunnel.md +++ b/docs/ru/config/inbounds/tunnel.md @@ -48,7 +48,7 @@ > `followRedirect`: true | false -Если значение равно `true`, dokodemo-door будет распознавать данные, перенаправленные iptables, и пересылать их на соответствующий целевой адрес. +Если значение равно `true`, tunnel будет распознавать данные, перенаправленные iptables, и пересылать их на соответствующий целевой адрес. См. настройку `tproxy` в разделе [Sockopt](../transports/sockopt.md#sockoptobject). diff --git a/docs/ru/config/outbounds/dns.md b/docs/ru/config/outbounds/dns.md index 327aa9b6..07bc7bf6 100644 --- a/docs/ru/config/outbounds/dns.md +++ b/docs/ru/config/outbounds/dns.md @@ -2,7 +2,7 @@ DNS — это исходящий протокол, который принимает DNS-запросы, переданные routing, и пересылает или обрабатывает их по правилам. -Этот outbound поддерживает только традиционный открытый DNS, то есть запросы по UDP и TCP; нестандартные для него варианты, такие как DoH, DoT и DoQ, к этому outbound не применимы. Типичные сценарии: TUN, прозрачный прокси или `dokodemo-door` принимают DNS-трафик, после чего routing направляет его в этот outbound. +Этот outbound поддерживает только традиционный открытый DNS, то есть запросы по UDP и TCP; нестандартные для него варианты, такие как DoH, DoT и DoQ, к этому outbound не применимы. Типичные сценарии: TUN, прозрачный прокси или `tunnel` принимают DNS-трафик, после чего routing направляет его в этот outbound. По правилам он может пропускать запросы к целевому DNS-серверу, выполнять `hijack` во встроенный [DNS-сервер](../dns.md) для дальнейшей обработки, отбрасывать запросы или возвращать ответы с указанным RCODE. Также он может изменять целевой адрес, порт и транспортный протокол. diff --git a/docs/ru/config/reverse.md b/docs/ru/config/reverse.md index a2bece53..fa43115e 100644 --- a/docs/ru/config/reverse.md +++ b/docs/ru/config/reverse.md @@ -220,7 +220,7 @@ inbound: // Прямой прием запросов из Интернета "tag": "external", "port": 80, - "protocol": "dokodemo-door", + "protocol": "tunnel", "settings": { "allowedNetwork": "tcp", "rewriteAddress": "127.0.0.1", diff --git a/docs/ru/config/transports/sockopt.md b/docs/ru/config/transports/sockopt.md index a1de6dd1..977bf261 100644 --- a/docs/ru/config/transports/sockopt.md +++ b/docs/ru/config/transports/sockopt.md @@ -84,7 +84,7 @@ Sockopt используется для настройки низкоуровн Для прозрачного проксирования нужны root или `CAP_NET_ADMIN`. ::: danger -Если в [Dokodemo-door](../inbounds/tunnel.md) параметр `followRedirect` равен `true`, а `tproxy` в Sockopt пустой, то значение `tproxy` будет автоматически установлено в `"redirect"`. +Если в [tunnel](../inbounds/tunnel.md) параметр `followRedirect` равен `true`, а `tproxy` в Sockopt пустой, то значение `tproxy` будет автоматически установлено в `"redirect"`. ::: > `domainStrategy`: "AsIs"
diff --git a/docs/ru/config/transports/tls.md b/docs/ru/config/transports/tls.md index e8eabb53..d216aa53 100644 --- a/docs/ru/config/transports/tls.md +++ b/docs/ru/config/transports/tls.md @@ -51,13 +51,13 @@ TLS — это обычный механизм защиты транспорта Если поле пустое, Xray автоматически использует значение `address`, если это доменное имя. -Специальное значение `"FromMitM"` заставляет использовать SNI, извлеченный из TLS, расшифрованного входящим `dokodemo-door`. +Специальное значение `"FromMitM"` заставляет использовать SNI, извлеченный из TLS, расшифрованного входящим `tunnel`. > `verifyPeerCertByName`: string Только для клиента. SNI, используемый при проверке сертификата. Можно указать несколько доменов через `,`; достаточно, чтобы хотя бы один SAN сертификата совпал с одним из них. Это поле переопределяет `serverName`, используемый для проверки, и нужно для специальных сценариев вроде domain fronting. -Специальное значение `"FromMitM"` дополнительно добавляет SNI, извлеченный из TLS, расшифрованного входящим `dokodemo-door`. +Специальное значение `"FromMitM"` дополнительно добавляет SNI, извлеченный из TLS, расшифрованного входящим `tunnel`. > `rejectUnknownSni`: bool @@ -67,7 +67,7 @@ TLS — это обычный механизм защиты транспорта Массив строк, задающий значения ALPN при TLS-рукопожатии. Значение по умолчанию — `["h2", "http/1.1"]`. -Специальное значение `["FromMitM"]`, когда это единственный элемент массива, заставляет исходящий TLS использовать ALPN из TLS-соединения, расшифрованного входящим `dokodemo-door`. +Специальное значение `["FromMitM"]`, когда это единственный элемент массива, заставляет исходящий TLS использовать ALPN из TLS-соединения, расшифрованного входящим `tunnel`. > `minVersion`: string diff --git a/docs/ru/development/intro/guide.md b/docs/ru/development/intro/guide.md index 89655647..32138159 100644 --- a/docs/ru/development/intro/guide.md +++ b/docs/ru/development/intro/guide.md @@ -102,7 +102,7 @@ Xray-core ├── common // Общий код ├── proxy // Протоколы связи │ ├── blackhole -│ ├── dokodemo-door +│ ├── dokodemo │ ├── freedom │ ├── socks │ ├── vmess diff --git a/docs/ru/document/level-2/iptables_gid.md b/docs/ru/document/level-2/iptables_gid.md index dc319e59..88602a07 100644 --- a/docs/ru/document/level-2/iptables_gid.md +++ b/docs/ru/document/level-2/iptables_gid.md @@ -96,7 +96,7 @@ iptables -t mangle -A OUTPUT -m owner ! --gid-owner 23333 -j XRAY_SELF "inbounds": [ { "port": 12345, - "protocol": "dokodemo-door", + "protocol": "tunnel", "settings": { "allowedNetwork": "tcp,udp", "followRedirect": true diff --git a/docs/ru/document/level-2/nginx_or_haproxy_tls_tunnel.md b/docs/ru/document/level-2/nginx_or_haproxy_tls_tunnel.md index c05b23fd..4b4d209a 100644 --- a/docs/ru/document/level-2/nginx_or_haproxy_tls_tunnel.md +++ b/docs/ru/document/level-2/nginx_or_haproxy_tls_tunnel.md @@ -159,7 +159,7 @@ WantedBy=multi-user.target { "tag": "tproxy-in", "port": 12345, - "protocol": "dokodemo-door", + "protocol": "tunnel", "settings": { "allowedNetwork": "tcp,udp", "followRedirect": true diff --git a/docs/ru/document/level-2/redirect.md b/docs/ru/document/level-2/redirect.md index ffdbda00..108fd549 100644 --- a/docs/ru/document/level-2/redirect.md +++ b/docs/ru/document/level-2/redirect.md @@ -102,7 +102,7 @@ lsmod | grep wireguard { "listen": "127.0.0.1", "port": 12345, // - "protocol": "dokodemo-door", + "protocol": "tunnel", "settings": { "rewriteAddress": "127.0.0.1" }, diff --git a/docs/ru/document/level-2/tproxy.md b/docs/ru/document/level-2/tproxy.md index 4dba9954..ecf31f21 100644 --- a/docs/ru/document/level-2/tproxy.md +++ b/docs/ru/document/level-2/tproxy.md @@ -33,7 +33,7 @@ sudo curl -oL /usr/local/share/xray/geosite.dat https://github.com/Loyalsoldier/ { "tag": "all-in", "port": 12345, - "protocol": "dokodemo-door", + "protocol": "tunnel", "settings": { "allowedNetwork": "tcp,udp", "followRedirect": true diff --git a/docs/ru/document/level-2/tproxy_ipv4_and_ipv6.md b/docs/ru/document/level-2/tproxy_ipv4_and_ipv6.md index d14ac91f..d0053302 100644 --- a/docs/ru/document/level-2/tproxy_ipv4_and_ipv6.md +++ b/docs/ru/document/level-2/tproxy_ipv4_and_ipv6.md @@ -34,7 +34,7 @@ { "tag": "all-in", "port": 12345, - "protocol": "dokodemo-door", + "protocol": "tunnel", "settings": { "allowedNetwork": "tcp,udp", "followRedirect": true diff --git a/docs/ru/document/level-2/traffic_stats.md b/docs/ru/document/level-2/traffic_stats.md index b19255b1..53a88545 100644 --- a/docs/ru/document/level-2/traffic_stats.md +++ b/docs/ru/document/level-2/traffic_stats.md @@ -6,7 +6,7 @@ ## Просмотр статистики трафика Способ настройки такой же, как и для v2fly. -Просмотр статистики трафика - одна из функций командной строки Xray. Порт api dokodemo-door, указанный в конфигурации, - это порт, используемый в параметре `--server`. +Просмотр статистики трафика - одна из функций командной строки Xray. Порт api tunnel, указанный в конфигурации, - это порт, используемый в параметре `--server`. ```bash xray api statsquery --server=127.0.0.1:10085 # Просмотр всей статистики трафика diff --git a/docs/ru/document/level-2/transparent_proxy/transparent_proxy.md b/docs/ru/document/level-2/transparent_proxy/transparent_proxy.md index af091f61..a664338c 100644 --- a/docs/ru/document/level-2/transparent_proxy/transparent_proxy.md +++ b/docs/ru/document/level-2/transparent_proxy/transparent_proxy.md @@ -105,7 +105,7 @@ Linux использует `Netfilter` для управления сетью, "inbounds": [ { "port": 12345, - "protocol": "dokodemo-door", + "protocol": "tunnel", "settings": { "allowedNetwork": "tcp,udp", "followRedirect": true