openvpn/4.0.0
You can find the source of this version on GitHub at dpb587/openvpn-bosh-release. It was created based on the commit 401cba7.
Release Notes¶
Please review these changes carefully - many properties and defaults have changed which may impact connectivity. While breaking changes are generally avoided, the goals of this release necessitated some significant changes. Those goals were: utilize modern BOSH features, encourage secure defaults, avoid duplicating features, and simplify configuration requirements.
Breaking Changes
- properties are no longer prefixed with
openvpnnamespace - the
openvpnjob will no longer act as a client (see the newopenvpn-clientjob) - the
openvpnjob improves security defaults (either explicitly use older values, or upgrade clients as necessary)cipheris nowAES-256-CBC(this must be in sync with clients; previous defaultBF-CBC)tls_version_minis now1.2(requires clients 2.3.3+; previous default1.0)
- custom iptables rules are no longer managed (use the
iptablesjob of networking release instead) - server and client certificates are now configured with the
tls_serverandtls_clientproperties, respectively (previously viaca_crt,certificate, andprivate_keyproperties) - certificate revocation lists for
openvpnare now configured with thetls_crlproperty (previously viacrl_pemproperty)
New Features
- UDP is now supported (see
protocolproperty ofopenvpn) - the openvpn
compressoption is now supported (seecompressproperty ofopenvpn) - the openvpn
tls-cryptoption is now supported (seetls_cryptproperty ofopenvpn) - new
extra_configsproperty ofopenvpnandopenvpn-client(similar toextra_config, but accepts an array of openvpn directives) - new
deviceproperty is now supported for explicit virtual network device usage - certificate-related properties can now be dynamically generated
Development & Tooling
- git version tags now refer to the commit a release was created from (previously the commit which finalized the release was used)
Usage¶
You can reference this release in your deployment manifest from the releases section:
- name: "openvpn" version: "4.0.0" url: "https://bosh.io/d/github.com/dpb587/openvpn-bosh-release?v=4.0.0" sha1: sha256:
Or upload it to your director with the upload-release command:
bosh upload-release --sha1=sha256: \ "https://bosh.io/d/github.com/dpb587/openvpn-bosh-release?v=4.0.0"