hectorm / wireguard-setup

WireGuard and Unbound setup with Packer and Terraform.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WireGuard + Unbound

WireGuard and Unbound setup with Packer and Terraform ready for deployment in Hetzner Cloud.

Deployment instructions

  1. Copy ./packer/packer.auto.pkrvars.hcl.sample file to ./packer/packer.auto.pkrvars.hcl and fill it with the appropriate values.

  2. Build the server image with Packer.

cd ./packer/
packer init ./
packer build -only=hcloud.main ./
  1. Copy ./terraform/terraform.tfvars.sample file to ./terraform/terraform.tfvars and fill it with the appropriate values.

  2. Deploy the server image with Terraform.

cd ./terraform/
terraform init
terraform apply

About

WireGuard and Unbound setup with Packer and Terraform.

License:MIT License


Languages

Language:HCL 52.7%Language:Shell 34.5%Language:Makefile 8.6%Language:Smarty 4.3%