mirror of
https://github.com/juanfont/headscale.git
synced 2024-12-04 23:45:18 +00:00
24 lines
461 B
Plaintext
24 lines
461 B
Plaintext
|
// This ACL validates autoApprovers support for
|
||
|
// exit nodes and advertised routes
|
||
|
|
||
|
{
|
||
|
"tagOwners": {
|
||
|
"tag:exit": ["test"],
|
||
|
},
|
||
|
|
||
|
"groups": {
|
||
|
"group:test": ["test"]
|
||
|
},
|
||
|
|
||
|
"acls": [
|
||
|
{"action": "accept", "users": ["*"], "ports": ["*:*"]},
|
||
|
],
|
||
|
|
||
|
"autoApprovers": {
|
||
|
"exitNode": ["tag:exit"],
|
||
|
"routes": {
|
||
|
"10.10.0.0/16": ["group:test"],
|
||
|
"10.11.0.0/16": ["test"],
|
||
|
}
|
||
|
}
|
||
|
}
|