based on this topic topic10024.html, I wanted to have an email sent each time I will connect through OpenVPN.
I have edited the server.conf file and added two lines :
BUT, since I made this modification, I always have an authentication failure on my client (that was working before).script-security 3 system
client-connect /etc/openvpn/scripts/clientconnect.sh
If I comment the "client-connect" line, the authentication works again.
The authentication is based on certificates and my "test" client is an iPhone with OpenVPN app.
Someone has an idea why when I uncomment the "client-connect" line, I always have an Authentication failure ?
Thank you