Hi all,
I'm using OpenVPN Access Server 1.8.4 VMware appliance; it is working fine without issues.
My questions is:
Is it possible to execute a bash script on a server when a client connects to it.
What I need is to execute a custom bash script every time a clients try to connect to the server; moreover it would be useful to me to discriminate when a clients is successfully logged in or it fails to log.
I've tried to use the following command:
script-security 2
--client-connect "/usr/local/openvpn_as/scripts/pers.sh"
I set it in the "Server Config Directives" in the "Advanced VPN Settings", but it is not working.
Could you help me to solve this issue?
Thanks in advance
OpenVPN AS 1.8.4 and bash script
-
- OpenVpn Newbie
- Posts: 1
- Joined: Fri Feb 08, 2013 8:56 am