Skip to content

Deploy OpenVPN server to AWS with Terraform πŸ•΅οΈ 🌐

License

Notifications You must be signed in to change notification settings

R3DRUN3/terraform_ec2_openvpn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

terraform_ec2_openvpn

License: MIT

Deploy OpenVPN to AWS with Terraform πŸ•΅οΈ 🌐

Abstract

OpenVPN is a virtual private network (VPN) system that implements techniques to create secure point-to-point or site-to-site connections in routed or bridged configurations and remote access facilities.
It implements both client and server applications.

This repo contains Terraform IaaS scripts to deploy your own OpenVPN server on AWS, as an EC2 instance.

Usage

clone this repo:

git clone https://github.com/R3DRUN3/terraform_ec2_openvpn.git && cd terraform_ec2_openvpn

if you don't have terraform installed, on Debian/Ubuntu systems install it with:

sh install_terraform.sh

move into aws_ec2_openvpn folder and modify variables.tf and main.tf as needed then launch the deployment with this command:

terraform init && terraform apply \
-var server_username="open_vpn_username_here" \
-var server_password="open_vpn_password_here" 

At the end of the procedure, Terraform will output the url of the web interface of your personal openvpn server in the cloud!

About

Deploy OpenVPN server to AWS with Terraform πŸ•΅οΈ 🌐

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published