How to Move OpenVPN Server from Centos 8 to Windows 11

This is where we can discuss what we would like to see added or changed in OpenVPN.
Post Reply
shawnhaywood
OpenVpn Newbie
Posts: 3
Joined: Sun Mar 06, 2022 2:25 am

How to Move OpenVPN Server from Centos 8 to Windows 11

Post by shawnhaywood » Sun Mar 06, 2022 3:22 am

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?

TinCanTech
OpenVPN Protagonist
Posts: 11142
Joined: Fri Jun 03, 2016 1:17 pm

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

Post by TinCanTech » Sun Mar 06, 2022 3:48 am

Define: Possible

OpenVPN is essentially OS agnostic.

shawnhaywood
OpenVpn Newbie
Posts: 3
Joined: Sun Mar 06, 2022 2:25 am

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

Post by shawnhaywood » Sun Mar 06, 2022 7:11 pm

Do you mean I can simply install OpenVPN on Windows and copy over my ca, key, cert files? How do I update paths?

TinCanTech
OpenVPN Protagonist
Posts: 11142
Joined: Fri Jun 03, 2016 1:17 pm

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

Post by TinCanTech » Sun Mar 06, 2022 8:21 pm

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

Meserias
OpenVpn Newbie
Posts: 12
Joined: Sun Oct 17, 2021 3:01 pm

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

Post by Meserias » Thu Oct 27, 2022 2:06 pm

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

Post Reply