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.
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.