Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@ import VersionBadge from '../../../../../src/components/VersionBadge.tsx';
import { HclListItem, HclListItemDescription, HclListItemTypeDetails, HclListItemDefaultValue, HclGeneralListItem } from '../../../../../src/components/HclListItem.tsx';
import { ModuleUsage } from "../../../../../src/components/ModuleUsage";

<VersionBadge repoTitle="Open VPN Package Infrastructure Package" version="0.26.4" lastModifiedVersion="0.26.2"/>
<VersionBadge repoTitle="Open VPN Package Infrastructure Package" version="0.26.5" lastModifiedVersion="0.26.2"/>

# Backup PKI Assets Module

<a href="https://github.com/gruntwork-io/terraform-aws-openvpn/tree/v0.26.4/modules/backup-openvpn-pki" className="link-button" title="View the source code for this module in GitHub.">View Source</a>
<a href="https://github.com/gruntwork-io/terraform-aws-openvpn/tree/v0.26.5/modules/backup-openvpn-pki" className="link-button" title="View the source code for this module in GitHub.">View Source</a>

<a href="https://github.com/gruntwork-io/terraform-aws-openvpn/releases/tag/v0.26.2" className="link-button" title="Release notes for only versions which impacted this module.">Release Notes</a>

This module is used to backup the OpenVPN Public Key Infrastructure (PKI) to S3 on a server that has been installed using
the [install-openvpn](https://github.com/gruntwork-io/terraform-aws-openvpn/tree/v0.26.4/modules/install-openvpn) module.
the [install-openvpn](https://github.com/gruntwork-io/terraform-aws-openvpn/tree/v0.26.5/modules/install-openvpn) module.

The PKI is the set of certificates used to verify the server and users' identities for VPN authentication purposes. This
normally lives on the OpenVPN server in the `/etc/openvpn-ca` and `/etc/openvpn` directories. If we didn't back these files
Expand All @@ -28,11 +28,11 @@ up, we would have to reissue client certificates if the OpenVPN server ever need
<!-- ##DOCS-SOURCER-START
{
"originalSources": [
"https://github.com/gruntwork-io/terraform-aws-openvpn/tree/v0.26.4/modules/backup-openvpn-pki/readme.md",
"https://github.com/gruntwork-io/terraform-aws-openvpn/tree/v0.26.4/modules/backup-openvpn-pki/variables.tf",
"https://github.com/gruntwork-io/terraform-aws-openvpn/tree/v0.26.4/modules/backup-openvpn-pki/outputs.tf"
"https://github.com/gruntwork-io/terraform-aws-openvpn/tree/v0.26.5/modules/backup-openvpn-pki/readme.md",
"https://github.com/gruntwork-io/terraform-aws-openvpn/tree/v0.26.5/modules/backup-openvpn-pki/variables.tf",
"https://github.com/gruntwork-io/terraform-aws-openvpn/tree/v0.26.5/modules/backup-openvpn-pki/outputs.tf"
],
"sourcePlugin": "module-catalog-api",
"hash": "929a8db2f59e8fa59e1b32334c00eb52"
"hash": "1dbb1d0c5f6484be562b32697c7b0590"
}
##DOCS-SOURCER-END -->
Original file line number Diff line number Diff line change
Expand Up @@ -9,26 +9,26 @@ import VersionBadge from '../../../../../src/components/VersionBadge.tsx';
import { HclListItem, HclListItemDescription, HclListItemTypeDetails, HclListItemDefaultValue, HclGeneralListItem } from '../../../../../src/components/HclListItem.tsx';
import { ModuleUsage } from "../../../../../src/components/ModuleUsage";

<VersionBadge repoTitle="Open VPN Package Infrastructure Package" version="0.26.4" lastModifiedVersion="0.18.0"/>
<VersionBadge repoTitle="Open VPN Package Infrastructure Package" version="0.26.5" lastModifiedVersion="0.18.0"/>

# Init OpenVPN Module

<a href="https://github.com/gruntwork-io/terraform-aws-openvpn/tree/v0.26.4/modules/init-openvpn" className="link-button" title="View the source code for this module in GitHub.">View Source</a>
<a href="https://github.com/gruntwork-io/terraform-aws-openvpn/tree/v0.26.5/modules/init-openvpn" className="link-button" title="View the source code for this module in GitHub.">View Source</a>

<a href="https://github.com/gruntwork-io/terraform-aws-openvpn/releases/tag/v0.18.0" className="link-button" title="Release notes for only versions which impacted this module.">Release Notes</a>

This module is used to initialize the OpenVPN server, its Public Key Infrastructure (PKI), Certificate Authority
(CA) and configuration on a server that has been installed using the [install-openvpn](https://github.com/gruntwork-io/terraform-aws-openvpn/tree/v0.26.4/modules/install-openvpn) module.
(CA) and configuration on a server that has been installed using the [install-openvpn](https://github.com/gruntwork-io/terraform-aws-openvpn/tree/v0.26.5/modules/install-openvpn) module.


<!-- ##DOCS-SOURCER-START
{
"originalSources": [
"https://github.com/gruntwork-io/terraform-aws-openvpn/tree/v0.26.4/modules/init-openvpn/readme.md",
"https://github.com/gruntwork-io/terraform-aws-openvpn/tree/v0.26.4/modules/init-openvpn/variables.tf",
"https://github.com/gruntwork-io/terraform-aws-openvpn/tree/v0.26.4/modules/init-openvpn/outputs.tf"
"https://github.com/gruntwork-io/terraform-aws-openvpn/tree/v0.26.5/modules/init-openvpn/readme.md",
"https://github.com/gruntwork-io/terraform-aws-openvpn/tree/v0.26.5/modules/init-openvpn/variables.tf",
"https://github.com/gruntwork-io/terraform-aws-openvpn/tree/v0.26.5/modules/init-openvpn/outputs.tf"
],
"sourcePlugin": "module-catalog-api",
"hash": "718b01fd16afa5e214c1a12e799f263c"
"hash": "66ec35be1425b88a795824189328780c"
}
##DOCS-SOURCER-END -->
Original file line number Diff line number Diff line change
Expand Up @@ -9,27 +9,27 @@ import VersionBadge from '../../../../../src/components/VersionBadge.tsx';
import { HclListItem, HclListItemDescription, HclListItemTypeDetails, HclListItemDefaultValue, HclGeneralListItem } from '../../../../../src/components/HclListItem.tsx';
import { ModuleUsage } from "../../../../../src/components/ModuleUsage";

<VersionBadge repoTitle="Open VPN Package Infrastructure Package" version="0.26.4" lastModifiedVersion="0.19.0"/>
<VersionBadge repoTitle="Open VPN Package Infrastructure Package" version="0.26.5" lastModifiedVersion="0.19.0"/>

# Install OpenVPN Module

<a href="https://github.com/gruntwork-io/terraform-aws-openvpn/tree/v0.26.4/modules/install-openvpn" className="link-button" title="View the source code for this module in GitHub.">View Source</a>
<a href="https://github.com/gruntwork-io/terraform-aws-openvpn/tree/v0.26.5/modules/install-openvpn" className="link-button" title="View the source code for this module in GitHub.">View Source</a>

<a href="https://github.com/gruntwork-io/terraform-aws-openvpn/releases/tag/v0.19.0" className="link-button" title="Release notes for only versions which impacted this module.">Release Notes</a>

This module is used to install the OpenVPN package and related template files onto a server. It is expected that
the [init-openvpn](https://github.com/gruntwork-io/terraform-aws-openvpn/tree/v0.26.4/modules/init-openvpn) module will be run on the server during boot to configure the OpenVPN server installed by this
the [init-openvpn](https://github.com/gruntwork-io/terraform-aws-openvpn/tree/v0.26.5/modules/init-openvpn) module will be run on the server during boot to configure the OpenVPN server installed by this
package.


<!-- ##DOCS-SOURCER-START
{
"originalSources": [
"https://github.com/gruntwork-io/terraform-aws-openvpn/tree/v0.26.4/modules/install-openvpn/readme.md",
"https://github.com/gruntwork-io/terraform-aws-openvpn/tree/v0.26.4/modules/install-openvpn/variables.tf",
"https://github.com/gruntwork-io/terraform-aws-openvpn/tree/v0.26.4/modules/install-openvpn/outputs.tf"
"https://github.com/gruntwork-io/terraform-aws-openvpn/tree/v0.26.5/modules/install-openvpn/readme.md",
"https://github.com/gruntwork-io/terraform-aws-openvpn/tree/v0.26.5/modules/install-openvpn/variables.tf",
"https://github.com/gruntwork-io/terraform-aws-openvpn/tree/v0.26.5/modules/install-openvpn/outputs.tf"
],
"sourcePlugin": "module-catalog-api",
"hash": "25e55b6e47a18e185d81fdf9de734ca1"
"hash": "190ffe038c3d016de74426e6a4d2b8b1"
}
##DOCS-SOURCER-END -->
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ import VersionBadge from '../../../../../src/components/VersionBadge.tsx';
import { HclListItem, HclListItemDescription, HclListItemTypeDetails, HclListItemDefaultValue, HclGeneralListItem } from '../../../../../src/components/HclListItem.tsx';
import { ModuleUsage } from "../../../../../src/components/ModuleUsage";

<VersionBadge repoTitle="Open VPN Package Infrastructure Package" version="0.26.4" lastModifiedVersion="0.26.2"/>
<VersionBadge repoTitle="Open VPN Package Infrastructure Package" version="0.26.5" lastModifiedVersion="0.26.2"/>

# openvpn-admin

<a href="https://github.com/gruntwork-io/terraform-aws-openvpn/tree/v0.26.4/modules/openvpn-admin" className="link-button" title="View the source code for this module in GitHub.">View Source</a>
<a href="https://github.com/gruntwork-io/terraform-aws-openvpn/tree/v0.26.5/modules/openvpn-admin" className="link-button" title="View the source code for this module in GitHub.">View Source</a>

<a href="https://github.com/gruntwork-io/terraform-aws-openvpn/releases/tag/v0.26.2" className="link-button" title="Release notes for only versions which impacted this module.">Release Notes</a>

Expand All @@ -32,11 +32,11 @@ certificates and the OpenVPN server to process those requests.
<!-- ##DOCS-SOURCER-START
{
"originalSources": [
"https://github.com/gruntwork-io/terraform-aws-openvpn/tree/v0.26.4/modules/openvpn-admin/readme.md",
"https://github.com/gruntwork-io/terraform-aws-openvpn/tree/v0.26.4/modules/openvpn-admin/variables.tf",
"https://github.com/gruntwork-io/terraform-aws-openvpn/tree/v0.26.4/modules/openvpn-admin/outputs.tf"
"https://github.com/gruntwork-io/terraform-aws-openvpn/tree/v0.26.5/modules/openvpn-admin/readme.md",
"https://github.com/gruntwork-io/terraform-aws-openvpn/tree/v0.26.5/modules/openvpn-admin/variables.tf",
"https://github.com/gruntwork-io/terraform-aws-openvpn/tree/v0.26.5/modules/openvpn-admin/outputs.tf"
],
"sourcePlugin": "module-catalog-api",
"hash": "fe0fd9a5b7535a278048fdf9539d4ce6"
"hash": "8f6d3142259635555fe85e33fb952fa8"
}
##DOCS-SOURCER-END -->
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ import VersionBadge from '../../../../../src/components/VersionBadge.tsx';
import { HclListItem, HclListItemDescription, HclListItemTypeDetails, HclListItemDefaultValue, HclGeneralListItem } from '../../../../../src/components/HclListItem.tsx';
import { ModuleUsage } from "../../../../../src/components/ModuleUsage";

<VersionBadge repoTitle="Open VPN Package Infrastructure Package" version="0.26.4" lastModifiedVersion="0.26.4"/>
<VersionBadge repoTitle="Open VPN Package Infrastructure Package" version="0.26.5" lastModifiedVersion="0.26.5"/>

# OpenVPN Server Module

<a href="https://github.com/gruntwork-io/terraform-aws-openvpn/tree/v0.26.4/modules/openvpn-server" className="link-button" title="View the source code for this module in GitHub.">View Source</a>
<a href="https://github.com/gruntwork-io/terraform-aws-openvpn/tree/v0.26.5/modules/openvpn-server" className="link-button" title="View the source code for this module in GitHub.">View Source</a>

<a href="https://github.com/gruntwork-io/terraform-aws-openvpn/releases/tag/v0.26.4" className="link-button" title="Release notes for only versions which impacted this module.">Release Notes</a>
<a href="https://github.com/gruntwork-io/terraform-aws-openvpn/releases/tag/v0.26.5" className="link-button" title="Release notes for only versions which impacted this module.">Release Notes</a>

This module makes it easy to deploy an OpenVPN server in an auto-scaling group (size 1) for fault tolerance --along with the all the resources it typically needs:

Expand Down Expand Up @@ -83,7 +83,7 @@ resource "aws_iam_policy_attachment" "attachment" {

## What if I want to enable MFA?

The scripts [init-openvpn](https://github.com/gruntwork-io/terraform-aws-openvpn/tree/v0.26.4/modules/init-openvpn) and [install-openvpn](https://github.com/gruntwork-io/terraform-aws-openvpn/tree/v0.26.4/modules/install-openvpn) support setting up the
The scripts [init-openvpn](https://github.com/gruntwork-io/terraform-aws-openvpn/tree/v0.26.5/modules/init-openvpn) and [install-openvpn](https://github.com/gruntwork-io/terraform-aws-openvpn/tree/v0.26.5/modules/install-openvpn) support setting up the
[duo_openvpn](https://github.com/duosecurity/duo_openvpn) plugin for 2FA authentication. To enable the duo plugin, you
need to:

Expand All @@ -96,7 +96,7 @@ need to:
`--duo-skey`, and `--duo-host` to configure the integration key, secret key, and API hostname respectively. You can
obtain these by following [the Duo setup instructions for OpenVPN](https://duo.com/docs/openvpn).

See the [packer-duo](https://github.com/gruntwork-io/terraform-aws-openvpn/tree/v0.26.4/modules/examples/packer-duo) and [openvpn-host-duo](https://github.com/gruntwork-io/terraform-aws-openvpn/tree/v0.26.4/modules/examples/openvpn-host-duo) examples for an
See the [packer-duo](https://github.com/gruntwork-io/terraform-aws-openvpn/tree/v0.26.5/modules/examples/packer-duo) and [openvpn-host-duo](https://github.com/gruntwork-io/terraform-aws-openvpn/tree/v0.26.5/modules/examples/openvpn-host-duo) examples for an
example configuration to deploy the OpenVPN server with Duo enabled.

Once the plugin is setup, all authentication for the client will result in a password prompt. To authenticate, you pass
Expand All @@ -117,7 +117,7 @@ exactly match the duo username.

module "openvpn_server" {

source = "git::git@github.com:gruntwork-io/terraform-aws-openvpn.git//modules/openvpn-server?ref=v0.26.4"
source = "git::git@github.com:gruntwork-io/terraform-aws-openvpn.git//modules/openvpn-server?ref=v0.26.5"

# ----------------------------------------------------------------------------------------------------
# REQUIRED VARIABLES
Expand Down Expand Up @@ -352,7 +352,7 @@ module "openvpn_server" {
# ------------------------------------------------------------------------------------------------------

terraform {
source = "git::git@github.com:gruntwork-io/terraform-aws-openvpn.git//modules/openvpn-server?ref=v0.26.4"
source = "git::git@github.com:gruntwork-io/terraform-aws-openvpn.git//modules/openvpn-server?ref=v0.26.5"
}

inputs = {
Expand Down Expand Up @@ -1063,11 +1063,11 @@ The base64-encoded User Data script to run on the server when it is booting. Thi
<!-- ##DOCS-SOURCER-START
{
"originalSources": [
"https://github.com/gruntwork-io/terraform-aws-openvpn/tree/v0.26.4/modules/openvpn-server/readme.md",
"https://github.com/gruntwork-io/terraform-aws-openvpn/tree/v0.26.4/modules/openvpn-server/variables.tf",
"https://github.com/gruntwork-io/terraform-aws-openvpn/tree/v0.26.4/modules/openvpn-server/outputs.tf"
"https://github.com/gruntwork-io/terraform-aws-openvpn/tree/v0.26.5/modules/openvpn-server/readme.md",
"https://github.com/gruntwork-io/terraform-aws-openvpn/tree/v0.26.5/modules/openvpn-server/variables.tf",
"https://github.com/gruntwork-io/terraform-aws-openvpn/tree/v0.26.5/modules/openvpn-server/outputs.tf"
],
"sourcePlugin": "module-catalog-api",
"hash": "0341963987ff48b14fa3bfd9d18b59e1"
"hash": "4f47aaa99e65e9eacdcef3f5ebd87f41"
}
##DOCS-SOURCER-END -->
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ import VersionBadge from '../../../../../src/components/VersionBadge.tsx';
import { HclListItem, HclListItemDescription, HclListItemTypeDetails, HclListItemDefaultValue, HclGeneralListItem } from '../../../../../src/components/HclListItem.tsx';
import { ModuleUsage } from "../../../../../src/components/ModuleUsage";

<VersionBadge repoTitle="Open VPN Package Infrastructure Package" version="0.26.4" lastModifiedVersion="0.26.2"/>
<VersionBadge repoTitle="Open VPN Package Infrastructure Package" version="0.26.5" lastModifiedVersion="0.26.2"/>

# Start OpenVPN Admin

<a href="https://github.com/gruntwork-io/terraform-aws-openvpn/tree/v0.26.4/modules/start-openvpn-admin" className="link-button" title="View the source code for this module in GitHub.">View Source</a>
<a href="https://github.com/gruntwork-io/terraform-aws-openvpn/tree/v0.26.5/modules/start-openvpn-admin" className="link-button" title="View the source code for this module in GitHub.">View Source</a>

<a href="https://github.com/gruntwork-io/terraform-aws-openvpn/releases/tag/v0.26.2" className="link-button" title="Release notes for only versions which impacted this module.">Release Notes</a>

Expand All @@ -24,11 +24,11 @@ certificate revocation requests on the OpenVPN server
<!-- ##DOCS-SOURCER-START
{
"originalSources": [
"https://github.com/gruntwork-io/terraform-aws-openvpn/tree/v0.26.4/modules/start-openvpn-admin/readme.md",
"https://github.com/gruntwork-io/terraform-aws-openvpn/tree/v0.26.4/modules/start-openvpn-admin/variables.tf",
"https://github.com/gruntwork-io/terraform-aws-openvpn/tree/v0.26.4/modules/start-openvpn-admin/outputs.tf"
"https://github.com/gruntwork-io/terraform-aws-openvpn/tree/v0.26.5/modules/start-openvpn-admin/readme.md",
"https://github.com/gruntwork-io/terraform-aws-openvpn/tree/v0.26.5/modules/start-openvpn-admin/variables.tf",
"https://github.com/gruntwork-io/terraform-aws-openvpn/tree/v0.26.5/modules/start-openvpn-admin/outputs.tf"
],
"sourcePlugin": "module-catalog-api",
"hash": "15f00c460f7f40397e555050190bd3b6"
"hash": "5f5f78a8c8a5dbb5f9ea809206e90608"
}
##DOCS-SOURCER-END -->