quasar/firewall.nix

15 lines
314 B
Nix
Raw Normal View History

{
networking.firewall = {
enable = true;
2024-10-03 14:54:38 +02:00
allowedTCPPorts = [ 22 80 443 21 25 465 587 143 993 995 110 22000 ];
allowedUDPPorts = [ 22 80 443 25 465 587 143 993 995 110 22000 ];
allowedTCPPortRanges = [
# vsftpd passive
{
from = 51000;
to = 51999;
}
];
};
}