Files
infrastructure/llm-server/monitoring/ansible/roles/gnmon_firewall/defaults/main.yml
T
vibe-agent 0926dea0b7
ci-static / secret-scan (push) Successful in 20s
ci-static / yamllint (push) Successful in 30s
ci-static / ansible-syntax (push) Successful in 28s
ci-static / markdown-links (push) Successful in 20s
M6: OpenWebUI intern produktiv + Produktentscheidung (API+WebUI, LiteLLM nicht fuer M6) (#4)
Co-authored-by: vibe-agent <vibe-agent@ghostnet.local>
2026-11-11 06:45:18 +01:00

37 lines
1.4 KiB
YAML

# GNMON-001 section 7: host nftables on ghostnet-ki (M6 ingress control).
#
# System scope only (ghostnet-ki). The workstation (user scope) needs no
# host firewall: everything binds to 127.0.0.1 there as well.
#
# Safety: the input policy stays ACCEPT. This role only adds GNMON-specific
# restrictions (dashboard ingress from NPM only, monitoring ports loopback
# only). A default-drop host firewall is a separate sprint (GNAI-001 M1)
# and must never be introduced from here.
gnmon_firewall_scope: user
gnmon_firewall_config_path: /etc/nftables.conf
gnmon_firewall_service_name: nftables.service
# Dashboard ingress (M6): the Blazor dashboard binds to the LAN address,
# but only NPM (CT-103) may reach it; NPM terminates TLS and OIDC.
gnmon_firewall_dashboard_port: 8080
gnmon_firewall_dashboard_allowed_ip: 10.0.0.10
# LAN-published app ports reachable only from NPM (CT-103): 8080 dashboard
# (GNMON M6), 8081 OpenWebUI (GNAI-001 M6, role open_webui in the llm
# project). NPM terminates TLS and OIDC in front of both.
gnmon_firewall_npm_only_ports:
- 8080
- 8081
# Monitoring APIs bind to 127.0.0.1 (GNMON-000 M5); deny non-loopback
# access to them anyway (defense in depth, GNMON-001 section 7).
gnmon_firewall_loopback_only_ports:
- 3100 # Loki HTTP
- 9096 # Loki gRPC
- 8428 # VictoriaMetrics
- 8880 # vmalert
- 9093 # Alertmanager
- 9100 # node_exporter