mirror of
https://github.com/juanfont/headscale.git
synced 2024-11-27 09:23:05 +00:00
24 lines
461 B
Text
24 lines
461 B
Text
|
// 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"],
|
||
|
}
|
||
|
}
|
||
|
}
|