thulium_drake.openvpn

Build Status

Ansible role to install OpenVPN

This role provides a means to install an OpenVPN server on a Linux system (currently only tested on Debian)

The server will use a simple script to authenticate users using a password file. It can also be configured to use a specified PAM file.

Setup

Before setting this up, you need to arrange:

  • An SSL server certificate
  • The CA certificate that issued your SSL certificate

Then you need to configure the server an Ansible playbook along the lines of the one in playbooks

Adding users

To add a user, add a line to /etc/openvpn/private/passwd with the following information:

# user password (plaintext) expiration (YYYYmmdd)
myuser myverylongsupercomplexpasswordfrompwgen64 20191231

Once a user longs in, the script will check the password and the optional expiration date.

About

Configures a OpenVPN server

Install
ansible-galaxy install thulium_drake.openvpn
GitHub repository
License
gpl-3.0
Downloads
75