update firewall rules

This commit is contained in:
2024-09-13 20:09:52 +05:30
parent 8287257e29
commit d4f3e8ad6f
3 changed files with 5 additions and 2 deletions

View File

@ -24,7 +24,7 @@
};
firewall = {
enable = true;
allowedTCPPorts = [80 443 3000 6666 8081];
allowedTCPPorts = [80 443 22 3000 6666 8081];
allowedTCPPortRanges = [
{
from = 1714;

View File

@ -47,6 +47,10 @@
networking = {
hostName = "controller";
firewall = {
enable = true;
allowedTCPPorts = [80 443 22];
};
};
security = {

View File

@ -60,6 +60,5 @@
};
};
networking.firewall.allowedTCPPorts = [80 443];
environment.systemPackages = with pkgs; [headscale];
}