mirror of
https://github.com/juanfont/headscale.git
synced 2024-11-14 11:37:23 +08:00
24 lines
No EOL
450 B
Text
24 lines
No EOL
450 B
Text
// This ACL is a very basic example to validate the
|
|
// expansion of hosts
|
|
|
|
|
|
{
|
|
"Hosts": {
|
|
"host-1": "100.100.100.100",
|
|
"subnet-1": "100.100.101.100/24",
|
|
},
|
|
|
|
"ACLs": [
|
|
{
|
|
"Action": "accept",
|
|
"Users": [
|
|
"subnet-1",
|
|
"192.168.1.0/24"
|
|
],
|
|
"Ports": [
|
|
"*:22,3389",
|
|
"host-1:*",
|
|
],
|
|
},
|
|
],
|
|
} |