headscale/tests/acls/acl_policy_basic_1.hujson

24 lines
446 B
Text
Raw Normal View History

2021-07-04 05:01:41 -06:00
// This ACL is a very basic example to validate the
// expansion of hosts
{
"hosts": {
2021-07-04 05:01:41 -06:00
"host-1": "100.100.100.100",
"subnet-1": "100.100.101.100/24",
},
"acls": [
2021-07-04 05:01:41 -06:00
{
"action": "accept",
"src": [
2021-07-04 05:01:41 -06:00
"subnet-1",
"192.168.1.0/24"
],
"dst": [
2021-07-04 05:01:41 -06:00
"*:22,3389",
"host-1:*",
],
},
],
}