This project's goal is to be simple to create and destroy your own VPN service using WireGuard.
Prerequisites
Terraform >= 1.0.0 Ansible >= 2.10.5How to Deploy
Terraform
Run with sudo is necessary because we need permission on localhost to install packages, configure a network interface and start a process.
Select your cloud provider AWS, DigitalOcean and open the directory
You can change the region or key name in the variable.tf
Initialize Terraform Plan our modificationsterraform plan ">
sudo terraform plansudo terraform plan -var "do_token=value"
sudo terraform apply -var "do_token=value"
sudo terraform apply -var "do_token=value"
Tests - Checking the IP
Test the connection without VPN Start VPN Test the connection with VPNCleanup
AWS Digital Ocean GCP OCI
Contributing
Contributions, issues and feature requests are welcome!
Feel free to check issues.
Roadmap
Author
João Freire
Twitter: @p0ssuidao