Page 2 of 2
Re: Windows server update made my OpenVPN stop working
Posted: Tue Mar 02, 2021 6:30 pm
by TinCanTech
Thanks very much for your co-operation, I have what I need now.
Please go ahead and do what you want to now..
If you have any further problems then please remember to post your log again.
You can start a new thread or reply to this one, which ever you prefer.
Re: Windows server update made my OpenVPN stop working
Posted: Tue Mar 02, 2021 6:37 pm
by TinCanTech
You can also remove --route-delay 60 60 from your server config now. The default for Windows is 30.
Re: Windows server update made my OpenVPN stop working
Posted: Tue Mar 02, 2021 6:39 pm
by Nahuel
Great! Thanks!!
Re: Windows server update made my OpenVPN stop working
Posted: Tue Jul 27, 2021 3:33 pm
by Nahuel
Hey Tim! sorry for reopening such an old post.
I'm about to upgrade, but I couldn't find a tutorial with Easyrsa-3.
I've read
this one, but it uses version 2 of Easyrsa. Then
this but when I use "build-ca" it asks for a CA PassPhrase, when I enter anything, I get "extra argument given" and "Easy-RSA error: Failed to create CA private key"
I don't know if I understood it correctly, but I need to setup first the CA and clients and then use Easy-tls right?
Re: Windows server update made my OpenVPN stop working
Posted: Tue Jul 27, 2021 4:19 pm
by TinCanTech
Nahuel wrote: ↑Tue Jul 27, 2021 3:33 pm
when I use "build-ca" it asks for a CA PassPhrase
See:
Nahuel wrote: ↑Tue Jul 27, 2021 3:33 pm
I don't know if I understood it correctly, but I need to setup first the CA and clients and then use Easy-tls right?
Yes.
Coming soon: Openvpn will be able to use self-signed certificates,
which means you will not need to use Easy-RSA-3 at all.
In that case Easy-TLS can build your entire required security credentials.
Re: Windows server update made my OpenVPN stop working
Posted: Tue Jul 27, 2021 4:20 pm
by Nahuel
I found
this post, that led me to
this
I created the "C:\temp" as you suggested and used the following code from foolioo because i couldn't find the option to modify vars
Code: Select all
export EASYRSA_TEMP_DIR="C:/temp"
./easyrsa build-ca
I hope this works for the next one having this problem!
Re: Windows server update made my OpenVPN stop working
Posted: Tue Jul 27, 2021 4:23 pm
by TinCanTech
An alternative to specifying a temp-dir is to move Easy-RSA to your Users home folder,
where there should not be any spaces in the path. eg:
Re: Windows server update made my OpenVPN stop working
Posted: Tue Jul 27, 2021 4:24 pm
by Nahuel
TinCanTech wrote: ↑Tue Jul 27, 2021 4:19 pm
Nahuel wrote: ↑Tue Jul 27, 2021 3:33 pm
when I use "build-ca" it asks for a CA PassPhrase
See:
I tried that but it replies with:
Code: Select all
build-ca [ cmd-opts ]
Creates a new CA
cmd-opts is an optional set of command options from this list:
nopass - do not encrypt the CA key (default is encrypted)
subca - create an intermediate CA keypair and request (default is a root CA)
intca - alias to the above
and didn't give me much to work with.
TinCanTech wrote: ↑Tue Jul 27, 2021 4:19 pm
Coming soon: Openvpn will be able to use self-signed certificates,
which means you will not need to use Easy-RSA-3 at all.
In that case Easy-TLS can build your entire required security credentials.
I hope it comes with a noob-friendly tutorial
Nonetheless Thank you!
Re: Windows server update made my OpenVPN stop working
Posted: Tue Jul 27, 2021 4:37 pm
by TinCanTech
Nahuel wrote: ↑Tue Jul 27, 2021 4:24 pm
TinCanTech wrote: ↑Tue Jul 27, 2021 4:19 pm
Nahuel wrote: ↑Tue Jul 27, 2021 3:33 pm
when I use "build-ca" it asks for a CA PassPhrase
See:
I tried that but it replies with:
Code: Select all
build-ca [ cmd-opts ]
Creates a new CA
cmd-opts is an optional set of command options from this list:
nopass - do not encrypt the CA key (default is encrypted)
subca - create an intermediate CA keypair and request (default is a root CA)
intca - alias to the above
and didn't give me much to work with.
Read it.
Nahuel wrote: ↑Tue Jul 27, 2021 3:33 pm
TinCanTech wrote: ↑Tue Jul 27, 2021 4:19 pm
Coming soon: Openvpn will be able to use self-signed certificates,
which means you will not need to use Easy-RSA-3 at all.
In that case Easy-TLS can build your entire required security credentials.
I hope it comes with a noob-friendly tutorial
Nonetheless Thank you!
It comes with help, which you have to read ..
Re: Windows server update made my OpenVPN stop working
Posted: Wed Jul 28, 2021 12:48 pm
by 300000
you need to search on Internet sharing service on windows , some thing need to done to make it work again . on server side if openvpn card cant it its ip address you can setting a static for openvpn net work card so it will work more stable after reboot. you can do that
openvpn config and add this line
ip-win32 manual
openvpn card and setting your ip and subnet mask as your server . for example if your server config have line server 10.8.0.0 255.255.255.0 you can set static for your card as
ip 10.8.0.1 SUBNET MASK 255.255.255.0