ftp: grant read access to LAN
This commit is contained in:
parent
b2af4e8983
commit
639a4cfe50
|
@ -41,11 +41,20 @@ in
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
ftpd = {
|
ftpd = {
|
||||||
bindings = [{
|
bindings = [
|
||||||
|
{
|
||||||
|
# binding this means any wireguard client can connect
|
||||||
address = "10.0.10.5";
|
address = "10.0.10.5";
|
||||||
port = 21;
|
port = 21;
|
||||||
debug = true;
|
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;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user