quasar/firewall.nix

15 lines
248 B
Nix
Raw Normal View History

{
networking.firewall = {
enable = true;
allowedTCPPorts = [ 22 80 443 21 ];
allowedUDPPorts = [ 22 80 443 ];
allowedTCPPortRanges = [
# vsftpd passive
{
from = 51000;
to = 51999;
}
];
};
}