pfLoginTracker – pfSense Authentication Monitoring Tool
-
pfSense Authentication Monitoring System – Get Login Alerts via Email (Gotify Optional)
Hey folks!I just released a lightweight monitoring solution for pfSense authentication events:
pfSense Authentication Monitoring System
Features:
Tracks successful and failed login attemptsSends email notifications using pfSense’s built-in SMTP system
Optional: Sends Gotify push notifications if configured
Avoids duplicate alerts by tracking processed log entries
Easy to customize and set up
️ How it works:
A shell script scans /var/log/auth.log for new login entriesWhen an event is detected, it sends an email (and Gotify message if configured)
Can be run every few minutes using a cron job
Requirements:
pfSense with shell accessSMTP settings configured under System > Advanced > Notifications
Optional: Gotify server for push alerts
️ Installation:
Drop in two simple shell scripts, set a cron job, and you’re good to go.
Full setup instructions here:
https://github.com/ngfblog/pfLoginTracker