Skip to content

Commit dbf719c

Browse files
committed
Update docs
1 parent 643cbc2 commit dbf719c

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

README-zh.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,8 @@ VPN_ADDL_USERS=additional_username_1 additional_username_2
123123
VPN_ADDL_PASSWORDS=additional_password_1 additional_password_2
124124
```
125125

126+
以上变量仅适用于 IPsec/L2TP 和 IPsec/XAuth ("Cisco IPsec") 模式。对于 IKEv2,参见[配置并使用 IKEv2 VPN](#配置并使用-ikev2-vpn)
127+
126128
**注:** 在你的 `env` 文件中,**不要**为变量值添加 `""` 或者 `''`,或在 `=` 两边添加空格。**不要**在值中使用这些字符: `\ " '`。一个安全的 IPsec PSK 应该至少包含 20 个随机字符。
127129

128130
**注:** 如果在创建 Docker 容器后修改 `env` 文件,则必须删除并重新创建容器才能使更改生效。参见[更新 Docker 镜像](#更新-docker-镜像)
@@ -163,7 +165,7 @@ VPN_DNS_SRV2=1.0.0.1
163165
VPN_PROTECT_CONFIG=yes
164166
```
165167

166-
**注:** 如果在 Docker 容器中已经配置了 IKEv2,则以上变量对 IKEv2 模式无效。在这种情况下,你可以移除 IKEv2 并使用自定义选项重新配置它。参见 [配置并使用 IKEv2 VPN](#配置并使用-ikev2-vpn)
168+
**注:** 如果在 Docker 容器中已经配置了 IKEv2,则以上变量对 IKEv2 模式无效。在这种情况下,你可以移除 IKEv2 并使用自定义选项重新配置它。参见[配置并使用 IKEv2 VPN](#配置并使用-ikev2-vpn)
167169
</details>
168170

169171
### 运行 IPsec VPN 服务器

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,8 @@ VPN_ADDL_USERS=additional_username_1 additional_username_2
123123
VPN_ADDL_PASSWORDS=additional_password_1 additional_password_2
124124
```
125125

126+
The variables above are only for IPsec/L2TP and IPsec/XAuth ("Cisco IPsec") modes. For IKEv2, see [Configure and use IKEv2 VPN](#configure-and-use-ikev2-vpn).
127+
126128
**Note:** In your `env` file, DO NOT put `""` or `''` around values, or add space around `=`. DO NOT use these special characters within values: `\ " '`. A secure IPsec PSK should consist of at least 20 random characters.
127129

128130
**Note:** If you modify the `env` file after the Docker container is already created, you must remove and re-create the container for the changes to take effect. Refer to [Update Docker image](#update-docker-image).

0 commit comments

Comments
 (0)