<commit_before># OpenVPN for Docker

OpenVPN server in a Docker container complete with an EasyRSA PKI CA.

## Quick Start

* Initalize the `openvpn-data` container that will hold the configuration files
  and certificates

        docker run --name openvpn-data -it kylemanna/openvpn ovpn_init udp://VPN.SERVERNAME.COM:1194

* Start OpenVPN server process

        docker run --volumes-from openvpn-data -d -p 1194:1194/udp --privileged kylemanna/openvpn

* Generate a client certificate without a passphrase

        docker run --volumes-from openvpn-data --rm -it kylemanna/openvpn easyrsa build-client-full CLIENTNAME nopass

* Retrieve the client configuration with embedded certificates

        docker run --volumes-from openvpn-data --rm kylemanna/openvpn ovpn_getclient CLIENTNAME > CLIENTNAME.ovpn<commit_msg>README: Update to reflect recent changes<commit_after># OpenVPN for Docker

OpenVPN server in a Docker container complete with an EasyRSA PKI CA.

## Quick Start

* Create the `openvpn-data` volume container

        docker run --name openvpn-data -v /etc/openvpn busybox

* Initalize the `openvpn-data` container that will hold the configuration files and certificates

        docker run --volumes-from openvpn-data kylemanna/openvpn ovpn_genconfig -u udp://VPN.SERVERNAME.COM:1194
        docker run --volumes-from openvpn-data -it kylemanna/openvpn ovpn_initpki

* Start OpenVPN server process

        docker run --volumes-from openvpn-data -d -p 1194:1194/udp --privileged kylemanna/openvpn

* Generate a client certificate without a passphrase

        docker run --volumes-from openvpn-data --rm -it kylemanna/openvpn easyrsa build-client-full CLIENTNAME nopass

* Retrieve the client configuration with embedded certificates

        docker run --volumes-from openvpn-data --rm kylemanna/openvpn ovpn_getclient CLIENTNAME > CLIENTNAME.ovpn
{'fraction_non_alphanumeric': 0.06855918585966791, 'fraction_numerical': 0.012854847348687734, 'mean_word_length': 3.646766169154229, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6755381', 'n_tokens_mistral': 622, 'n_tokens_neox': 572, 'n_words': 193}