feat: link new acl config

This commit is contained in:
Davide Polonio 2025-05-01 17:42:03 +02:00
parent 23a08ba8f2
commit 67e8b43807
2 changed files with 6 additions and 4 deletions

View File

@ -50,10 +50,9 @@
}, },
{ {
"action": "accept", "action": "accept",
"src": ["davide", "dario"], "src": ["group:family"],
"dst": [ "dst": [
"davide:*", "group:family:*"
"dario:*"
] ]
} }
] ]

View File

@ -213,7 +213,7 @@ policy:
mode: file mode: file
# If the mode is set to "file", the path to a # If the mode is set to "file", the path to a
# HuJSON file containing ACL policies. # HuJSON file containing ACL policies.
path: "" path: "/etc/headscale/acl.json"
## DNS ## DNS
# #
@ -279,6 +279,9 @@ dns:
- name: "pi.hole" - name: "pi.hole"
type: "A" type: "A"
value: "100.64.0.4" value: "100.64.0.4"
- name: "pihole.lan.poldebra.me"
type: "A"
value: "100.64.0.4"
# - name: "grafana.myvpn.example.com" # - name: "grafana.myvpn.example.com"
# type: "A" # type: "A"
# value: "100.64.0.3" # value: "100.64.0.3"