about summary refs log tree commit diff
path: root/templates
diff options
context:
space:
mode:
authorPaweł Dybiec <pdybiec@stud.cs.uni.wroc.pl>2019-10-13 02:01:20 +0200
committerPaweł Dybiec <pdybiec@stud.cs.uni.wroc.pl>2019-10-13 02:01:20 +0200
commitc3b30460b49eac11f82acb465e9682a3c308115b (patch)
treec34a2d8e7754331598fcc47fdf0e012540f1c6d1 /templates
parentWireguard configuration (diff)
Removed systemd-networkd
Diffstat (limited to 'templates')
-rw-r--r--templates/wg.conf.j2 (renamed from templates/wg.netdev.j2)11
-rw-r--r--templates/wg.network.j25
2 files changed, 3 insertions, 13 deletions
diff --git a/templates/wg.netdev.j2 b/templates/wg.conf.j2
index 5d0bf5f..6a62c7f 100644
--- a/templates/wg.netdev.j2
+++ b/templates/wg.conf.j2
@@ -1,21 +1,16 @@
-[NetDev]
-Name = wg0
-Kind = wireguard
-Description = Wireguard
-
 #tamriel 10.0.27.1
-[WireGuard]
+[Interface]
 ListenPort = 48574
 PrivateKey = {{ wireguard_private_key }}
 
 # balmora 10.0.27.2
-[WireGuardPeer]
+[Peer]
 PublicKey = 6dbkVQAQPkbk0+wt6f+wge5cPW6THe0Kua830jio528= 
 AllowedIPs = 10.0.27.2/32
 PersistentKeepalive = 20
 
 # motorola g6 10.0.27.3
-[WireGuardPeer]
+[Peer]
 PublicKey = pqSY7SCKuRkHBTMWVhYAASrx/A1HF8Nlb3emnO8WqAc=
 AllowedIPs = 10.0.27.3/32
 PersistentKeepalive = 20
diff --git a/templates/wg.network.j2 b/templates/wg.network.j2
deleted file mode 100644
index 31fef48..0000000
--- a/templates/wg.network.j2
+++ /dev/null
@@ -1,5 +0,0 @@
-[Match]
-Name = wg0
-
-[Network]
-Address = 10.0.27.1/24