Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    pfLoginTracker – pfSense Authentication Monitoring Tool

    Off-Topic & Non-Support Discussion
    1
    1
    65
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • nirgfN
      nirgf
      last edited by nirgf

      🔐 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 attempts

      Sends 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 entries

      When 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 access

      SMTP 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

      1 Reply Last reply Reply Quote 1
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.