I'm using the openvpn option client-connect to run a script when a client connects.
The scrit works fine when I use simple commands but when I add commands that need root privileges it doesn't work and clients can't connect to the VPN server.
Any idea how to fix the problem?
Thank you