Page 1 of 1

Migration openvpn config

Posted: Thu Dec 07, 2023 9:20 am
by gusto
About 5 years ago I was using Debian 9 with openvpn 2.4.(0). Everything worked great.
2 years ago I installed Debian 10 + openvpn 2.4.7. I moved the configuration (/etc/openvpn/) from Debian 9 to Debian 10. Everything works great.
Now I'm going to install Debian 12. I want to move the configuration (/etc/openvpn/) from Debian 10 to Debian 12.
Will everything work?

Question 2
Now I still need to generate certificates for other clients, but it doesn't work.

Code: Select all

./build-key client91
Please edit the vars script to reflect your configuration,
then source it with "source ./vars".
Next, to start with a fresh PKI configuration and to delete any
previous certificates and keys, run "./clean-all".
Finally, you can run this tool (pkitool) to build certificates/keys.

Code: Select all

su root
cd /etc/openvpn/easy-rsa
chmod +x vars
NOTE: If you run ./clean-all, I will be doing a rm -rf on /etc/openvpn/easy-rsa/keys
Question 3
When I install Debian 12 + OpenVPN 2.6.3, will OpenVPN clients with version 2.3.2 be able to connect?