What's new

OVPN Server notification

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Olivier L

Regular Contributor
Hello,
Is there a way to receive a notification (through an email) when someone connect to the VPN server 1 ?
I have seen in the log file I had in the past some tries (failed ones).

Thanks
 
Sounds like you are using the default port for OpenVPN. Best to change that soon.
 
ok thank U. did it. But also wanted to be able to be notified.
Use the OpenVPN Server --client-connect cmd_script_name directive.

(Definitely works under RMerlin firmware ......not sure if stock firmware allows use of OpenVPN scripting?)
 
Hmm, after reading the OpenVPN documentation, sounds to me like the client-connect directive is called only after a *successful* connection has been made, and therefore would NOT seem to address the issue of notification when a connection attempt fails. And I assume that's the primary concern here (if NOT, please clarify your intentions).

To be fair, I've never used it, but at least that's the way it reads to me.
 

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top