DockOvpn — is an out of the box dockerized OpenVPN server, which starts in just a few seconds and runs forever.
and is reviewed and maintained by cyber-security specialists from all over the world.
DockOvpn's source code is avialable on GitHub
DockOvpn is shipped as a docker image, which means it can be deployed virtually everywhere.
It takes as little as 2 seconds for DockOvpn to start up and and be ready to accept hundreds simultaneous connections.
To get it running, just copy and paste this code snippet in you server's terminal and follow on-screen instructions.
docker run -it --rm --cap-add=NET_ADMIN \ -p 1194:1194/udp -p 80:8080/tcp \ -e HOST_ADDR=$(curl -s https://api.ipify.org) \ --name dockovpn alekslitvinenk/openvpn
Observe the following or similiar output and be ready to download configuration when asked to do so.
Sat Mar 7 08:45:32 2020 Config server started, download your client.ovpn config at http://126.96.36.199/ Sat Mar 7 08:45:32 2020 NOTE: After you download you client config, http server will be shut down!
Once server started and fully initialized (normally shouldn't take longer than 2 sec), you can download client.ovpn configuration.
(For more secure options of transferring config file, check our Documentation)
Use this configuration with any of the available OpenVPN clients for your platform. See table below for more information.