From d180cce5d0cfb874e825f6b76fbd1207bcfe59dc Mon Sep 17 00:00:00 2001 From: Kyle Manna Date: Wed, 4 Jun 2014 15:41:24 -0700 Subject: [PATCH] README: Update with quick blurb on how to use * Brain dump of an example until I get time to properly update. --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index 89a1c48..7ba1fc5 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,20 @@ # OpenVPN for Docker +TODO: Docs are out of date, need to update, example until updated: + + # Init PKI and OpenVPN configs + docker run --name openvpn-data -it kylemanna/openvpn ovpn_init vpn.servername.com + + # Start OpenVPN server process + docker run --volumes-from openvpn-data -d -p 1194:1194/udp --privileged kylemanna/openvpn + + # Generate a client cert + docker run --volumes-from openvpn-data --rm -it kylemanna/openvpn easyrsa build-client-full clientname nopass + + # Retrieve the client configuration with embedded certs + docker run --volumes-from openvpn-data --rm kylemanna/openvpn ovpn_getclient clientname + + Quick instructions: ```bash