Open Lyra Tdarr server and web UI ports for LAN clients #372

Closed
opened 2026-10-19 11:45:56 +01:00 by nimmo · 0 comments
Owner

Scope

Lyra's native Tdarr server binds to 0.0.0.0, but its server API port (8266) and web UI port (8265) were only opened on the Nebula nebula.mesh firewall interface. LAN clients on the router underlay therefore could not reach the Tdarr UI or API. The user wants LAN access in addition to mesh access.

This is a deliberate widening of Lyra's exposure. It supersedes the earlier fleet note that treated the LAN path to Tdarr as intentionally firewalled.

Change

  • hosts/lyra/default.nix: services.tdarr.server.openFirewall = true, with the surrounding comment updated to state the LAN intent.
  • scripts/check-service-exposure.nix: the Lyra exposure policy check now classifies 8265/8266 as lanOpenPorts (asserted open in the general firewall) instead of restricted ports; Ollama (11434) stays mesh-only and the mesh-interface assertions for the Tdarr ports are unchanged.
  • README.md: the "Fleet at a glance" summary records that Tdarr is LAN-open and Ollama is mesh-only.

Unchanged by design: Lyra's own nodes still address the server over loopback, and the Vega/Nova nodes still reach it over the mesh.

Completion criteria

  • nix flake check passes, including the service-exposure check.
  • Evaluated Lyra config shows 8265 and 8266 in networking.firewall.allowedTCPPorts and still on nebula.mesh.
  • just test on Lyra activates the new configuration without service failures (run by the operator; sudo is unavailable in the agent sandbox).
## Scope Lyra's native Tdarr server binds to `0.0.0.0`, but its server API port (8266) and web UI port (8265) were only opened on the Nebula `nebula.mesh` firewall interface. LAN clients on the router underlay therefore could not reach the Tdarr UI or API. The user wants LAN access in addition to mesh access. This is a deliberate widening of Lyra's exposure. It supersedes the earlier fleet note that treated the LAN path to Tdarr as intentionally firewalled. ## Change - `hosts/lyra/default.nix`: `services.tdarr.server.openFirewall = true`, with the surrounding comment updated to state the LAN intent. - `scripts/check-service-exposure.nix`: the Lyra exposure policy check now classifies 8265/8266 as `lanOpenPorts` (asserted open in the general firewall) instead of restricted ports; Ollama (11434) stays mesh-only and the mesh-interface assertions for the Tdarr ports are unchanged. - `README.md`: the "Fleet at a glance" summary records that Tdarr is LAN-open and Ollama is mesh-only. Unchanged by design: Lyra's own nodes still address the server over loopback, and the Vega/Nova nodes still reach it over the mesh. ## Completion criteria - `nix flake check` passes, including the `service-exposure` check. - Evaluated Lyra config shows 8265 and 8266 in `networking.firewall.allowedTCPPorts` and still on `nebula.mesh`. - `just test` on Lyra activates the new configuration without service failures (run by the operator; sudo is unavailable in the agent sandbox).
nimmo closed this issue 2026-10-19 12:22:07 +01:00
Sign in to join this conversation.
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
nimmo/nixos-config#372
No description provided.