Converge Ollama as a least-privilege tailnet service #647
Labels
No labels
burndown-2026-06
autonomy
async-consult
autonomy
epic
autonomy
headless
autonomy
live-collab
coherence-core
priority
P0
priority
P1
priority
P2
priority
P3
priority
P4
qa-fixture
role/ai
role/creator
role/design
role/director
role/engineer
role/exec
role/human
role/ops
role/qa
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
coilyco-flight-deck/infrastructure#647
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Decision
Keep Ollama on the GPU tower as a raw machine-plane service reachable over the tailnet. Agent Proxy and LiteLLM remain the normal authenticated client boundary. Ollama gets no public or general LAN exposure, and tailnet membership is not treated as application authentication.
Current state
The serving path already exists:
11434.tag:svc-open-webui.tag:proxySOCKS5 sidecar added by #400.scripts/converge-ollama-windows.ps1setsOLLAMA_HOST=0.0.0.0:11434.scripts/ollama-expose-tailnet.ps1disables Ollama application block rules and permits the full Tailscale CGNAT range through Windows Firewall.terraform/tailscale/main.tfcontains narrow grants fortag:proxyandtag:svc-open-webui, but the broaderautogroup:member -> *:*andtag:physical -> *:*rules mean those narrow grants are not an exclusive caller boundary.The endpoint works, but the desired least-privilege posture is not fully converged or proven.
Ownership
Infrastructure owns the tower listener, Windows Firewall posture, Tailscale policy, reboot convergence, and live verification.
coilyco-bridge/deployremains a consumer and should not acquire tower host configuration.Related work:
tag:proxyOllama grant.Work
tag:svc-open-webui, andtag:proxy.11434is reachable only by the accepted caller identities. A narrow grant does not count while a broader wildcard rule still grants the same path.Safety boundary
Changing the Windows listener or firewall can interrupt local model work. Applying the Tailscale policy changes live fleet connectivity. The engineer authors and validates the repository change. An interactive operator performs the host converge and Terraform apply, with rollback ready.
Do not use Tailscale Funnel. Do not add a public reverse proxy. Do not add a reusable bearer secret to Ollama merely to compensate for an over-broad network policy.
Acceptance
tag:proxycarry path can reach port11434.11434.