README: Update with quick blurb on how to use

* Brain dump of an example until I get time to properly update.
This commit is contained in:
Kyle Manna 2014-06-04 15:41:24 -07:00
parent 4728990da3
commit d180cce5d0

View File

@ -1,5 +1,20 @@
# OpenVPN for Docker # 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: Quick instructions:
```bash ```bash