Skip to content
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
13 changes: 13 additions & 0 deletions docs/config/proxies/openvpn.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ proxies:
# -----BEGIN PRIVATE KEY-----
# ...
# -----END PRIVATE KEY-----
# tls-auth: |
# -----BEGIN OpenVPN Static key V1-----
# ...
# -----END OpenVPN Static key V1-----
# key-direction: "1"
ca: |
-----BEGIN CERTIFICATE-----
MIIB...example
Expand Down Expand Up @@ -77,6 +82,14 @@ Optional, protocol type. Supports `udp` or `tcp`. Defaults to `udp`.

**Optional**, client private key content. Copy this from the `<key>` tag in your `.ovpn` file. Can be omitted when using username/password authentication.

## tls-auth

**Optional**, copy from the `<tls-auth>` tag in the `.ovpn` file. **Mutually exclusive with `tls-crypt`**.

## key-direction

**Optional**, required when using `tls-auth`, supports `"1"` or `"0"`. If left blank or as an empty string, it defaults to `bidirectional` mode.

## tls-crypt

**Optional**, TLS encryption key. Copy this from the `<tls-crypt>` tag in your `.ovpn` file; do not include the tags themselves.
Expand Down
13 changes: 13 additions & 0 deletions docs/config/proxies/openvpn.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ proxies:
# -----BEGIN PRIVATE KEY-----
# ...
# -----END PRIVATE KEY-----
# tls-auth: |
# -----BEGIN OpenVPN Static key V1-----
# ...
# -----END OpenVPN Static key V1-----
# key-direction: "1"
ca: |
-----BEGIN CERTIFICATE-----
MIIB...example
Expand Down Expand Up @@ -77,6 +82,14 @@ proxies:

**可选**,客户端私钥内容。从 `.ovpn` 文件的 `<key>` 标签中复制。使用用户名/密码认证时可省略。

## tls-auth

**可选**,从 `.ovpn` 文件的 `<tls-auth>` 标签中复制,**与 `tls-crypt` 互斥**

## key-direction

**可选**,使用 `tls-auth` 时填写,支持 `"1"` 或 `"0"`;如果不填或为空字符串,则默认为双向模式(`bidirectional`)。

## tls-crypt

**可选**,TLS 加密密钥。从 `.ovpn` 文件的 `<tls-crypt>` 标签中复制,不需要保留标签。
Expand Down
13 changes: 13 additions & 0 deletions docs/config/proxies/openvpn.ru.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ proxies:
# -----BEGIN PRIVATE KEY-----
# ...
# -----END PRIVATE KEY-----
# tls-auth: |
# -----BEGIN OpenVPN Static key V1-----
# ...
# -----END OpenVPN Static key V1-----
# key-direction: "1"
ca: |
-----BEGIN CERTIFICATE-----
MIIB...example
Expand Down Expand Up @@ -77,6 +82,14 @@ proxies:

**Опционально**, содержимое закрытого ключа клиента. Скопируйте содержимое тега `<key>` из вашего `.ovpn` файла. Можно пропустить при использовании режима с именем пользователя и паролем.

## tls-auth

**Необязательно**, скопируйте из тега `<tls-auth>` в файле `.ovpn`. **Взаимоисключающий с `tls-crypt`**.

## key-direction

**Необязательно**, заполняется при использовании `tls-auth`, поддерживает значения `"1"` или `"0"`. Если не заполнено или указана пустая строка, используется двунаправленный режим (`bidirectional`).

## tls-crypt

**Опционально**, ключ шифрования TLS. Скопируйте содержимое тега `<tls-crypt>` из вашего `.ovpn` файла (сами теги копировать не нужно).
Expand Down