Page 1 of 1

Problem with vars.bat configuration

Posted: Tue Nov 30, 2021 3:16 pm
by Mumomie
Hello,
I have a problem that I cannot resolve with the configuration of the vars file.
I am working with Windows Server and Openvpn-2.5.4-I604-amd64-msi installer file.

I copied the vars file from vars.example. I opened it using Notepad ++. As described, I only changed the part about key_country, key_province, key_city, key_org, ke. When I enter the vars command for vars.bat, the vars file is displayed on different lines.

I make mistakes but I don't see which ones. I absolutely need help. Thank you.

Re: Problem with vars.bat configuration

Posted: Tue Nov 30, 2021 4:30 pm
by TinCanTech

Re: Problem with vars.bat configuration

Posted: Tue Nov 30, 2021 6:10 pm
by Mumomie
Thanks lot for you help.
Unfortunatly, this doesn't help me.

Re: Problem with vars.bat configuration

Posted: Tue Nov 30, 2021 7:55 pm
by TinCanTech
The only reason that it does not help you is because you are too lazy to read it.

Re: Problem with vars.bat configuration

Posted: Wed Dec 01, 2021 11:54 am
by Mumomie
Thanks for you remark.
I read a lot about how to install OpenVPN on Windows Server 2016 or Debian 10. I am a newbie. This kind of remark is a real nonsense.

Re: Problem with vars.bat configuration

Posted: Wed Dec 01, 2021 1:29 pm
by TinCanTech
Mumomie wrote:
Tue Nov 30, 2021 3:16 pm
am working with Windows Server and Openvpn-2.5.4-I604-amd64-msi installer file.

I copied the vars file from vars.example. I opened it using Notepad ++. As described, I only changed the part about key_country, key_province, key_city, key_org, ke. When I enter the vars command for vars.bat, the vars file is displayed on different lines.
  • vars.bat is only available in Easy-RSA-2
    OpenVPN 2.5 only ships with Easy-RSA-3 NOT Easy-RSA-2
    When installing Openvpn, you must use CUSTOM INSTALL to install Easy-RSA-3
Then, use:

Code: Select all

C:\Program Files\Openvpn\easy-rsa\Easyrsa-Start.bat
./easyrsa
Please read the help, that is why it was written.