Terraguard - create and destroy your own VPN service using WireGuard

(580 views)

About The Project 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.5 How 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, GCP and open the directory You can change the region or key name in the variable.tf Initialize Terraform terraform init Plan our modifications sudo terraform plan Apply the changes sudo terraform apply For Digital Ocean you need to declare your token(do_token) in variable.tf or command line: sudo terraform plan -var "do_token=value" sudo terraform apply -var "do_token=value" For GCP you need to declare your token(project_id) in variable.tf or command line: sudo terraform plan -var "project_id=value" sudo terraform apply -var "project_id=value" You supply the key to Terraform using the environment variable GOOGLE_APPLICATION_CREDENTIALS: export GOOGLE_APPLICATION_CREDENTIALS=path Tests - Checking the IP Test the connection without....

August 4, 2021
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
© HAKIN9 MEDIA SP. Z O.O. SP. K. 2023
What certifications or qualifications do you hold?
Max. file size: 150 MB.
What level of experience should the ideal candidate have?
What certifications or qualifications are preferred?

Download Free eBook

Step 1 of 4

Name(Required)

We’re committed to your privacy. Hakin9 uses the information you provide to us to contact you about our relevant content, products, and services. You may unsubscribe from these communications at any time. For more information, check out our Privacy Policy.