Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
hwdsl2 committed Mar 23, 2022
1 parent 9a87839 commit 28d09fe
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README-zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ VPN_ADDL_PASSWORDS=additional_password_1 additional_password_2

<details>
<summary>
:information_source: 你可以指定一个域名,客户端名称和/或另外的 DNS 服务器。这是可选的。单击查看详情。
:information_source: 你可以指定一个域名,客户端名称和/或另外的 DNS 服务器。这是可选的。:information_source:
</summary>

高级用户可以指定一个域名作为 IKEv2 服务器地址。这是可选的。该域名必须是一个全称域名 (FQDN)。示例如下:
Expand Down Expand Up @@ -270,7 +270,7 @@ docker cp ipsec-vpn-server:/etc/ipsec.d/vpnclient.p12 ./
docker exec -it ipsec-vpn-server ikev2.sh --addclient [client name]
# 导出一个已有的客户端的配置
docker exec -it ipsec-vpn-server ikev2.sh --exportclient [client name]
# 列出已有的客户端的名称
# 列出已有的客户端
docker exec -it ipsec-vpn-server ikev2.sh --listclients
# 显示使用信息
docker exec -it ipsec-vpn-server ikev2.sh -h
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ VPN_ADDL_PASSWORDS=additional_password_1 additional_password_2

<details>
<summary>
:information_source: You may optionally specify a DNS name, client name and/or custom DNS servers. Click for details.
:information_source: You may optionally specify a DNS name, client name and/or custom DNS servers. :information_source:
</summary>

Advanced users can optionally specify a DNS name for the IKEv2 server address. The DNS name must be a fully qualified domain name (FQDN). Example:
Expand Down Expand Up @@ -271,9 +271,9 @@ You can manage IKEv2 clients using the helper script. See examples below. To cus
docker exec -it ipsec-vpn-server ikev2.sh --addclient [client name]
# Export configuration for an existing client
docker exec -it ipsec-vpn-server ikev2.sh --exportclient [client name]
# List the names of existing clients
# List existing clients
docker exec -it ipsec-vpn-server ikev2.sh --listclients
# Show usage information
# Show usage
docker exec -it ipsec-vpn-server ikev2.sh -h
```

Expand Down

0 comments on commit 28d09fe

Please sign in to comment.