mirror of
https://github.com/juanfont/headscale.git
synced 2024-11-27 01:13:05 +00:00
24 lines
450 B
Text
24 lines
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:*",
|
||
|
],
|
||
|
},
|
||
|
],
|
||
|
}
|