ftp: grant read access to LAN

This commit is contained in:
Colin 2023-08-31 06:44:04 +00:00
parent b2af4e8983
commit 639a4cfe50

View File

@ -41,11 +41,20 @@ in
enable = true; enable = true;
settings = { settings = {
ftpd = { ftpd = {
bindings = [{ bindings = [
address = "10.0.10.5"; {
port = 21; # binding this means any wireguard client can connect
debug = true; address = "10.0.10.5";
}]; port = 21;
debug = true;
}
{
# binding this means any LAN client can connect
address = "10.78.79.51";
port = 21;
debug = true;
}
];
# active mode is susceptible to "bounce attacks", without much benefit over passive mode # active mode is susceptible to "bounce attacks", without much benefit over passive mode
disable_active_mode = true; disable_active_mode = true;