diff --git a/docs/clients.md b/docs/clients.md index 5ace6c9..6cc234e 100644 --- a/docs/clients.md +++ b/docs/clients.md @@ -1,6 +1,6 @@ -# Advanced client management +# Advanced Client Management -## Client configuration mode +## Client Configuration Mode The [`ovpn_getclient`](/bin/ovpn_getclient) can produce two different versions of the configuration. @@ -9,13 +9,13 @@ The [`ovpn_getclient`](/bin/ovpn_getclient) can produce two different versions o Note that some client software might be picky about which configuration format it accepts. -## Batch mode +## Batch Mode If you have more than a few clients, you will want to generate and update your client configuration in batch. For this task the script [`ovpn_getclient_all`](/bin/ovpn_getclient_all) was written, which writes out the configuration for each client to a separate directory called `clients/$cn`. Execute the following to generate the configuration for all clients: - docker run --rm -t -i -v /tmp/openvpn:/etc/openvpn kylemanna/openvpn ovpn_getclient_all + docker run --rm -it -v /tmp/openvpn:/etc/openvpn kylemanna/openvpn ovpn_getclient_all After doing so, you will find the following files in each of the `$cn` directories: