From 8b24cb052dde3cb549e75fa4706c3c922a21f805 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Thu, 15 Feb 2024 09:53:33 +0100 Subject: [PATCH] vars --- host_vars/irantu.mgrote.net | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/host_vars/irantu.mgrote.net b/host_vars/irantu.mgrote.net index 4e3372e2..70520ed7 100644 --- a/host_vars/irantu.mgrote.net +++ b/host_vars/irantu.mgrote.net @@ -47,3 +47,21 @@ users: public_ssh_key: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJcBwOjanQV6sFWaTetqpl20SVe3aRzGjKbsp7hKkDCE mg@irantu allow_sudo: true allow_passwordless_sudo: true + +### mgrote.wireguard +wireguard_profiles: + - name: wg0 + privatekey: "{{ lookup('keepass', 'wireguard_irantu_private_key', 'password') }}" + address: 10.25.25.4/24 + dns: 192.168.2.37 + publickey: yUDu0ReEz6CjFW6Ecoh2oN/eAGRtVQP38Bu5hJnv1w0= + allowedips: 192.168.2.0/24, 192.168.3.0/24 + endpoint: mgrote.net:13231 + - name: wg1 + privatekey: "{{ lookup('keepass', 'wireguard_irantu_private_key', 'password') }}" + address: 10.25.25.4/24 + dns: 192.168.2.37 + publickey: yUDu0ReEz6CjFW6Ecoh2oN/eAGRtVQP38Bu5hJnv1w0= + allowedips: 0.0.0.0/0 + endpoint: mgrote.net:13231 +...