Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/michaelbeaumont/wireform

Wireguard in the cloud, fast and easy
https://github.com/michaelbeaumont/wireform

gcp terraform vpn wireguard

Last synced: 23 days ago
JSON representation

Wireguard in the cloud, fast and easy

Awesome Lists containing this project

README

        

# Wireform

Wireform is a collection of `terraform` modules for _complete initialization_ of
a `wireguard` endpoint in the cloud for use as a VPN.

The goal of this project is to make it _very easy_ to build and tear down a
wireguard endpoint in the cloud, such that one can be created and destroyed
on demand.

## Prerequisites

Check the provider folders for requirements.

## Usage

This repo is a set of provider-specific modules for setting up a wireguard
endpoint, accessible only with the keys you provide when setting up
the instance. The private key also never leaves the VM!

Note: None of example keys here are in use. :wink:

### Provider-specific

For example, with GCP, the following terraform can be used to set up the
wireguard endpoint.

```
module "init" {
source = "./init"

billing_account = "01C913-9473DA-F05E90"
region = "us-east1"
}

module "instance" {
source = "./instance"

project_id = module.init.project_id
subnetwork = module.init.subnetwork
source_ranges = [
"2.2.2.2/32",
]
peers = [
<