From 2578827aa8e459d6b81eb039ae4c9836f745af84 Mon Sep 17 00:00:00 2001 From: Kelvin Chen Date: Tue, 26 Jan 2016 18:01:38 -0500 Subject: [PATCH] Update openvpn documentation --- README.md | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 5066c77..58c4e2d 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,12 @@ All data are saved in the docker volumes `seedbox_config` or ## OpenVPN The OpenVPN container generates a single client key/cert pair by default. -Run the `create-client CLIENT_NAME` tool in the openvpn container to generate -the openvpn file. e.g. `create-client client >> client.ovpn`. You can transfer -the file back using syncthing or scp. You can also create more certs by using -easy-rsa. +Run the command below to get your OpenVPN config file: +```sh +$ docker exec seedbox_openvpn_1 create-client client >> client.ovpn +``` +Edit the `client.ovpn` and replace the line `remote MYSERVER_HOST 1194` with +the hostname or IP address of your server. + +You can also create more certs by by docker exec-ing into the container and +using easy-rsa.