Terraguard - Create And Destroy Your Own VPN Service Using WireGuard
2021-07-25 06:30:00 Author: feedproxy.google.com(查看原文) 阅读量:92 收藏

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 and open the directory

You can change the region or key name in the variable.tf

  • Initialize Terraform
  • Plan our modifications

terraform plan ">

sudo terraform plan
  • Apply the changes
  • 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"

Tests - Checking the IP

  • Test the connection without VPN
  • Start VPN
  • Test the connection with VPN

Cleanup

  • Just run:

  • AWS
  • Digital Ocean
  • GCP
  • OCI

Contributing

Contributions, issues and feature requests are welcome!
Feel free to check issues.

Roadmap

  • Work
  • Linux client(Debian, RedHat and Arch base)
  • Terraform to deploy server on AWS
  • Mac client
  • Add other cloud providers

Author

João Freire

Terraguard - Create And Destroy Your Own VPN Service Using WireGuard Terraguard - Create And Destroy Your Own VPN Service Using WireGuard Reviewed by Zion3R on 5:30 PM Rating: 5


文章来源: http://feedproxy.google.com/~r/PentestTools/~3/LZ0N7_3UGY0/terraguard-create-and-destroy-your-own.html
如有侵权请联系:admin#unsafe.sh