Page 1 of 1

client-connect script ?

Posted: Wed Oct 10, 2012 3:53 pm
by BrnVrn
Hi,

There is a text area in "Advanced VPN Settings" / "Additional OpenVPN Config Directives (Advanced)" / "Server Config Directives"

There, I typed:

Code: Select all

script-security 3
client-connect "/etc/openvpn/client-connect.sh"
The script has permission: 755.
it is as simple as:

Code: Select all

#!/bin/bash
exit 0
I still get this message in the /var/log/openvpnas.log :
client-connect command failed: could not execute external program
and the VPN client cannot connect.

Any hints ?

Bruno