2025-06-23 18:12:52 +00:00
|
|
|
{ common, ... }:
|
|
|
|
|
2025-04-16 21:09:17 +00:00
|
|
|
{
|
|
|
|
networking = {
|
|
|
|
firewall = {
|
|
|
|
enable = true;
|
2025-05-13 21:31:29 +02:00
|
|
|
allowedTCPPorts = [
|
|
|
|
80
|
|
|
|
443
|
|
|
|
];
|
2025-06-23 18:12:52 +00:00
|
|
|
extraInputRules = ''
|
|
|
|
ip saddr ${common.localIpRange} accept
|
|
|
|
'';
|
2025-04-16 21:09:17 +00:00
|
|
|
};
|
|
|
|
nftables.enable = true;
|
|
|
|
};
|
|
|
|
}
|