37 lines
1.4 KiB
YAML
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
|