2020-01-26 11:59:13 +01:00
|
|
|
# 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).
|
2020-02-06 19:55:42 +01:00
|
|
|
|
|
|
|
## Deployment instructions
|
|
|
|
|
|
|
|
1. Build the server image with Packer.
|
|
|
|
```sh
|
|
|
|
cd ./packer/
|
|
|
|
export HCLOUD_TOKEN=XXXX
|
|
|
|
packer build ./
|
|
|
|
```
|
|
|
|
|
|
|
|
2. Deploy the server image with Terraform.
|
|
|
|
```sh
|
|
|
|
cd ./terraform/
|
|
|
|
terraform init
|
|
|
|
terraform apply
|
|
|
|
```
|