From 2e2c66b978cb51f1b4c1fdaef73965e52811e6a7 Mon Sep 17 00:00:00 2001 From: Robin Schneider Date: Sat, 30 May 2015 23:00:53 +0200 Subject: [PATCH] Using better example in docs. --- docs/paranoid.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/paranoid.md b/docs/paranoid.md index 10a6312..086a41e 100644 --- a/docs/paranoid.md +++ b/docs/paranoid.md @@ -4,8 +4,8 @@ As mentioned in the [backup section](/docs/backup.md), there are good reasons to Execute the following commands. Note that you might want to change the volume `/tmp/openvpn` to persistent storage or use a data docker container for this. - docker run --rm -t -i -v /tmp/openvpn:/etc/openvpn kylemanna/openvpn ovpn_genconfig -u udp://VPN.SERVERNAME.COM - docker run --rm -t -i -v /tmp/openvpn:/etc/openvpn kylemanna/openvpn ovpn_initpki - docker run --rm -t -i -v /tmp/openvpn:/etc/openvpn kylemanna/openvpn ovpn_copy_server_files + docker run --rm -t -i -v $PWD:/etc/openvpn kylemanna/openvpn ovpn_genconfig -u udp://VPN.SERVERNAME.COM + docker run --rm -t -i -v $PWD:/etc/openvpn kylemanna/openvpn ovpn_initpki + docker run --rm -t -i -v $PWD:/etc/openvpn kylemanna/openvpn ovpn_copy_server_files The [`ovpn_copy_server_files`](/bin/ovpn_copy_server_files) script puts all the needed configuration in a subdirectory which defaults to `$OPENVPN/server`. All you need to do now is to copy this directory to the server and you are good to go.