Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
19.1 Legacy Series
»
Sending Email when Openvpn client ist connecting
« previous
next »
Print
Pages: [
1
]
Author
Topic: Sending Email when Openvpn client ist connecting (Read 3098 times)
Gandalf123
Newbie
Posts: 15
Karma: 0
Sending Email when Openvpn client ist connecting
«
on:
July 01, 2019, 10:24:46 pm »
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
Logged
bartjsmit
Hero Member
Posts: 2018
Karma: 194
Re: Sending Email when Openvpn client ist connecting
«
Reply #1 on:
July 02, 2019, 08:10:30 am »
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...
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
19.1 Legacy Series
»
Sending Email when Openvpn client ist connecting