--- title: openvpn_client type: docs --- [![Source Code](https://img.shields.io/badge/gitea-source%20code-blue?logo=gitea&logoColor=white)](https://gitea.rknet.org/ansible/xoxys.openvpn_client) [![Build Status](https://img.shields.io/drone/build/ansible/xoxys.openvpn_client?logo=drone&server=https%3A%2F%2Fdrone.rknet.org)](https://drone.rknet.org/ansible/xoxys.openvpn_client) [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg?label=license)](LICENSE) Configure OpenVPN client * [Default Variables](#default-variables) * [openvpn_client_auth](#openvpn-client-auth) * [openvpn_client_ca_file](#openvpn-client-ca-file) * [openvpn_client_cert_file](#openvpn-client-cert-file) * [openvpn_client_cipher](#openvpn-client-cipher) * [openvpn_client_key_file](#openvpn-client-key-file) * [openvpn_client_name](#openvpn-client-name) * [openvpn_client_packages_extra](#openvpn-client-packages-extra) * [openvpn_client_port](#openvpn-client-port) * [openvpn_client_server](#openvpn-client-server) * [openvpn_client_ta_file](#openvpn-client-ta-file) * [openvpn_service_state](#openvpn-service-state) * [Dependencies](#dependencies) --- ## Default Variables ### openvpn_client_auth #### Default value ```YAML openvpn_client_auth: SHA512 ``` ### openvpn_client_ca_file #### Default value ```YAML openvpn_client_ca_file: /etc/pki/tls/certs/ca-bundle.crt ``` ### openvpn_client_cert_file #### Default value ```YAML openvpn_client_cert_file: '{{ openvpn_client_name }}.crt' ``` ### openvpn_client_cipher #### Default value ```YAML openvpn_client_cipher: AES-256-CBC ``` ### openvpn_client_key_file #### Default value ```YAML openvpn_client_key_file: '{{ openvpn_client_name }}.key' ``` ### openvpn_client_name #### Default value ```YAML openvpn_client_name: client ``` ### openvpn_client_packages_extra #### Default value ```YAML openvpn_client_packages_extra: [] ``` ### openvpn_client_port #### Default value ```YAML openvpn_client_port: 1194 ``` ### openvpn_client_server #### Default value ```YAML openvpn_client_server: vpn.example.com ``` ### openvpn_client_ta_file #### Default value ```YAML openvpn_client_ta_file: '{{ openvpn_client_name }}_ta.key' ``` ### openvpn_service_state #### Default value ```YAML openvpn_service_state: started ``` ## Dependencies None.