Terra guard : Create And Destroy Your Own VPN Service Using Wire Guard

Terra guard’s goal is to be simple to create and destroy your own VPN service using Wire Guard.

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 AWSDigitalOcean 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”

Tests – Checking the IP

  • Test the connection without VPN

curl ipinfo.io/ip

  • Start VPN

sudo systemctl start wg-quick@wg0

  • Test the connection with VPN

curl ipinfo.io/ip

R K

Recent Posts

JBDev : A Tool For Jailbreak And TrollStore Development

JBDev is a specialized development tool designed to streamline the creation and debugging of jailbreak…

18 hours ago

Kereva LLM Code Scanner : A Revolutionary Tool For Python Applications Using LLMs

The Kereva LLM Code Scanner is an innovative static analysis tool tailored for Python applications…

19 hours ago

Nuclei-Templates-Labs : A Hands-On Security Testing Playground

Nuclei-Templates-Labs is a dynamic and comprehensive repository designed for security researchers, learners, and organizations to…

21 hours ago

SSH-Stealer : The Stealthy Threat Of Advanced Credential Theft

SSH-Stealer and RunAs-Stealer are malicious tools designed to stealthily harvest SSH credentials, enabling attackers to…

21 hours ago

ollvm-unflattener : A Tool For Reversing Control Flow Flattening In OLLVM

Control flow flattening is a common obfuscation technique used by OLLVM (Obfuscator-LLVM) to transform executable…

21 hours ago

Cybersecurity – Tools And Their Function

Cybersecurity tools play a critical role in safeguarding digital assets, systems, and networks from malicious…

2 days ago