open vpnserver with or not docker in windows 10

Business solution to host your own OpenVPN server with web management interface and bundled clients.
Post Reply
dadoupipo
OpenVpn Newbie
Posts: 1
Joined: Sat Feb 19, 2022 5:16 pm

open vpnserver with or not docker in windows 10

Post by dadoupipo » Sun Feb 20, 2022 2:39 pm

Hello

j want create openvpn server on windows 10
J have tested more tutorial and i have more problems, it's not OK

Have you a good tutorial for create a server vpn on windows 10 with docker or not.

Thank you

chilinux
OpenVPN Power User
Posts: 156
Joined: Thu Mar 28, 2013 8:31 am

Re: open vpnserver with or not docker in windows 10

Post by chilinux » Sun Feb 20, 2022 5:59 pm

You had posted this in the forum specifically for OpenVPN Access Server so I am assuming that is what you are asking about. If you are interested in what can be done with the Community Edition of OpenVPN then I would recommend posting in the Community Project section of the forum.

OpenVPN Access Server, to work as intended, needs to have full control of iptables. With docker, it doesn't have that level of access. So regardless of if you are trying to run OpenVPN AS on Linux or indirectly on Windows, use of docker is not a supported use.

To run OpenVPN Access Server on Windows, you could use the Hyper-V Virtual Appliance as documented here:
https://openvpn.net/vpn-server-resource ... n-hyper-v/

This documentation assumes you are using a Server edition of WIndows.

If you are using Windows 10 Pro, Enterprise or Education then it also has Hyper-V but unlike WIndows Server edition, it doesn't default to having Hyper-V on a bridged network. As such, configuring the system is going to be more involved:
https://www.how2shout.com/how-to/how-to ... -step.html

Windows 10 Home does *NOT* provide the full Hyper-V features. So you won't be able to run the Hyper-V Virtual Appliance on that edition. If you are unable to pay to enable the Windows 10 Pro features, then it might be possible to install OpenVPN AS on the Windows Subsystem for Linux v2. It is then possible to install Ubuntu 20.04 in WSL2. Then install OpenVPN Access Server on Ubuntu 20.04. However, again, you will need to make sure to configure Windows to enable bridged networking for WSL2:
https://develmonk.com/2021/06/05/easies ... k-manager/

Full disclosure: I have not actually tried OpenVPN AS on either Hyper-V or WSL2.

Hopefully that answers your question.

Post Reply