feat(paperless): install ftp for scan-to-network
This commit is contained in:
parent
bcaa1b97a2
commit
717fcffcf4
3 changed files with 23 additions and 1 deletions
|
|
@ -1,7 +1,14 @@
|
|||
{
|
||||
networking.firewall = {
|
||||
enable = true;
|
||||
allowedTCPPorts = [ 22 80 443 ];
|
||||
allowedTCPPorts = [ 22 80 443 21 ];
|
||||
allowedUDPPorts = [ 22 80 443 ];
|
||||
allowedTCPPortRanges = [
|
||||
# vsftpd passive
|
||||
{
|
||||
from = 51000;
|
||||
to = 51999;
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue