https://github.com/webdigi/AWS-VPN-Server-Setup
This repo was forked fromAll credit for the cloudformation template goes to webdigi. Please see original repo for further information.
Dependencies
- aws account
- aws cli
- freenom account
- freenom-dns, requires node.js and npm installed first
Rolling out your own private VPN server on AWS cloud in 10 minutes
I've created helper bash scripts to allow rolling out the VPN from the local client CLI.
- Rename vars.example to vars and fill in all parameters.
- Login to freenom-dns in cli, using
freenom-dns login
. - Run start-vpn to create the VPN stack, and set the dns record.
- Use delete-vpn to remove the stack when you are done.
- Enjoy and share!
TODO
- Allow script to prompt choices/inputs for stack parameters, if not present from vars file
- Investigate using docker to speed up the deployment of the VPN
- Auto delete VPN stack after interval of disuse, to save AWS costs
License
Licensed under the MIT license.