Skip to content

OpenVPN enable MFA #770

Answered by levkohimins
levkohimins asked this question in Help
Discussion options

You must be logged in to vote

These parameters are used by install-openvpn module to install the OpenVPN package and related template files onto a server.

sudo init-openvpn  \
...
 --duo-ikey "${duo_ikey}" \
 --duo-skey "${duo_skey}" \
 --duo-host "${duo_host}" \
...

The terraform-aws-openvpn contains out-of-the-box example.


The fastest way to deploy a test instance with duo MFA

  1. Download openvpn-admin binary for AMI
GITHUB_OAUTH_TOKEN=<token> fetch \
	--repo="https://github.com/gruntwork-io/terraform-aws-openvpn" 
	--tag="v0.26.6" 
	--release-asset="openvpn-admin_linux_amd64"
	/tmp
  1. Build an AMI (Amazon Machine Image)
packer build \
	-var aws_region=us-east-1 \
	-var openvpn_admin_binary=/tmp/openvpn-admin_linux_a…

Replies: 1 comment

Comment options

levkohimins
Sep 15, 2023
Collaborator Author

You must be logged in to vote
0 replies
Answer selected by levkohimins
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment