Page 1 of 1

Perform host checker actions on client connect

Posted: Tue Mar 26, 2019 8:02 pm
by dblviking
Hi,

I want to send a python script from the server to the client and look for particular linux operating system files to ensure it's a 'known' distribution. If the files aren't found, it should kill the connection and hopefully send a notification to the user. Also I want to check for freshclam antivirus and if it's running.

Is this possible with the free open source openvpn? If so, is there a known script that exists? Would I use the client-connect option? I'm having a really hard time locating an answer.

Cheers

Centos 7
openvpn-2.4.6-1.el7.x86_64