Page 1 of 1

Windows 2016 OVPN server script?

Posted: Wed May 13, 2020 10:43 pm
by Steep
Good afternoon! I am trying to configure authorization by username and password on windows 2016, tell me if there is a script that could do this?
Bat file or any?

Re: Windows 2016 OVPN server script?

Posted: Thu May 14, 2020 12:39 pm
by TinCanTech
As far as I know, OpenVPN do not keep any scripts for Windows.

Writing a simple batch file to verify user/pass is easy enough to do..

Re: Windows 2016 OVPN server script?

Posted: Thu May 14, 2020 8:47 pm
by Steep
TinCanTech wrote:
Thu May 14, 2020 12:39 pm
As far as I know, OpenVPN do not keep any scripts for Windows.

Writing a simple batch file to verify user/pass is easy enough to do..
sorry for the arrogance can I ask You about this?

Re: Windows 2016 OVPN server script?

Posted: Thu May 14, 2020 9:06 pm
by TinCanTech
Steep wrote:
Thu May 14, 2020 8:47 pm
sorry for the arrogance
Maybe you mean ignorance ? But no apology necessary.
Steep wrote:
Thu May 14, 2020 8:47 pm
can I ask You about this?
Freedom of speech :mrgreen: cuts both ways .. btw.

If you mean "Howto" then you'll need to see the Howto and manual for the options.

I am also working on this:
https://github.com/TinCanTech/openvpn-s ... or-windows

As you can see, it needs a lot of work :geek:

If you have the means to financially incentivise me then I could be coerced into writing something. ;)

Re: Windows 2016 OVPN server script?

Posted: Fri May 15, 2020 6:55 am
by Steep
Sorry . my English is so bad :(
Your help would be an invaluable contribution to the community, because there are no similar scripts under windows! :roll:

Re: Windows 2016 OVPN server script?

Posted: Sun May 17, 2020 12:52 pm
by 300000
over 10 years ago I used plugin as OpenVPNSSPI.dll and it works great you can try it , just down load openvpnsspi.dll and copy it to openvpn folder and open config file add this line to it

plugin "C:\\Program Files (x86)\\OpenVPN\\bin\\OpenVPNSSPI.dll"

https://code.google.com/archive/p/openv ... owsplugin/


if you have more time you can make other authencation wonk on domain controller just go to internet type amigo4life2 and you can file how to config domain controller authencation , iI did it over long time ago and it work very fast , i can help you if you like to config it , just try it yourself first

Re: Windows 2016 OVPN server script?

Posted: Mon May 18, 2020 8:30 am
by Steep
300000 wrote:
Sun May 17, 2020 12:52 pm
plugin "C:\\Program Files (x86)\\OpenVPN\\bin\\OpenVPNSSPI.dll"

https://code.google.com/archive/p/openv ... owsplugin/
Thank you very much for your response! But I can't download this dll , and another question is, how does authentication happen there, where is the base username\password?

Re: Windows 2016 OVPN server script?

Posted: Mon May 18, 2020 2:51 pm
by 300000

Re: Windows 2016 OVPN server script?

Posted: Fri Aug 21, 2020 8:35 pm
by Steep
300000 wrote:
Mon May 18, 2020 2:51 pm
viewtopic.php?f=16&t=18808
WARNING: Failed running command (--auth-user-pass-verify): returned error code -10737415

:(