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
The groupdel command in Linux removes a group from the system. It deletes the group's entry from /etc/group and /etc/gshadow,…
The wc command in Linux counts lines, words, characters, and bytes in files or standard input. It…
The top command in Linux provides a real-time view of running processes and system resource usage. From…
The usermod command in Linux modifies existing user account attributes. You can use it to manage group…
The sort command in Linux reads lines from files or standard input and writes them to standard…
The wall command in Linux sends a message to the terminals of all currently logged-in users. The…