From 66ebf57ef9c51f6775f103945c537bcb2faab573 Mon Sep 17 00:00:00 2001 From: Justus Grunow Date: Mon, 25 Nov 2024 21:21:23 -0500 Subject: [PATCH] fixed wg config --- ansible/assets/docker-ext/wg0.conf.j2 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/ansible/assets/docker-ext/wg0.conf.j2 b/ansible/assets/docker-ext/wg0.conf.j2 index 8b43e4d..23a345f 100644 --- a/ansible/assets/docker-ext/wg0.conf.j2 +++ b/ansible/assets/docker-ext/wg0.conf.j2 @@ -1,6 +1,8 @@ [Interface] -PrivateKey = {{ docker-ext_wg_private_key }} +PrivateKey = {{ docker_ext_wg_private_key }} Address = 10.11.20.2/24 +ListenPort = 51820 +DNS = 10.11.1.10 [Peer] PublicKey = {{ bastion_wg_public_key }} @@ -8,6 +10,11 @@ AllowedIPs = 0.0.0.0/0 Endpoint = vps.mycomputer.party:51820 PersistentKeepalive = 25 +#MacBook +[Peer] +PublicKey = /A0WduzRrt/LwKmGm6lq/+TS/1gBekU86FSdhvUo82M= +AllowedIPs = 10.11.20.4 + [Peer] PublicKey = eEHA7CSOR5nha9w4SCB+tOXcuCxgkxIXtNU3xB7wZn4= AllowedIPs = 10.11.20.5/32