OPNsense
  • 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 3115 times)

Gandalf123

  • Newbie
  • *
  • Posts: 15
  • Karma: 0
    • View Profile
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: 2023
  • Karma: 194
    • View Profile
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
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2