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 client event scripts not running

Softail

Occasional Visitor
In order for the openvpn-event script to run for the client connection, I needed an openvpnclient1.postconf

echo "script-security 2" >> $CONFIG
echo "up /usr/sbin/updown.sh" >> $CONFIG
echo "down /usr/sbin/updown.sh" >> $CONFIG

which I cribbed from the server config but it required the full path for some reason. I have no idea if the server-security 2 is necessary or not.

The documentation makes it sound like the script should be running for the client but it doesn't seem to be without this.
 

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