firewall: reject packets on some hosts

This commit is contained in:
Motiejus Jakštys 2023-09-21 15:08:26 +03:00
parent 91acebd39c
commit 07e61adc1e
2 changed files with 2 additions and 0 deletions

View File

@ -624,6 +624,7 @@
firewall = { firewall = {
allowedUDPPorts = [53 80 443]; allowedUDPPorts = [53 80 443];
allowedTCPPorts = [53 80 443]; allowedTCPPorts = [53 80 443];
rejectPackets = true;
}; };
}; };
} }

View File

@ -116,6 +116,7 @@
hostName = "vno3-rp3b"; hostName = "vno3-rp3b";
domain = "servers.jakst"; domain = "servers.jakst";
dhcpcd.enable = true; dhcpcd.enable = true;
firewall.rejectPackets = true;
}; };
nixpkgs.hostPlatform = "aarch64-linux"; nixpkgs.hostPlatform = "aarch64-linux";