Page 1 of 1

How to Move OpenVPN Server from Centos 8 to Windows 11

Posted: Sun Mar 06, 2022 3:22 am
by shawnhaywood
I currently run OpenVPN server on a VirtualBox running Centos 8 on my home network, which is used to access my network files while traveling. Is it possible to move the server to a Windows pc on my network?

Re: How to Move OpenVPN Server from Centos 8 to Windows 11

Posted: Sun Mar 06, 2022 3:48 am
by TinCanTech
Define: Possible

OpenVPN is essentially OS agnostic.

Re: How to Move OpenVPN Server from Centos 8 to Windows 11

Posted: Sun Mar 06, 2022 7:11 pm
by shawnhaywood
Do you mean I can simply install OpenVPN on Windows and copy over my ca, key, cert files? How do I update paths?

Re: How to Move OpenVPN Server from Centos 8 to Windows 11

Posted: Sun Mar 06, 2022 8:21 pm
by TinCanTech
Openvpn configuration files and your PKI files can all be copied.

You will need to makes some changes to your config files, like your file paths.

Good luck with Windows Server, I wouldn't bother.

You can also use this to build inline files: https://github.com/TinCanTech/easy-tls

Re: How to Move OpenVPN Server from Centos 8 to Windows 11

Posted: Thu Oct 27, 2022 2:06 pm
by Meserias
Essentially you just install OpenVPN from MSI as service then bring your config in to Config folder....
after some testing, you can move the config-auto folder.
make sure you enable forwarding-routing on that windows server and reboot !
I have a setup like this, and it's working as expected (at least for me)
(I must admit it's mostly used to reach server side LAN and not for heavy traffic)

you can use a FREE tool named XCA witch practically can do anything regarding certificate generation, and priv key management