Answer the question
In order to leave comments, you need to log in
What should I do with the vars.bat file when deploying an OpenVPN server?
I do lab work.
TK to deploy an OpenVPN server and set up a channel between two remote machines.
There are a lot of detailed setup guides on the net, but I ran into a problem. Specifically, with the vars.bat file. I don't quite understand what to do with it.
Next, I will describe the chain of my actions:
1) I downloaded the distribution kit from the official site.
2) Went to C:\Program Files\OpenVPN looking for the easy-rsa directory, didn't find it.
3) Downloaded EasyRSA-3.0.8-win64.zip from this link - https://github.com/OpenVPN/easy-rsa/releases
4) Created EasyRSA-3.0.8 directory
5) Went to C:\Program Files\ OpenVPN\EasyRSA-3.0.8 searched for vars.bat but found vars.example.
6) Through Notepad++ edited:
set KEY_COUNTRY=
set KEY_PROVINCE=
set KEY_CITY=
set KEY_ORG=
set KEY_EMAIL=
set KEY_CN=
set KEY_NAME=
set KEY_OU=
and changed the extension to .bat
7) Launched vars via command line with administrator rights. Issued ''# is not an internal or external
command, executable program or batch file.''
8) Thought that "#" is a character commenting a line. Removed all unnecessary NOTE, README (although they say not to touch anything) and #. Now it says ''set is not an internal or external
command, operable program, or batch file.''. Since there are only set lines left
Please tell me how to edit vars.bat correctly? What to do with it or where can I read about it?
Thanks in advance for your replies.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question