Page 1 of 1

Post-Auth script to check for Anti Virus app

Posted: Fri Aug 21, 2020 8:05 pm
by larry.deeder
I am looking for a post-Auth script that will check the local Windows client machine for a specific Anti-Virus program before allowing the end user to establish a VPN connection. I am NO Linux guru and could use any help with a script and install instructions. Thank you in advance.

Larry

Re: Post-Auth script to check for Anti Virus app

Posted: Fri Aug 21, 2020 8:23 pm
by TinCanTech
There is no such script.

Re: Post-Auth script to check for Anti Virus app

Posted: Fri Aug 21, 2020 11:09 pm
by larry.deeder
Well according to this, it can be done. Was just hoping to not have to reinvent the wheel.

https://openvpn.net/vpn-server-resource ... -examples/

Re: Post-Auth script to check for Anti Virus app

Posted: Fri Aug 21, 2020 11:14 pm
by TinCanTech
In OpenVPN Access Server
larry.deeder wrote:
Fri Aug 21, 2020 11:09 pm
Was just hoping to not have to reinvent the wheel
TinCanTech wrote:
Fri Aug 21, 2020 8:23 pm

There is no such script
Further-more .. it may not be possible without Access Server.

Re: Post-Auth script to check for Anti Virus app

Posted: Sat Aug 22, 2020 12:28 am
by TinCanTech
I can teach you how to approach this using openvpn-ce .. for a suitable fee.

Re: Post-Auth script to check for Anti Virus app

Posted: Sat Aug 22, 2020 12:39 am
by larry.deeder
I would be more than happy to pay someone, you, to create the script for me if you can do it. I gave you my number yesterday it the other post. If interested, call me. I am in PST time zone.

Re: Post-Auth script to check for Anti Virus app

Posted: Sat Aug 22, 2020 1:02 am
by TinCanTech
larry.deeder wrote:
Sat Aug 22, 2020 12:39 am
I would be more than happy to pay someone, you, to create the script for me if you can do it.
What you seek is far more than a script.

You are, in fact, asking me to publish a working mechanism which replicates the behaviour of a Paid-for and licensed product .. some might rightly and probably call that Copyright infringement.

Re: Post-Auth script to check for Anti Virus app

Posted: Sat Aug 22, 2020 5:41 pm
by larry.deeder
What? I pay for OpenVPN. Querying the local client for an existing software install would be Copyright issue. I don't think so. Please see: https://openvpn.net/vpn-server-resource ... -examples/

Under the heading: "OpenVPN Access Server Post-Auth Scripting" it states: "Verify that the client machine contains up-to-date applications (such as virus checker and other security software) before allowing it to connect to the VPN server."

Go down to the section "Host-checker query file."

This is what I want to implement.

Re: Post-Auth script to check for Anti Virus app

Posted: Sat Aug 22, 2020 6:11 pm
by TinCanTech
larry.deeder wrote:
Sat Aug 22, 2020 5:41 pm
OpenVPN Access Server Post-Auth Scripting" it states: "Verify that the client machine contains up-to-date applications (such as virus checker and other security software) before allowing it to connect to the VPN server
Exactly, that is an Access Server mechanism. And probably has a copyright .. and you want somebody to do that for the free version of openvpn. And you do not understand what it is you are asking for. So, just use Access Server like a normal person.

Re: Post-Auth script to check for Anti Virus app

Posted: Sat Aug 22, 2020 6:45 pm
by larry.deeder
I use the PAID version of AS. I have spoken to support and they said they cannot help me but I am free to do. If you can't help, no point in engaging further. And so you know, "normal" people customize it ALL the time.

Re: Post-Auth script to check for Anti Virus app

Posted: Sat Aug 22, 2020 7:24 pm
by TinCanTech
@Mod - This belongs in Access Server, thanks.