Spross
Hello,
I am new to OpenVPN and not very familiar with Python. That said, we are running open-vpn access server. I want to do a post-auth check that on the user's computer, that a file called c:\dir\file.txt exists. If the file does not exist, I want their connection to be denied. If it succeeds, I would like for the user to be allowed.
Is there a way to do this? I have never created a python script before, so I am not sure how this would work. I read through the documentation and understand how to set it up, I just don't understand what the script would look like. Also, I read somewhere that
"make sure that the profile the client uses to connect to us is trusted, otherwise the client will not share application information with us." What does this mean?
Any help would be greatly appreciated.
Scott
Spross
Can anyone help? I would really just like a script that will check to see if c:\Windows\file.txt exists. If it does, authentication succeeds. If the file does not exist, authentication fails.
I have gone through the documentation and opened up a support case, but no one seems to have an answer.
Scott