Terra guard’s goal is to be simple to create and destroy your own VPN service using Wire Guard.
Prerequisites
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
terraform init
sudo terraform plan
sudo terraform apply
sudo terraform plan -var “do_token=value”
sudo terraform apply -var “do_token=value”
Tests – Checking the IP
curl ipinfo.io/ip
sudo systemctl start wg-quick@wg0
curl ipinfo.io/ip
Introduction Bash scripting is a powerful way to automate Linux tasks, but writing a script…
Introduction A self-signed SSL certificate is a certificate that is created and signed by the…
Introduction Debugging is an important part of Bash scripting. When a script does not work…
Introduction Cron jobs are used in Linux to run commands or Bash scripts automatically at…
Introduction Pipes are an important feature in Linux and Bash scripting. A pipe allows you…
Introduction The grep, awk, and sed commands are powerful text-processing tools in Linux. They are…