Disable vsftpd firewall
This commit is contained in:
parent
b59053bc18
commit
e8ad16a7e6
1 changed files with 12 additions and 12 deletions
|
@ -5,16 +5,16 @@
|
||||||
localUsers = true;
|
localUsers = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
networking.firewall.allowedTCPPorts = [21];
|
# networking.firewall.allowedTCPPorts = [21];
|
||||||
services.vsftpd.extraConfig = ''
|
# services.vsftpd.extraConfig = ''
|
||||||
pasv_enable=Yes
|
# pasv_enable=Yes
|
||||||
pasv_min_port=51000
|
# pasv_min_port=51000
|
||||||
pasv_max_port=51999
|
# pasv_max_port=51999
|
||||||
'';
|
# '';
|
||||||
networking.firewall.allowedTCPPortRanges = [
|
# networking.firewall.allowedTCPPortRanges = [
|
||||||
{
|
# {
|
||||||
from = 51000;
|
# from = 51000;
|
||||||
to = 51999;
|
# to = 51999;
|
||||||
}
|
# }
|
||||||
];
|
# ];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue