Browse the Repo

file-type-icon.circleci
file-type-icon.github
file-type-iconexamples
file-type-iconmodules
file-type-iconbackup-openvpn-pki
file-type-iconinit-openvpn
file-type-iconinstall-openvpn
file-type-iconbin
file-type-iconfiles
file-type-iconscripts
file-type-iconREADME.md
file-type-iconinstall.sh
file-type-iconopenvpn-admin
file-type-iconopenvpn-server
file-type-iconstart-openvpn-admin
file-type-icontest
file-type-icon.gitignore
file-type-icon.pre-commit-config.yaml
file-type-iconCODEOWNERS
file-type-iconLICENSE.txt
file-type-iconREADME.md
file-type-iconterraform-cloud-enterprise-private-module-...

Browse the Repo

file-type-icon.circleci
file-type-icon.github
file-type-iconexamples
file-type-iconmodules
file-type-iconbackup-openvpn-pki
file-type-iconinit-openvpn
file-type-iconinstall-openvpn
file-type-iconbin
file-type-iconfiles
file-type-iconscripts
file-type-iconREADME.md
file-type-iconinstall.sh
file-type-iconopenvpn-admin
file-type-iconopenvpn-server
file-type-iconstart-openvpn-admin
file-type-icontest
file-type-icon.gitignore
file-type-icon.pre-commit-config.yaml
file-type-iconCODEOWNERS
file-type-iconLICENSE.txt
file-type-iconREADME.md
file-type-iconterraform-cloud-enterprise-private-module-...
OpenVPN

OpenVPN

Deploy an OpenVPN server. Supports auto healing, public key infrastructure (PKI), cert backup, and managing user accounts using IAM groups.

Code Preview

Preview the Code

mobile file icon

README.md

down

Install OpenVPN Module

This module is used to install the OpenVPN package and related template files onto a server. It is expected that the init-openvpn module will be run on the server during boot to configure the OpenVPN server installed by this package.

How do you use this module?

Note: This module uses explicitly easy-rsa v2.2.2. There is planned future work to migrate over to a more recent version. More details can be found on this issue.

Example

See the example for an example of how to use this module.

Installation

#!/bin/bash
sudo gruntwork-install --module-name install-openvpn --tag v0.4.0 --repo https://github.com/gruntwork-io/terraform-aws-openvpn
sudo /usr/local/bin/install-openvpn
Install the OpenVPN Package on your AMI

In order for the openvpn-server module to work properly, you have to build an AMI with the OpenVPN package installed using this module. Please see example for a sample packer build script.

Questions? Ask away.

We're here to talk about our services, answer any questions, give advice, or just to chat.

Ready to hand off the Gruntwork?