Better firewall configuration

This commit is contained in:
Filippo Berto 2022-09-22 10:26:40 +02:00
parent ac91a506da
commit ce31c67653
No known key found for this signature in database
GPG key ID: FE98AE5EC52B1056
2 changed files with 15 additions and 1 deletions

View file

@ -62,6 +62,13 @@ with lib; {
};
networkmanager.enable = true;
useDHCP = false;
firewall.allowedTCPPortRanges = [
{ from = 1714; to = 1764; } # KDEConnect
];
firewall.allowedUDPPortRanges = [
{ from = 1714; to = 1764; } # KDEConnect
];
};
time.timeZone = "Europe/Rome";