Hello, I’m currently trying to install an OpenVPN Server on Windows Server 2019 but all guides seem to be outdated, does someone here knows a good Guide to set it up? Also is it even a good Idea to set it up on Windows, or would it be better just to take a Pi 4 or use Hyper-V with Linux?
I used an Ubuntu-based Hyper-V VHD image provided by OpenVPN itself on their site and everything worked fine.
There’s a very good tutorial. They teach you even how to change the IP address.
Try that.
Just use Linux. All the guides aren’t gonna be geared toward windows. You can install the AS from a package repo with basically any distro. And you can keep the service separate from whatever your hosting on that windows box.
I found this https://www.reddit.com/r/OpenVPN/comments/81q2q6/guide_how_to_set_up_openvpn_server_on_windows_10/ for Windows 10. Did you try and what exactly did not work for Windows Server 2019?
I love dumb “answers” like this. OP wants it on a windows server and windows is supported for OpenVPN. Don’t side track his issue by pushing an additional component to the mix like a Linux system just for VPN management. Just answer the mans question. There is many reasons why people dont want to have to manage an additional system just for VPN reason. For example, you are trying to use it for AWS servers. You really want to pay additional fees to host another server just for a VPN server that you can easily do on the same windows server you already have running? Eh no.
For the OP. I currently use this guide and it seems to be working fine for me.
Thanks for the suggestion, but the guide you linked is already obsolete, and the newest version of OpenVPN is different. I used a Hyper-V machine with Ubuntu Server, and it worked flawlessly. But thanks for your feedback
Officially the OpenVPN Access Server is built for Linux by design.
The OpenVPN Client is supported, the OpenVPN Server on Windows is not officially supported and it introduces some other head aches interms of management, licensing, logging and additional security.
You can work around it, but time is money, so that’s up to you.
If you are mangaging a large group of user devices in a corporate/enterprise space the full edition of OpenVPN Acess Server would be advisable to broker the conections.
Secuirty posture has changed since 2016 and will continue to change.
The OpenVPN AS, as documented by the OpenVPN team, gives you management functionality, control of your licensing and efficient configuration of your authentication options, including AD integration via LDAP.
If you want to deprive yourself of those excellent features a developer team created for your benefit, that is up to you.
Cool. Good to know you already solved it. I just tried yesterday on my Windows 10. While I did not follow it exactly but the overall process remains the same. Just some minor usage differences in `easyrsa` as the new version has some more all-in-one commands now. ← Leaving this comment here to encourage those who still wants to try OpenVPN Service (using a server config) on Windows.
If you’re wondering, plenty of organisation run it in a seperate VM along with their various Windows Server instance, or dedicated Router hardware with OpenVPN supported.