zerotier: document mdns ports; drop duplicate udp firewall rules

the nixos module already opens the zerotier port
This commit is contained in:
Jörg Thalheim
2023-09-28 17:58:27 +02:00
parent be6592c82c
commit 739d3b3578
2 changed files with 10 additions and 4 deletions

View File

@@ -79,9 +79,10 @@ in
KeepConfiguration = "static";
};
};
networking.firewall.allowedUDPPorts = [ 9993 ];
networking.firewall.interfaces."zt+".allowedTCPPorts = [ 5353 ];
networking.firewall.interfaces."zt+".allowedUDPPorts = [ 5353 ];
networking.firewall.interfaces."zt+".allowedTCPPorts = [ 5353 ]; # mdns
networking.firewall.interfaces."zt+".allowedUDPPorts = [ 5353 ]; # mdns
networking.networkmanager.unmanaged = [ "interface-name:zt*" ];
services.zerotierone = {
enable = true;
joinNetworks = [ cfg.networkId ];