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