Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Phils-VPN

This repository contains Terraform code to quickly set up a WireGuard VPN server on AWS.

Change the region in provider "aws" block in main.tf to change the VPN server location, default is eu-north-1 (Stockholm - Sweden).

Motivation

I wanted a free and simple way to set up a VPN server for when I want to change my IP location.

Prerequisites

  • An AWS account with appropriate permissions to create EC2 instances in your chosen region.
  • Terraform installed on your local machine.
  • AWS CLI installed and configured with your credentials.

Usage

# Initialize Terraform and apply the configuration
terraform init
terraform apply
# After applying, retrieve the client configuration from the output
terraform output -raw client_configuration > client.conf
# Once you're done using the VPN, destroy the resources to avoid incurring costs
terraform destroy

About

quick and free method to set up Wireguard VPN on aws

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages