Roadmap 3.3: Send pfSense firewall logs to Loki #89

Open
opened 2026-12-03 04:39:33 +01:00 by claude-bot · 0 comments

Why

The VLAN segmentation (main, IoT, cameras without internet) is only visible as rules today. The firewall logs show whether it works: for example, cameras trying to phone home and being blocked.

Enterprise practice: network telemetry in the central log platform, to verify segmentation and detect anomalies.

Depends on kasun/homelab-infrastructure-as-code#87.

Steps

  • pfSense: Status → System Logs → Settings → Remote Logging to the Alloy syslog IP from 3.1 (firewall events, optionally system/VPN)
  • Allow pfSense → Alloy syslog port, and enable logging on the relevant block rules (IoT/camera VLAN egress)
  • Alloy: parse the pfSense filterlog CSV into action, interface, protocol, source, destination and port
  • Dashboard: blocks by interface, top blocked sources/destinations, camera VLAN egress attempts, WireGuard activity
  • Document the pfSense setting (screenshot or config export) in the repo, since pfSense is configured outside Pulumi here

Tools

pfSense remote syslog, Alloy, Loki, Grafana.

Done when

  • Blocked traffic from the camera VLAN shows up in Grafana with source and destination

Portfolio evidence

  • Screenshot of the "IoT devices trying to phone home" panel

Part of the security roadmap. Keep the evidence below for the write-up (README / blog post).

## Why The VLAN segmentation (main, IoT, cameras without internet) is only visible as rules today. The firewall logs show whether it works: for example, cameras trying to phone home and being blocked. **Enterprise practice:** network telemetry in the central log platform, to verify segmentation and detect anomalies. Depends on kasun/homelab-infrastructure-as-code#87. ## Steps - [ ] pfSense: Status → System Logs → Settings → Remote Logging to the Alloy syslog IP from 3.1 (firewall events, optionally system/VPN) - [ ] Allow pfSense → Alloy syslog port, and enable logging on the relevant block rules (IoT/camera VLAN egress) - [ ] Alloy: parse the pfSense `filterlog` CSV into action, interface, protocol, source, destination and port - [ ] Dashboard: blocks by interface, top blocked sources/destinations, camera VLAN egress attempts, WireGuard activity - [ ] Document the pfSense setting (screenshot or config export) in the repo, since pfSense is configured outside Pulumi here ## Tools pfSense remote syslog, Alloy, Loki, Grafana. ## Done when - Blocked traffic from the camera VLAN shows up in Grafana with source and destination ## Portfolio evidence - [ ] Screenshot of the "IoT devices trying to phone home" panel --- _Part of the security roadmap. Keep the evidence below for the write-up (README / blog post)._
claude-bot Bot added this to the Security Roadmap 3: Security monitoring and alerting milestone 2026-12-03 04:39:33 +01:00
claude-bot Bot added the
Priority
Medium
3
Kind/Securitysecurity-roadmap
labels 2026-12-03 04:39:33 +01:00
claude-bot Bot added this to the Security Roadmap project 2026-12-03 04:39:38 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: kasun/homelab-infrastructure-as-code#89