Skip to content

ConnorWilliams/aws-vpn-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AWS OpenVPN Server

This repository contains the code to allow the deployment of your own VPN Access Server in AWS. This code uses Sceptre to deploy AWS CloudFormation templates so this means you will need an AWS account and Sceptre installed on your machine.

Setup

AWS

Sceptre

  • Install python & pip if you don't have it installed already

  • Install virtualenv

    pip install virtualenv
    
  • Install virtualenvwrapper

    pip install virtualenvwrapper
    export WORKON_HOME=~/Envs
    source /usr/local/bin/virtualenvwrapper.sh
    
  • Create the sceptre virtualenv

    mkvirtualenv sceptre
    
  • Select the sceptre virtualenv to work on

    workon sceptre
    

    Note: You will need to workon sceptre every time you want to use Sceptre

  • Install Sceptre

    pip install sceptre
    

Usage

  • Set the owner_name and owner_email values in config/vpn/network.yaml which will be used to tag the resources
  • Set the vpn_admin_user and vpn_admin_pw values in config/vpn/openvpn.yaml which you will use to log in to the VPN
  • Set the key_pair value in config/vpn/openvpn.yaml to the name of the key pair you created earlier
  • Edit the region value in config/vpn/config.yaml and config/vpn/openvpn.yaml to the region you want to launch in
  • Launch the environment using Sceptre
    sceptre launch-env vpn
    
  • Connect to the VPN

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published