wireguard-setup/README.md

27 lines
733 B
Markdown
Raw Normal View History

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
2020-06-14 21:25:25 +02:00
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.
2020-02-06 19:55:42 +01:00
```sh
cd ./packer/
packer build ./
```
2020-06-14 21:25:25 +02:00
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.
2020-02-06 19:55:42 +01:00
```sh
cd ./terraform/
terraform init
terraform apply
```