Sending Email when Openvpn client ist connecting

Started by Gandalf123, July 01, 2019, 10:24:46 PM

Previous topic - Next topic
hello,

it is possible in Opnsense to send a email when a Opnvpn User is connecting to the Server? I have see that OPNsense has integratet a Monitor System with Email function, it is possible to create a simple solution with this?

Thank you in Advanced
Gandalf123

You can run scripts when clients connect or disconnect: https://community.openvpn.net/openvpn/wiki/Openvpn24ManPage

Look into:
script-security 2
client-connect

You need to do this largely in the command line.

Bart...