Files
containers/01-headscale/config/acl.json
T

35 lines
584 B
JSON

{
"tagOwners": {
"tag:ferris": ["weckyy702@"]
},
"hosts": {
"duke.veltnet": "10.10.0.135/32",
"homenet": "10.10.0.0/16",
"homenet6": "fd55:6f39:8ba5::/60"
},
"acls": [
/*Untagged devices have access to everything*/
{
"action": "accept",
"src": ["autogroup:member"],
"dst": [
"autogroup:internet:*",
"autogroup:member:*",
"autogroup:tagged:*",
"homenet:*",
"homenet6:*"
]
},
/*Ferris can only access the services hosted on duke*/
{
"action": "accept",
"src": ["tag:ferris"],
"dst": [
"duke.veltnet:*"
]
}
]
}