closed unused ports
This commit is contained in:
@@ -36,8 +36,6 @@
|
|||||||
networking.firewall.enable = true;
|
networking.firewall.enable = true;
|
||||||
networking.firewall.allowedTCPPorts = [ 80 443 8448 3051 ];
|
networking.firewall.allowedTCPPorts = [ 80 443 8448 3051 ];
|
||||||
networking.firewall.allowedUDPPorts = [ 80 443 8448 3051 5353 ];
|
networking.firewall.allowedUDPPorts = [ 80 443 8448 3051 5353 ];
|
||||||
networking.firewall.allowedUDPPortRanges = [
|
|
||||||
{ from = 49152; to = 65535; }
|
|
||||||
];
|
];
|
||||||
|
|
||||||
# ── Avahi (mDNS) ───────────────────────────────────────────
|
# ── Avahi (mDNS) ───────────────────────────────────────────
|
||||||
@@ -190,4 +188,4 @@ backup /etc/nix-bitcoin-secrets/ localhost/
|
|||||||
nix.gc = { automatic = true; dates = "weekly"; options = "--delete-older-than 7d"; };
|
nix.gc = { automatic = true; dates = "weekly"; options = "--delete-older-than 7d"; };
|
||||||
|
|
||||||
system.stateVersion = "22.05";
|
system.stateVersion = "22.05";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user