Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
hwdsl2 committed Feb 16, 2022
1 parent d136a1b commit c4d4068
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
8 changes: 7 additions & 1 deletion README-zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,13 @@ VPN_DNS_NAME=vpn.example.com
VPN_CLIENT_NAME=your_client_name
```

请注意,如果在 Docker 容器中已经配置了 IKEv2,则 `VPN_DNS_NAME``VPN_CLIENT_NAME` 变量无效。
默认情况下,导入 IKEv2 客户端配置文件时不需要密码。你可以选择使用随机密码保护客户端配置文件。这是可选的。

```
VPN_PROTECT_CONFIG=yes
```

请注意,如果在 Docker 容器中已经配置了 IKEv2,则 `VPN_DNS_NAME`, `VPN_CLIENT_NAME``VPN_PROTECT_CONFIG` 变量无效。

### 运行 IPsec VPN 服务器

Expand Down
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,13 @@ You may optionally specify a name for the first IKEv2 client. Use one word only,
VPN_CLIENT_NAME=your_client_name
```

Note that the `VPN_DNS_NAME` and `VPN_CLIENT_NAME` variables have no effect if IKEv2 is already set up in the Docker container.
By default, no password is required when importing IKEv2 client config files. You may optionally choose to protect client config files using a random password.

```
VPN_PROTECT_CONFIG=yes
```

Note that the `VPN_DNS_NAME`, `VPN_CLIENT_NAME` and `VPN_PROTECT_CONFIG` variables have no effect if IKEv2 is already set up in the Docker container.

### Start the IPsec VPN server

Expand Down

0 comments on commit c4d4068

Please sign in to comment.