summaryrefslogtreecommitdiff
path: root/roles/wgnet/templates
diff options
context:
space:
mode:
Diffstat (limited to 'roles/wgnet/templates')
-rw-r--r--roles/wgnet/templates/wg0.netdev.j218
-rw-r--r--roles/wgnet/templates/wg0.network.j26
2 files changed, 0 insertions, 24 deletions
diff --git a/roles/wgnet/templates/wg0.netdev.j2 b/roles/wgnet/templates/wg0.netdev.j2
deleted file mode 100644
index d258010..0000000
--- a/roles/wgnet/templates/wg0.netdev.j2
+++ /dev/null
@@ -1,18 +0,0 @@
-[NetDev]
-Name=wg0
-Kind=wireguard
-Description="Wireguard Overlay Network"
-
-[WireGuard]
-ListenPort=51820
-PrivateKey={{ wireguard_private_key }}
-
-# flame
-[WireGuardPeer]
-PublicKey=YUuBBTKHXsD6tTzcAVWXakZffWKlGS5fAdx7zWSXtlI=
-AllowedIPs=10.0.0.2/32
-
-# water
-[WireGuardPeer]
-PublicKey=X0Gw37N+AUkZjiyZ9buZ8c2ZzFr+niX3FZjxlyqQq0Q=
-AllowedIPs=10.0.0.3/32
diff --git a/roles/wgnet/templates/wg0.network.j2 b/roles/wgnet/templates/wg0.network.j2
deleted file mode 100644
index 2f578e5..0000000
--- a/roles/wgnet/templates/wg0.network.j2
+++ /dev/null
@@ -1,6 +0,0 @@
-[Match]
-Name=wg0
-
-[Network]
-Address={{ wgnet_ip }}/24
-IPMasquerade=ipv4