From 49d9675b30f39b42650ae98d893cdbe305358aa0 Mon Sep 17 00:00:00 2001 From: Paweł Dybiec Date: Sun, 13 Oct 2019 00:39:31 +0200 Subject: Wireguard configuration --- templates/wg.netdev.j2 | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 templates/wg.netdev.j2 (limited to 'templates/wg.netdev.j2') diff --git a/templates/wg.netdev.j2 b/templates/wg.netdev.j2 new file mode 100644 index 0000000..5d0bf5f --- /dev/null +++ b/templates/wg.netdev.j2 @@ -0,0 +1,21 @@ +[NetDev] +Name = wg0 +Kind = wireguard +Description = Wireguard + +#tamriel 10.0.27.1 +[WireGuard] +ListenPort = 48574 +PrivateKey = {{ wireguard_private_key }} + +# balmora 10.0.27.2 +[WireGuardPeer] +PublicKey = 6dbkVQAQPkbk0+wt6f+wge5cPW6THe0Kua830jio528= +AllowedIPs = 10.0.27.2/32 +PersistentKeepalive = 20 + +# motorola g6 10.0.27.3 +[WireGuardPeer] +PublicKey = pqSY7SCKuRkHBTMWVhYAASrx/A1HF8Nlb3emnO8WqAc= +AllowedIPs = 10.0.27.3/32 +PersistentKeepalive = 20 -- cgit 1.4.1