mirror of
https://github.com/juanfont/headscale.git
synced 2024-11-23 18:15:26 +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:*",
|
||
|
],
|
||
|
},
|
||
|
],
|
||
|
}
|