Skip to content

openvpn-client job from openvpn/5.2.0

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

Github source: fd46aa9 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
[]

password

Password for remote authentication

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-----

username

Username for remote authentication

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)
  • etc/user-pass (from etc/user-pass.erb)

Packages

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