Windows 2016 OVPN server script?

Scripts which allow the use of special authentication methods (LDAP, AD, MySQL/PostgreSQL, etc).
Post Reply
Steep
OpenVpn Newbie
Posts: 5
Joined: Wed May 13, 2020 10:39 pm

Windows 2016 OVPN server script?

Post by Steep » Wed May 13, 2020 10:43 pm

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?

User avatar
TinCanTech
OpenVPN Protagonist
Posts: 7932
Joined: Fri Jun 03, 2016 1:17 pm

Re: Windows 2016 OVPN server script?

Post by TinCanTech » 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..

Steep
OpenVpn Newbie
Posts: 5
Joined: Wed May 13, 2020 10:39 pm

Re: Windows 2016 OVPN server script?

Post by Steep » Thu May 14, 2020 8:47 pm

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?

User avatar
TinCanTech
OpenVPN Protagonist
Posts: 7932
Joined: Fri Jun 03, 2016 1:17 pm

Re: Windows 2016 OVPN server script?

Post by TinCanTech » Thu May 14, 2020 9:06 pm

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. ;)

Steep
OpenVpn Newbie
Posts: 5
Joined: Wed May 13, 2020 10:39 pm

Re: Windows 2016 OVPN server script?

Post by Steep » Fri May 15, 2020 6:55 am

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:

300000
OpenVPN Super User
Posts: 286
Joined: Tue May 01, 2012 9:30 pm

Re: Windows 2016 OVPN server script?

Post by 300000 » Sun May 17, 2020 12:52 pm

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

Steep
OpenVpn Newbie
Posts: 5
Joined: Wed May 13, 2020 10:39 pm

Re: Windows 2016 OVPN server script?

Post by Steep » Mon May 18, 2020 8:30 am

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?

300000
OpenVPN Super User
Posts: 286
Joined: Tue May 01, 2012 9:30 pm

Re: Windows 2016 OVPN server script?

Post by 300000 » Mon May 18, 2020 2:51 pm


Steep
OpenVpn Newbie
Posts: 5
Joined: Wed May 13, 2020 10:39 pm

Re: Windows 2016 OVPN server script?

Post by Steep » Fri Aug 21, 2020 8:35 pm

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

:(

Post Reply