Ad Widget

Collapse

How to monitor pfsense ipsec vpn tunnel

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Balaraju
    Member
    • Jun 2016
    • 40

    #1

    How to monitor pfsense ipsec vpn tunnel

    Hi team,

    Can any body did ipsec vpn tunnel monitoring for bandwidth, site up or down and latency. I have googled for. but i did not get any procedure. Please help any body.
  • Spoonman
    Member
    • Aug 2013
    • 45

    #2
    Originally posted by Balaraju
    Hi team,

    Can any body did ipsec vpn tunnel monitoring for bandwidth, site up or down and latency. I have googled for. but i did not get any procedure. Please help any body.
    Anyone have a solution? Same issue here... Want to monitor my VPN tunnel (FreeBSD/pfSense service).

    Comment

    • eidvictor
      Junior Member
      • Feb 2018
      • 1

      #3
      The only things I found are:

      Incoming network traffic on enc0: net.if.in[enc0]
      Outgoing network traffic on enc0: net.if.out[enc0]

      I have two tunnels, and this interface responses to both. But not display the tunnels statuses.

      Comment

      • Spoonman
        Member
        • Aug 2013
        • 45

        #4
        Not really a Zabbix solution, but in pfSense I found a package called "Service_Watchdog". This tool monitors services (also OpenVPN service) and restarts them if necessary.
        So instead of Zabbix giving me a notification when OpenVPN service fails, pfSense will restart the OpenVPN itself.

        Bandwidth monitoring is just what eidvictor did.
        Last edited by Spoonman; 22-02-2018, 10:48. Reason: add

        Comment

        • alanwds
          Junior Member
          • Sep 2018
          • 1

          #5
          We have exactly the same situation here. So, i create some scripts and templates for that. You can check out here: https://github.com/alanwds/zabbix_ipsec_pfsense. I hope that work for you.

          Comment

          Working...