add dn-server

This commit is contained in:
DACHXY 2025-03-15 20:07:06 +08:00
parent a304926231
commit 735228acb6
17 changed files with 485 additions and 2 deletions

View file

@ -0,0 +1,20 @@
{ config, pkgs, ... }:
{
networking = {
networkmanager.enable = true;
enableIPv6 = false;
firewall = {
enable = true;
allowedTCPPorts = [
22
443
80
30072
];
allowedUDPPorts = [
51820
];
};
};
}