Hello all!
I searched quite a bit but couldn't figure out how to fix the following issue.
At the moment I am using OpenVPN on my RT-N66U router. I am trying to add an script that sends an email to me when someone connects.
The script can be found here:
http://www.snbforums.com/threads/tutorial-openvpn-connection-disconnection-email-notifications.20828/
I have uploaded this script to the /jffs/scripts partition of the router. I have also set these scripts to permissions 0777.
In the custom configuration I have added:
script-security 2
client-connect /jffs/scripts/up.sh
client-disconnect /jffs/scripts/down.sh
However it keeps giving me this error:
WARNING: Failed running command (--client-connect): could not execute external program
Could anyone help me with the error.
Thanks in advance!