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

    Alerts and monitoring of IPSec tunnel

    Scheduled Pinned Locked Moved General pfSense Questions
    2 Posts 2 Posters 1.1k Views
    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.
    • S
      swalz
      last edited by

      Hi all,

      I was wondering if there is any way to monitor the functionality of an IPSec tunnel?
      I am on version 2.1.5 and my IPSec tunnel has gone down a few times lately. This tunnel is to service public internet access and if the tunnel goes down I won't be informed for at least a day, which is bad news as we need to provide this internet service.
      Are there any email alerts?
      I have a SNMP monitoring tool in my network which can monitor SNMP, pings, SSH, and all sorts of protocols, but I don't know how I could integrate this to monitor the tunnel of a PFSense?

      Any advise appreciated.

      Thanks
      Sebastian

      1 Reply Last reply Reply Quote 0
      • F
        firewalluser
        last edited by

        If you can see some sort of notice in the logs, perhaps one method would be to use some browser automation like http://www.seleniumhq.org/ to log in and check every few minutes, download the log, parse it and if error message is detected raise an alert via a variety of means beit email, phone or text. https://freeswitch.org/ could help you raise the alerts quite easily and runs on a few OS's.

        fwiw.

        Capitalism, currently The World's best Entertainment Control System and YOU cant buy it! But you can buy this, or some of this or some of these

        Asch Conformity, mainly the blind leading the blind.

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