From 290d8b4273ace27b3c5d27565bcd93e318420676 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Fri, 6 Dec 2024 22:37:21 +0000 Subject: [PATCH] Add fixed IPs to DERP advertisement --- ansible/roles/headscale/files/headscale.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ansible/roles/headscale/files/headscale.yml b/ansible/roles/headscale/files/headscale.yml index 1bf750d..5441da2 100644 --- a/ansible/roles/headscale/files/headscale.yml +++ b/ansible/roles/headscale/files/headscale.yml @@ -100,6 +100,9 @@ derp: private_key_path: /var/lib/headscale/derp_server_private.key + ipv4: "{{ ansible_default_ipv4.address }}" + ipv6: "{{ ansible_default_ipv6.address }}" + # List of externally available DERP maps encoded in JSON urls: []