Disable vsftpd firewall

This commit is contained in:
GHOSCHT 2024-03-03 13:09:01 +01:00
parent b59053bc18
commit e8ad16a7e6
Signed by: ghoscht
GPG key ID: 2C2C1C62A5388E82

View file

@ -5,16 +5,16 @@
localUsers = true;
};
networking.firewall.allowedTCPPorts = [21];
services.vsftpd.extraConfig = ''
pasv_enable=Yes
pasv_min_port=51000
pasv_max_port=51999
'';
networking.firewall.allowedTCPPortRanges = [
{
from = 51000;
to = 51999;
}
];
# networking.firewall.allowedTCPPorts = [21];
# services.vsftpd.extraConfig = ''
# pasv_enable=Yes
# pasv_min_port=51000
# pasv_max_port=51999
# '';
# networking.firewall.allowedTCPPortRanges = [
# {
# from = 51000;
# to = 51999;
# }
# ];
}