# Traefik Edge (CT99999, DMZ 10.0.60.10) WAN-facing Traefik (v3.4.1, static binary, no dpkg). 1 public IP: 84.39.85.68. Only ports 80/443 exposed (8080/22/25/53/8443 closed). Config-as-code under iac-homelab `pve/traefik-ct99999/` (see repo README: Sync-Pflicht). Source of truth for Welle-4-Migration (Blue/Green). ## State (2026-11-21, edge-hardening) - Dynamic config: `/etc/traefik/conf.d/*.yml` (watch: true). Routers carry `waf-rate-limit` (50 req/s avg, burst 100, period 1s, Per-IP) + `waf-security-headers` (nosniff, referrer no-referrer, HSTS 180d + includeSubDomains, XSS filter). - `api.dashboard: false` (was unauthenticated on :8080 — now LAN-404). - Catch-all-TCP removed (`HostSNI(*)` passthrough → legacy .100:80); unknown SNI → 404. - Dead route `seafile_old` (legacy, dead 502) removed. `imkerei` kept (live). - `nftables` on CT (drop tcp dport 80,443 for 7 scanner IPs) — `/etc/nftables.conf`; see repo same-name file. - acme.json: LE storage `/etc/traefik/ssl/acme.json`, stays OUT of repo (600 root:root). - Known noise: git.schoen.codes 500s (runner bug, persistent, not abuse); grafana backend down (502, pre-existing); git.familie-schoen.com git/200 OK. - hermes-dominik router: NOT in Authelia/2FA (item 1 of hardening was out of scope per owner's GO). - Alert: cronjob `8806d350ee68` `edge-alert.sh` (every 15m, deliver origin) — 4xx bursts >25 external in 10 min, deduped by top-IP signature. ## Pitfalls (see solution doc) File provider: malformed middleware (e.g. `ipStrategy` as standalone element) aborts load; all routers referencing it silently 404 with NO app-layer error — only `providerName=file` errors in traefik.log. Always restart + grep log + verify headers after any dynamic change. Hot-reload is not reliable (file provider swallows syntax errors). ## Key files - iac-homelab `pve/traefik-ct99999/explicit-http.yml`, `security.yml`, `grafana.yml`, `hermes-dominik.yml`, `traefik.yaml`, `nftables.conf` (git branch `gitops/2026-11-21-traefik-edge-hardening`)