Make config.machine.firewall an alias of networking.firewall.
This commit is contained in:
parent
5d017ce18f
commit
be5ef36567
6 changed files with 6 additions and 50 deletions
|
@ -32,11 +32,10 @@ with lib;
|
|||
"openssh"
|
||||
];
|
||||
firewall = {
|
||||
enable = true;
|
||||
allowPing = false;
|
||||
allowedUDPPorts = [ 22 80 443 ];
|
||||
allowedTCPPorts = [ 80 443 ];
|
||||
allowedUDPPortRanges = [];
|
||||
allowedTCPPortRanges = [];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -34,11 +34,10 @@ with lib;
|
|||
{ domain = "mail.${base}"; service = "mail"; }
|
||||
]);
|
||||
firewall = {
|
||||
enable = true;
|
||||
allowPing = false;
|
||||
allowedUDPPorts = [ 22 80 443 ];
|
||||
allowedTCPPorts = [ 80 443 ];
|
||||
allowedUDPPortRanges = [];
|
||||
allowedTCPPortRanges = [];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -36,9 +36,8 @@ with lib;
|
|||
"cups"
|
||||
];
|
||||
firewall = {
|
||||
enable = true;
|
||||
allowPing = true;
|
||||
allowedUDPPorts = [];
|
||||
allowedTCPPorts = [];
|
||||
allowedUDPPortRanges = [ { from = 1714; to = 1764; } ];
|
||||
allowedTCPPortRanges = [ { from = 1714; to = 1764; } ];
|
||||
};
|
||||
|
|
|
@ -43,11 +43,10 @@ with lib;
|
|||
{ domain = "git.${base}"; service = "gitea"; }
|
||||
]);
|
||||
firewall = {
|
||||
enable = true;
|
||||
allowPing = false;
|
||||
allowedUDPPorts = [ 22 80 443 ];
|
||||
allowedTCPPorts = [ 80 443 ]; # 5222 5269 ];
|
||||
allowedUDPPortRanges = [];
|
||||
allowedTCPPortRanges = [];
|
||||
allowedTCPPorts = [ 80 443 ];
|
||||
};
|
||||
};
|
||||
config.services.mailman3 = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue