wireguard-setup/README.md
Héctor Molinero Fernández 4c3f2038be Added Makefile
2020-09-29 23:02:32 +02:00

27 lines
751 B
Markdown

# WireGuard + Unbound
[WireGuard](https://www.wireguard.com) and [Unbound](https://unbound.net) setup with
[Packer](https://www.packer.io) and [Terraform](https://www.terraform.io) ready for deployment in
[Hetzner Cloud](https://www.hetzner.com).
## 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.
```sh
cd ./packer/
packer build -only=hcloud.main ./
```
3. Copy `./terraform/terraform.tfvars.sample` file to `./terraform/terraform.tfvars` and fill it
with the appropriate values.
4. Deploy the server image with Terraform.
```sh
cd ./terraform/
terraform init
terraform apply
```