headscale/tests/acls/acl_policy_basic_groups.hujson

26 lines
448 B
Text
Raw Permalink Normal View History

2021-07-04 11:23:31 +00:00
// This ACL is used to test group expansion
{
"groups": {
2021-07-04 11:23:31 +00:00
"group:example": [
"testnamespace",
],
},
"hosts": {
2021-07-04 11:23:31 +00:00
"host-1": "100.100.100.100",
"subnet-1": "100.100.101.100/24",
},
"acls": [
2021-07-04 11:23:31 +00:00
{
"action": "accept",
"src": [
2021-07-04 11:23:31 +00:00
"group:example",
],
"dst": [
2021-07-04 11:23:31 +00:00
"host-1:*",
],
},
],
}