Files
spektr a4cdd098ff
ci-static / secret-scan (push) Successful in 20s
ci-static / yamllint (push) Successful in 29s
ci-static / ansible-syntax (push) Successful in 27s
ci-static / markdown-links (push) Successful in 20s
ci-static / secret-scan (pull_request) Successful in 21s
ci-static / yamllint (pull_request) Successful in 31s
ci-static / ansible-syntax (pull_request) Successful in 29s
ci-static / markdown-links (pull_request) Successful in 20s
M6: OpenWebUI intern produktiv (Rolle open_webui, v0.13.3 digest-gepinnt) + Produktentscheidung API+WebUI, LiteLLM faellt fuer M6 weg
- llm/ansible: Rolle open_webui + playbooks/webui.yml (Production-Netz, Engine
  via llama-cpp:8080/v1, Ingress 10.0.0.90:8081, Secrets als Podman-Secrets,
  idempotent changed=0); Health/Model-Liste/Chat-Completion getestet
- gnmon_firewall: Port 8081 (OpenWebUI) nur von NPM 10.0.0.10
- CT 100: Split-DNS chat.ghostnet.selfhost.eu -> 10.0.0.10 (intern) / WAN (public)
- Doku: GNAI-000/001 — M0 entschieden (API+OpenWebUI), LiteLLM-Gate M6 = nein

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-11 06:40:55 +01:00
..

gnmon_firewall

Host-nftables on ghostnet-ki (GNMON-001 section 7), system scope only. The workstation inventory (user scope) is a no-op.

What it enforces

  • Dashboard port 8080 (M6): reachable only from NPM (CT-103, gnmon_firewall_dashboard_allowed_ip = 10.0.0.10). NPM terminates TLS and the OIDC redirect; the dashboard itself binds to the LAN address 10.0.0.90:8080 (gnmon_dashboard_http_listen).
  • Monitoring APIs (Loki 3100/9096, VictoriaMetrics 8428, vmalert 8880, Alertmanager 9093, node_exporter 9100): bound to 127.0.0.1 by the services and additionally dropped for non-loopback traffic (defense in depth).

What it deliberately does NOT do

The input policy stays ACCEPT: the KI host has no other firewall, and a default-drop policy introduced from the monitoring project could lock out SSH management. A full host firewall is a separate sprint (GNAI-001 M1). flush ruleset in the managed /etc/nftables.conf removes every other table — do not maintain foreign nftables content on this host.

Operations

  • Preview: ansible-playbook -i inventories/testing/hosts.yml playbooks/monitor.yml --tags firewall --check --diff
  • Deploy: same without --check.
  • Verify live: nft list ruleset (root), e.g. on the host sudo nft list table inet gnmon_filter.
  • Negative test from the workstation while the dashboard is LAN-bound: curl -k --max-time 5 https://10.0.0.90:8080/ must time out (dropped), while https://mon.ghostnet.selfhost.eu/ via NPM answers.