summaryrefslogtreecommitdiff
path: root/hosts/apocalypse/firewall.nix
diff options
context:
space:
mode:
authorJakub Stachurski <j.stachurski@student.utwente.nl>2025-09-25 18:39:49 +0200
committerJakub Stachurski <j.stachurski@student.utwente.nl>2025-09-25 18:39:49 +0200
commit0a389da154f6e4901b60c86f39e883cb9cf05a11 (patch)
tree65642476697942c629ebf6456e744bb2389c307f /hosts/apocalypse/firewall.nix
parentff442b6e9e6011874b52d3a86422a6e72a0a62f9 (diff)
Whatever
Diffstat (limited to '')
-rw-r--r--hosts/apocalypse/firewall.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/hosts/apocalypse/firewall.nix b/hosts/apocalypse/firewall.nix
index 5c73966..93a9d54 100644
--- a/hosts/apocalypse/firewall.nix
+++ b/hosts/apocalypse/firewall.nix
@@ -2,11 +2,13 @@
let
baseTCP = [
22000 # Syncthng
+ 5352 # Zeroconf for spotifyd
];
baseUDP = [
22000 # Syncthing
22027 # Syncthing
16555 # Wireguard
+ 5353 # Mdns (Spotify)
];
baseTCPRanges = [
{ from = 1714; to = 1764; } # KDE-CONNECT
@@ -32,7 +34,7 @@ let
in
{
networking.firewall = {
- enable = false;
+ enable = true;
allowedTCPPorts = baseTCP;
allowedUDPPorts = baseUDP;
allowedUDPPortRanges = baseUDPRanges;