> For the complete documentation index, see [llms.txt](https://docs.deepzi.ru/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.deepzi.ru/tekhnicheskaya-dokumentaciya/protokoly-i-parametry.md). Agents can also search and read this documentation through its [MCP server](https://docs.deepzi.ru/~gitbook/mcp).

# Протоколы и параметры

Форматы ссылок и совместимые конфигурации.

| Формат       | Импорт в 0.7                               |
| ------------ | ------------------------------------------ |
| VLESS        | `vless://`                                 |
| Trojan       | `trojan://`                                |
| VMess        | `vmess://` (Base64 JSON)                   |
| Shadowsocks  | `ss://`                                    |
| SOCKS / HTTP | Совместимый JSON outbound; URI не заявлены |

## VLESS / TLS

Ниже приведён синтаксический пример с зарезервированным доменом `.invalid` и вымышленным UUID. Это не рабочий сервер.

```
vless://00000000-0000-4000-8000-000000000001@proxy.example.invalid:443?type=tcp&security=tls&sni=proxy.example.invalid#Example
```

## Параметры VLESS / Trojan

| Параметр                           | Назначение                                              |
| ---------------------------------- | ------------------------------------------------------- |
| `type`                             | raw/tcp, ws, grpc, xhttp, httpupgrade, kcp              |
| `security`                         | none, tls, reality                                      |
| `sni`, `fp`                        | Имя сервера и fingerprint                               |
| `pbk`, `sid`, `spx`                | Параметры REALITY; `pbk` обязателен для импорта REALITY |
| `path`, `host`                     | Параметры совместимых HTTP-транспортов                  |
| `serviceName`, `authority`, `mode` | gRPC; XHTTP также использует mode                       |
| `flow`, `encryption`               | Параметры пользователя VLESS                            |

{% hint style="warning" %}
TLS-проверка не отключается автоматически. Поддержка синтаксиса не означает, что все комбинации транспорта, протокола и защиты совместимы с Xray. Валидируйте профиль и проверяйте работу на устройстве. Документация ядра: [Xray](https://xtls.github.io/).
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.deepzi.ru/tekhnicheskaya-dokumentaciya/protokoly-i-parametry.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
