This recipe will demonstrate how to set up a client-connect script that gets executed on the server side when a new client connects. Similarly, a
client-disconnect script can be specified that is executed when a client disconnects from the server. Client-connect and client-disconnect scripts can be used for several purposes:
In this recipe, we will use a client-connect script to push a custom message to an OpenVPN client, based on the time of the day when the client connects.
Install OpenVPN 2.1 or higher on two computers. ...