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

    WAN Compromised or Down Email Notifications

    Scheduled Pinned Locked Moved General pfSense Questions
    9 Posts 3 Posters 1.8k Views 3 Watching
    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.
    • J Offline
      jpvonhemel
      last edited by

      Is it possible to get email notification/alarm notifications when the WAN monitor pings are above latency thresholds for x milliseconds, or packet losses are above threshold? There are times when the WAN is suboptimal and times when it is flat down. It would be helpful if PFSense would notify me when these events occur.

      Thank you,
      Jerold

      1 Reply Last reply Reply Quote 0
      • J Offline
        jpvonhemel
        last edited by

        Is such a notification not easily possible in PFSense? I can use a third party app to send me WAN pinger updates daily, but I just really want to know when it is down for more than an hour as there may be an ISP credit in it for me when it does go down and I am not home. Thank you, Jerold

        1 Reply Last reply Reply Quote 0
        • GertjanG Offline
          Gertjan
          last edited by Gertjan

          Hi,

          Sending a mail when your WAN is down ? That will always be an issue.

          I advise you to test 'from the outside' using a VPS or bigger. edit : some offer this as a service : testing if your host ( == your pfSense) is up.
          Tools like these can even when you when your connection goes bad.

          No "help me" PM's please. Use the forum, the community will thank you.
          Edit : and where are the logs ??

          J 2 Replies Last reply Reply Quote 0
          • J Offline
            jpvonhemel @Gertjan
            last edited by jpvonhemel

            @Gertjan If it queues the message and sends when WAN is back up, that would be fine. I don't need real time notification, just a notification that it occurred.

            1 Reply Last reply Reply Quote 0
            • J Offline
              jpvonhemel @Gertjan
              last edited by

              @Gertjan said in WAN Compromised or Down Email Notifications:

              I advise you to test 'from the outside' using a VPS or bigger. edit : some offer this as a service : testing if your host ( == your pfSense) is up.
              Tools like these can even when you when your connection goes bad.

              To use such tools, would I have to open any ports, or would it be as simple as checking a dynamic dns name that would resolve to my public IP?

              1 Reply Last reply Reply Quote 0
              • GertjanG Offline
                Gertjan
                last edited by

                Having the WAN ICMP reply to ping requests, by add a firewall rulle on WAN that actually accepts ping requests.

                @jpvonhemel said in WAN Compromised or Down Email Notifications:

                as simple as checking a dynamic dns name that would resolve to my public IP?

                That's what I'm using seeing : when my pfSense WAN NIC goes down, and comes up again, this will trigger the DynDNS "service", and that one can send a mail, even if the IP did not change.

                No "help me" PM's please. Use the forum, the community will thank you.
                Edit : and where are the logs ??

                1 Reply Last reply Reply Quote 0
                • J Offline
                  jpvonhemel
                  last edited by

                  It seems I would have to open ICMP to be able to monitor from the outside. That feels like it would show I exist and make me a target. It doesn’t feel like a good idea, or am I worrying about nothing.

                  J 1 Reply Last reply Reply Quote 0
                  • J Offline
                    jpvonhemel @jpvonhemel
                    last edited by

                    @jpvonhemel sorry, I was responding on top of you.

                    1 Reply Last reply Reply Quote 0
                    • S Offline
                      serbus
                      last edited by

                      Hello!

                      Options for notifications, like the Email Reports package for gateway events and script support, have been discussed here :

                      https://forum.netgate.com/topic/155063/notification-on-events?_=1600390142279

                      My understanding is that pfsense is not an mta, and while is has its own form of "queueing", it will not send notifications if it cannot reach your smtp relay.

                      My preference is to setup a pi along side pfsense as a support server to run things like an mta (postfix, exim, ...), local monitoring (nagios, icinga, ...), and other things that I dont want to burden pfsense with even though it might be able to handle them (squid, nmap, ...). YMMV.

                      John

                      Lex parsimoniae

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