From 2977cd6fe63c77b1a0a9d49086c8c0dd18f1e87c Mon Sep 17 00:00:00 2001 From: hwdsl2 Date: Sun, 23 Jun 2024 17:14:33 -0500 Subject: [PATCH] Update docs --- docs/clients-zh.md | 22 ++++++++++++++++++++++ docs/clients.md | 22 ++++++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/docs/clients-zh.md b/docs/clients-zh.md index 05cb6a8..2d0ac0a 100644 --- a/docs/clients-zh.md +++ b/docs/clients-zh.md @@ -9,3 +9,25 @@ 要管理 OpenVPN 客户端,请再次运行安装脚本:`sudo bash openvpn.sh`。 阅读 [:book: VPN book](https://ko-fi.com/post/Support-this-project-and-get-access-to-supporter-o-X8X5FVFZC) 以了解配置和管理 OpenVPN 客户端的分步说明。 + +
+ +查看 OpenVPN 脚本的使用信息。 + + +``` +Usage: bash openvpn.sh [options] + +Options: + --auto auto install OpenVPN using default options + --addclient [client name] add a new client + --exportclient [client name] export configuration for an existing client + --listclients list the names of existing clients + --revokeclient [client name] revoke an existing client + --uninstall remove OpenVPN and delete all configuration + -y, --yes assume "yes" as answer to prompts when revoking a client or removing OpenVPN + -h, --help show this help message and exit + +To customize install options, run this script without arguments. +``` +
diff --git a/docs/clients.md b/docs/clients.md index faca47d..a938121 100644 --- a/docs/clients.md +++ b/docs/clients.md @@ -9,3 +9,25 @@ To add a VPN connection, first securely transfer the generated `.ovpn` file to y To manage OpenVPN clients, run the install script again: `sudo bash openvpn.sh`. Read [:book: VPN book](https://ko-fi.com/post/Support-this-project-and-get-access-to-supporter-o-O5O7FVF8J) to learn step-by-step instructions to configure and manage OpenVPN clients. + +
+ +View usage information for the OpenVPN script. + + +``` +Usage: bash openvpn.sh [options] + +Options: + --auto auto install OpenVPN using default options + --addclient [client name] add a new client + --exportclient [client name] export configuration for an existing client + --listclients list the names of existing clients + --revokeclient [client name] revoke an existing client + --uninstall remove OpenVPN and delete all configuration + -y, --yes assume "yes" as answer to prompts when revoking a client or removing OpenVPN + -h, --help show this help message and exit + +To customize install options, run this script without arguments. +``` +