mirror of
https://github.com/juanfont/headscale.git
synced 2024-12-21 07:27:34 +00:00
24 lines
450 B
Plaintext
24 lines
450 B
Plaintext
|
// 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:*",
|
||
|
],
|
||
|
},
|
||
|
],
|
||
|
}
|