From 67e8b43807a2f1c6f09c58292b88e5b3b42797fd Mon Sep 17 00:00:00 2001 From: Davide Polonio Date: Thu, 1 May 2025 17:42:03 +0200 Subject: [PATCH] feat: link new acl config --- headscale/acl.json | 5 ++--- headscale/config.yaml | 5 ++++- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/headscale/acl.json b/headscale/acl.json index 8cdbfbf..71ded70 100644 --- a/headscale/acl.json +++ b/headscale/acl.json @@ -50,10 +50,9 @@ }, { "action": "accept", - "src": ["davide", "dario"], + "src": ["group:family"], "dst": [ - "davide:*", - "dario:*" + "group:family:*" ] } ] diff --git a/headscale/config.yaml b/headscale/config.yaml index 5b88ec7..5a7f91b 100644 --- a/headscale/config.yaml +++ b/headscale/config.yaml @@ -213,7 +213,7 @@ policy: mode: file # If the mode is set to "file", the path to a # HuJSON file containing ACL policies. - path: "" + path: "/etc/headscale/acl.json" ## DNS # @@ -279,6 +279,9 @@ dns: - name: "pi.hole" type: "A" value: "100.64.0.4" + - name: "pihole.lan.poldebra.me" + type: "A" + value: "100.64.0.4" # - name: "grafana.myvpn.example.com" # type: "A" # value: "100.64.0.3"