djktopdj
New Around Here
hey, i tried to use the openvpn-event script...
what i want it to do is while im connecting with a device with openvpn to my router... i want it to send me a mail..
i have made 2 files and made them exec...
1. openvpn-event
2. email-vpnup.sh
the email-vpnup.sh is working great. if triggered manually im getting the mail.
** if ill go in to putty and change dir to /jffs/scripts and trigger openvpn-event i will get the mail.
but i cant get the openvpn-event to triger when a user connected via open vpn to the router
what i wrote in 1. openvpn-event is:
______________________________________________________
#!/bin/sh
#script Mailing router Open-VPN status after event accured
sh /jffs/scripts/email-vpnup.sh&
______________________________________________________
BTW im using the last Firmware:3.0.0.4.374.38 (Merlin build)
please help
what i want it to do is while im connecting with a device with openvpn to my router... i want it to send me a mail..
i have made 2 files and made them exec...
1. openvpn-event
2. email-vpnup.sh
the email-vpnup.sh is working great. if triggered manually im getting the mail.
** if ill go in to putty and change dir to /jffs/scripts and trigger openvpn-event i will get the mail.
but i cant get the openvpn-event to triger when a user connected via open vpn to the router
what i wrote in 1. openvpn-event is:
______________________________________________________
#!/bin/sh
#script Mailing router Open-VPN status after event accured
sh /jffs/scripts/email-vpnup.sh&
______________________________________________________
BTW im using the last Firmware:3.0.0.4.374.38 (Merlin build)
please help
Last edited: