client-connect script ?

Business solution to host your own OpenVPN server with web management interface and bundled clients.
Post Reply
BrnVrn
OpenVpn Newbie
Posts: 9
Joined: Wed Oct 10, 2012 12:44 pm

client-connect script ?

Post by BrnVrn » Wed Oct 10, 2012 3:53 pm

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

Post Reply