Alert email when OpenVPN connection drops?

  • Hi!

    I have a pfsense box hosting 5 openvpn server instances, i would like it to notify me via email when one of these connections drop, is that possible?

    Best regards Jon

  • There is many ways, you can build a shell script that check if openvpn service is on, or just ping the vpnips, etc…