Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 1.05 KB

File metadata and controls

15 lines (10 loc) · 1.05 KB

systemd-wireguard terraform module

This is a systemd-provisioning module for the WireGuard terraform provider. It configures a 'mesh & spoke' WireGuard network from a (non-empty) list of terraform-managed peer servers to be in a fully-connected mesh, and optionally 'spoke' peers that connect to the meshed hub, but not to each other directly; useful for example for administrative access to servers, or for remote access to an internal network.

Dependencies

On the remote peers:

  • systemd >= v243
  • systemd-networkd
  • Linux >= 5.6 /or/ wireguard-dkms

If use_extant_systemd_conf:

  • configured systemd-networkd netdev with the same interface name as provided to this module (e.g. default wg0)

There is no requirement for wireguard (or wireguard-tools) to be installed on the machine executing terraform.