Skip to content

openvpn-client job from openvpn/4.0.0

The `openvpn-client` job runs an OpenVPN client, connecting to a remote server.

Github source: 401cba7 or master branch

Properties

device

Virtual network device to use

Default
tun1

extra_config

Custom OpenVPN configuration statements (see manual)

extra_configs

A list of custom OpenVPN configuration statements (see manual)

Default
[]

tls_client

Certificate and Private Key for the server

Example
certificate: |+
  -----BEGIN CERTIFICATE-----
  ...
  -----END CERTIFICATE-----
private_key: |+
  -----BEGIN RSA PRIVATE KEY-----
  ...
  -----END RSA PRIVATE KEY-----

Templates

Templates are rendered and placed onto corresponding instances during the deployment process. This job's templates will be placed into /var/vcap/jobs/openvpn-client/ directory (learn more).

  • bin/control (from bin/control)
  • etc/profile.ovpn (from etc/profile.ovpn.erb)

Packages

Packages are compiled and placed onto corresponding instances during the deployment process. Packages will be placed into /var/vcap/packages/ directory.