Format tree with treefmt
This commit is contained in:
@@ -4,7 +4,10 @@
|
||||
# Public SSH (22) is intentionally absent: admin access rides the ZeroTier mesh
|
||||
# (inside UDP 9993), with emergency-access as the console fallback.
|
||||
let
|
||||
world = [ "0.0.0.0/0" "::/0" ];
|
||||
world = [
|
||||
"0.0.0.0/0"
|
||||
"::/0"
|
||||
];
|
||||
|
||||
zerotier = {
|
||||
direction = "in";
|
||||
@@ -22,14 +25,29 @@ let
|
||||
};
|
||||
|
||||
dnsRules = [
|
||||
{ direction = "in"; protocol = "udp"; port = "53"; source_ips = world; description = "DNS (UDP)"; }
|
||||
{ direction = "in"; protocol = "tcp"; port = "53"; source_ips = world; description = "DNS (TCP)"; }
|
||||
{
|
||||
direction = "in";
|
||||
protocol = "udp";
|
||||
port = "53";
|
||||
source_ips = world;
|
||||
description = "DNS (UDP)";
|
||||
}
|
||||
{
|
||||
direction = "in";
|
||||
protocol = "tcp";
|
||||
port = "53";
|
||||
source_ips = world;
|
||||
description = "DNS (TCP)";
|
||||
}
|
||||
zerotier
|
||||
ping
|
||||
];
|
||||
in
|
||||
{
|
||||
"clan-control" = [ zerotier ping ];
|
||||
"clan-control" = [
|
||||
zerotier
|
||||
ping
|
||||
];
|
||||
"clan-ns1" = dnsRules;
|
||||
"clan-ns2" = dnsRules;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user