Perform host checker actions on client connect

Scripts which allow the use of special authentication methods (LDAP, AD, MySQL/PostgreSQL, etc).
Post Reply
dblviking
OpenVpn Newbie
Posts: 3
Joined: Fri Feb 15, 2019 3:13 pm

Perform host checker actions on client connect

Post by dblviking » Tue Mar 26, 2019 8:02 pm

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

Post Reply