What's new
  • 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!

openvpn-event trigger

Scott Kaforey

Occasional Visitor
I have created this script and added logging. I can see that the script only seems to be triggered when the VPN server starts or stops. However, according to the documentation I saw, I thought it should trigger when a user connects or disconnects as well. Is this not the case?
 
You need to add something like this to your server's config (and/or client-disconnect).
Code:
client-connect /jffs/scripts/openvpn-client-connect.sh

 
Last edited:

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

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