Originally posted under access server and got moved to Access Server Requests by mods.
However, this was a more generic question on how this can be achieved.
The below links indicate this is possible:
https://www.snbforums.com/threads/tutor ... ons.20828/ <-WRT router only
Connect / Disconnect Email alert
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
-
- OpenVpn Newbie
- Posts: 12
- Joined: Fri Dec 02, 2016 10:19 am
-
- OpenVPN Protagonist
- Posts: 11137
- Joined: Fri Jun 03, 2016 1:17 pm
Re: Connect / Disconnect Email alert
--client-connect your_connect_script.sh --client-disconnect your_disconnect_script.sh
-
- OpenVpn Newbie
- Posts: 12
- Joined: Fri Dec 02, 2016 10:19 am
Re: Connect / Disconnect Email alert
Is it possible to elaborate on this?
Im testing on an AS server with no luck.
I have added numerous entries into the as.conf file, with variations of below:
--client-connect /usr/local/openvpn_asa/etc/up.sh
up.sh has a basic script to send an email
Im testing on an AS server with no luck.
I have added numerous entries into the as.conf file, with variations of below:
--client-connect /usr/local/openvpn_asa/etc/up.sh
up.sh has a basic script to send an email