mirror of
https://github.com/XTLS/Xray-docs-next.git
synced 2026-09-22 22:38:05 +03:00
Fix anchor links (#784)
* Uppercase to lowercase and old anchor fixes * Fix incorrect links to generated headers * Fix incorrect links to generated date headers
This commit is contained in:
+2
-2
@@ -554,7 +554,7 @@ Shadowsocks-2022 是重新设计的全新协议:
|
||||
## 2021.01.15 <Badge>[1.2.2](https://github.com/XTLS/Xray-core/releases/tag/v1.2.2)</Badge>
|
||||
|
||||
- 回落分流又解锁了奇怪的新姿势! 回落中可以根据 SNI 分流啦~!
|
||||
- 之前预告的 UUID 修改正式上线.([往下看往下看](#2021.01.12))
|
||||
- 之前预告的 UUID 修改正式上线.([往下看往下看](#_2021-01-12))
|
||||
- 日志现在看起来比上一次顺眼又更顺眼了一丢丢.
|
||||
- 远程 DOH 和其他的 DNS 模式一样学会了走路由分流.
|
||||
- 当然还有其他各种小糖果.(更新品尝就对了)
|
||||
@@ -599,7 +599,7 @@ Shadowsocks-2022 是重新设计的全新协议:
|
||||
|
||||
🎁 在元旦的最后几分钟,v1.2.0 它来了,带着周五必更的惯例,带着各位贡献大佬的心血以及 @rprxx 的黑眼圈,不负众望的来了!
|
||||
|
||||
- 圣诞礼物[v1.1.5](#20201225)后的元旦礼物 🎁,游戏玩家大福利,全面 FullCone。
|
||||
- 圣诞礼物[v1.1.5](#_2020-12-25-1-1-5)后的元旦礼物 🎁,游戏玩家大福利,全面 FullCone。
|
||||
- (UDP 还会继续增强!)
|
||||
- 如果你已经拆过圣诞礼物,这次还有比圣诞礼物更精美的包装和小糖果哦。(同样不用问,更新品尝就对了)
|
||||
- (不,下面不是广告,是里程碑。)
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
|
||||
一个字符串数组,其中每一个字符串将用于和出站代理标识的前缀匹配。在以下几个出站代理标识中:`[ "a", "ab", "c", "ba" ]`,`"subjectSelector": ["a"]` 将匹配到 `[ "a", "ab" ]`。
|
||||
|
||||
> `pingConfig`: [PingConfigObject](#PingConfigObject)
|
||||
> `pingConfig`: [PingConfigObject](#pingconfigobject)
|
||||
|
||||
### PingConfigObject
|
||||
|
||||
|
||||
@@ -87,7 +87,7 @@ iptables -t mangle -A OUTPUT -j XRAY_SELF
|
||||
iptables -t mangle -A OUTPUT -m owner ! --gid-owner 23333 -j XRAY_SELF
|
||||
```
|
||||
|
||||
3. 修改运行 Xray 的方式,使其运行在 uid 为 0,gid 为 23333 的用户上,参考[这里](#3-配置最大文件打开数运行xray客户端)。
|
||||
3. 修改运行 Xray 的方式,使其运行在 uid 为 0,gid 为 23333 的用户上,参考[这里](#_3-配置最大文件打开数-运行-xray-客户端)。
|
||||
|
||||
## 下面提供一个实现 tproxy 全局代理的完整配置过程
|
||||
|
||||
|
||||
@@ -549,7 +549,7 @@ The documentation site is quietly undergoing some mysterious changes..., 🙊
|
||||
## 2021.01.15 <Badge>[1.2.2](https://github.com/XTLS/Xray-core/releases/tag/v1.2.2)</Badge>
|
||||
|
||||
- Fallback routing has unlocked a new strange trick! You can now route based on SNI in the fallback!
|
||||
- The previously announced UUID modification is officially live. ([Scroll down, scroll down](#2021.01.12))
|
||||
- The previously announced UUID modification is officially live. ([Scroll down, scroll down](#_2021-01-12))
|
||||
- The logs now look a bit more pleasing to the eye than last time.
|
||||
- Remote DOH has learned to use routing just like other DNS modes.
|
||||
- And of course, various other little candies. (Just update and taste them)
|
||||
@@ -594,7 +594,7 @@ The documentation site is quietly undergoing some mysterious changes..., 🙊
|
||||
|
||||
🎁 In the last few minutes of New Year's Day, v1.2.0 arrived, continuing the tradition of Friday updates, bringing the hard work of all contributors and the dark circles of @rprxx—living up to expectations!
|
||||
|
||||
- The New Year's gift 🎁 following the Christmas gift [v1.1.5](#20201225), a great benefit for gamers, full FullCone support.
|
||||
- The New Year's gift 🎁 following the Christmas gift [v1.1.5](#_2020-12-25-1-1-5), a great benefit for gamers, full FullCone support.
|
||||
- (UDP will continue to be enhanced!)
|
||||
- If you’ve already opened your Christmas gift, this time there’s an even more beautifully wrapped package and little candies. (As always, no need to ask, just update and taste it)
|
||||
- (No, what's below is not an ad, but a milestone.)
|
||||
|
||||
@@ -96,7 +96,7 @@ The domain name can take several forms:
|
||||
- Regular expression: Starting with `"regexp:"`, the rest is a regular expression. When this regular expression matches the target domain name, the rule takes effect. For example, "regexp:\\\\.goo.\*\\\\.com$" matches "www.google.com" and "fonts.googleapis.com", but not "google.com".
|
||||
- Subdomain (recommended): Starting with `"domain:"`, the rest is a domain name. When this domain name is the target domain name or its subdomain, the rule takes effect. For example, "domain:xray.com" matches "www.xray.com" and "xray.com", but not "wxray.com".
|
||||
- Substring: Starting with `"keyword:"`, the rest is a string. When this string matches any part of the target domain name, the rule takes effect. For example, "keyword:sina.com" can match "sina.com", "sina.com.cn", and "www.sina.com", but not "sina.cn".
|
||||
- Predefined domain name list: Starting with `"geosite:"`, the rest is a name, such as `geosite:google` or `geosite:cn`. The names and domain name lists are listed in [Predefined Domain Name Lists](#predefined-domain-name-lists).
|
||||
- Predefined domain name list: Starting with `"geosite:"`, the rest is a name, such as `geosite:google` or `geosite:cn`. The names and domain name lists are listed in [Predefined Domain Name Lists](./routing.md#predefined-domain-lists).
|
||||
|
||||
> `servers`: [string | [DnsServerObject](#dnsserverobject) ]
|
||||
|
||||
|
||||
@@ -64,7 +64,7 @@ The supported network protocol type. For example, when specified as `"tcp"`, it
|
||||
|
||||
> `method`: string
|
||||
|
||||
Required, any of the [supported methods](#supportedencryptionmethods)
|
||||
Required, any of the [supported methods](#supported-encryption-methods)
|
||||
|
||||
> `password`: string
|
||||
|
||||
|
||||
@@ -48,7 +48,7 @@ The interval at which probes are initiated. The time format is a number followed
|
||||
|
||||
An array of strings, where each string is used to match the prefix of outbound proxy identifiers. Among the following outbound proxy identifiers: `["a", "ab", "c", "ba"]`, `"subjectSelector": ["a"]` will match `["a", "ab"]`.
|
||||
|
||||
> `pingConfig`: [PingConfigObject](#PingConfigObject)
|
||||
> `pingConfig`: [PingConfigObject](#pingconfigobject)
|
||||
|
||||
### PingConfigObject
|
||||
|
||||
|
||||
@@ -100,7 +100,7 @@ An array where each item is a domain match. There are several forms:
|
||||
- Regular expression: Starts with `"regexp:"` followed by a regular expression. When this regular expression matches the target domain, the rule takes effect. For example, "regexp:\\\\.goo.\*\\\\.com$" matches "www.google.com" or "fonts.googleapis.com", but not "google.com".
|
||||
- Subdomain (recommended): Starts with `"domain:"` followed by a domain. When this domain is the target domain or a subdomain of the target domain, the rule takes effect. For example, "domain:xray.com" matches "www.xray.com" and "xray.com", but not "wxray.com".
|
||||
- Exact match: Starts with `"full:"` followed by a domain. When this domain is an exact match for the target domain, the rule takes effect. For example, "full:xray.com" matches "xray.com" but not "www.xray.com".
|
||||
- Predefined domain list: Starts with `"geosite:"` followed by a name such as `geosite:google` or `geosite:cn`. The names and domain lists are listed in [Predefined Domain List](#predefined-domain-list).
|
||||
- Predefined domain list: Starts with `"geosite:"` followed by a name such as `geosite:google` or `geosite:cn`. The names and domain lists are listed in [Predefined Domain List](#predefined-domain-lists).
|
||||
- Load domains from a file: Formatted as `"ext:file:tag"`, where the file is stored in the [resource directory](./features/env.md#resource-file-path) and has the same format as `geosite.dat`. The tag must exist in the file.
|
||||
|
||||
::: tip
|
||||
|
||||
@@ -552,7 +552,7 @@ Shadowsocks-2022 — это новый протокол с переработа
|
||||
## 2021.01.15 <Badge>[1.2.2](https://github.com/XTLS/Xray-core/releases/tag/v1.2.2)</Badge>
|
||||
|
||||
- Резервное разделение снова разблокировало странные новые возможности! Резервное переключение теперь может разделять по SNI~!
|
||||
- Анонсированное ранее изменение UUID официально вступило в силу. ([Смотрите ниже](#2021.01.12))
|
||||
- Анонсированное ранее изменение UUID официально вступило в силу. ([Смотрите ниже](#_2021-01-12))
|
||||
- Журналы теперь выглядят немного лучше, чем в прошлый раз.
|
||||
- Удаленный DOH, как и другие режимы DNS, научился использовать разделение маршрутизации.
|
||||
- Конечно, есть и другие маленькие конфетки. (Просто обновитесь и попробуйте)
|
||||
@@ -597,7 +597,7 @@ Shadowsocks-2022 — это новый протокол с переработа
|
||||
|
||||
🎁 В последние минуты Нового года появилась версия 1.2.0, как обычно, с обновлением в пятницу, с усердной работой каждого из участников, а также с синяками под глазами @rprxx, пришла, как и ожидалось!
|
||||
|
||||
- Новогодний подарок после рождественского подарка [v1.1.5](#20201225) 🎁, большое благо для геймеров, полная поддержка FullCone.
|
||||
- Новогодний подарок после рождественского подарка [v1.1.5](#_2020-12-25-1-1-5) 🎁, большое благо для геймеров, полная поддержка FullCone.
|
||||
- (UDP будет продолжать улучшаться!)
|
||||
- Если вы уже открывали рождественский подарок, то на этот раз есть еще более изысканная упаковка и маленькие конфетки, чем рождественский подарок. (Точно так же не нужно спрашивать, просто обновитесь и попробуйте)
|
||||
- (Нет, ниже не реклама, а веха.)
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
Интерфейсы можно включить с помощью модуля конфигурации api. Когда API включен, Xray создает исходящее подключение с тем же тегом, что и тег API.
|
||||
Необходимо вручную направить все входящие API-подключения на это исходящее подключение с помощью [правил маршрутизации](./routing.md).
|
||||
См. раздел [Связанные настройки](#связанные-настройки) в этом документе.
|
||||
См. раздел [Связанные настройки](#связанные-настроики) в этом документе.
|
||||
|
||||
Начиная с версии [v1.8.12](https://github.com/XTLS/Xray-core/releases/tag/v1.8.12) поддерживается упрощенный режим настройки, в котором достаточно указать только ApiObject, без необходимости настройки inbounds и routing.
|
||||
Однако при использовании упрощенной настройки статистика трафика не учитывает трафик входящих API-подключений.
|
||||
@@ -40,7 +40,7 @@
|
||||
|
||||
IP-адрес и порт, на котором прослушивает API-сервер. Это необязательный параметр.
|
||||
|
||||
Если этот параметр опущен, необходимо добавить настройки inbounds и routing, как показано в примере в разделе [Связанные настройки](#связанные-настройки).
|
||||
Если этот параметр опущен, необходимо добавить настройки inbounds и routing, как показано в примере в разделе [Связанные настройки](#связанные-настроики).
|
||||
|
||||
> `services`: \[string\]
|
||||
|
||||
|
||||
@@ -49,7 +49,7 @@ URL-адрес, используемый для проверки состоян
|
||||
Массив строк, каждый элемент которого будет использоваться для сопоставления с префиксом тега исходящего подключения.
|
||||
Например, для следующих тегов исходящих подключений: `[ "a", "ab", "c", "ba" ]`, `"subjectSelector": ["a"]` будет соответствовать `[ "a", "ab" ]`.
|
||||
|
||||
> `pingConfig`: [PingConfigObject](#PingConfigObject)
|
||||
> `pingConfig`: [PingConfigObject](#pingconfigobject)
|
||||
|
||||
### PingConfigObject
|
||||
|
||||
|
||||
@@ -85,11 +85,11 @@ iptables -t mangle -A OUTPUT -j XRAY_SELF
|
||||
iptables -t mangle -A OUTPUT -m owner ! --gid-owner 23333 -j XRAY_SELF
|
||||
```
|
||||
|
||||
3. Измените способ запуска Xray, чтобы он запускался от имени пользователя с UID 0 и GID 23333, см. [здесь](#3-настройка-максимального-количества-открытых-файлов-и-запуск-клиента-xray).
|
||||
3. Измените способ запуска Xray, чтобы он запускался от имени пользователя с UID 0 и GID 23333, см. [здесь](#_3-настроика-максимального-количества-открытых-фаилов-и-запуск-клиента-xray).
|
||||
|
||||
## Ниже приведен пример полной настройки глобального проксирования с использованием TPROXY
|
||||
|
||||
### 1. Выполните [предварительную подготовку](#1-предварительная-подготовка) и [добавление пользователя](#2-добавление-пользователя-пропустите-для-android).
|
||||
### 1. Выполните [предварительную подготовку](#_1-предварительная-подготовка) и [добавление пользователя](#_2-добавление-пользователя-пропустите-для-android).
|
||||
|
||||
### 2. Подготовьте конфигурационный файл Xray.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user