DockOvpn is a stateless, out-of-the-box OpenVPN server Docker image that launches in under 2 seconds without requiring persistent storage.
🔐 Out of the box stateless openvpn-server docker image which starts in less than 2 seconds
This tool is designed for users and administrators who need a quick, lightweight VPN server deployment using Docker, ideal for secure remote access and network protection. It is especially useful for DevOps, SecOps, and network security professionals looking to automate VPN setup and management with minimal configuration overhead.
Since DockOvpn is stateless and does not require persistent storage by default, users should consider persisting configuration if long-term VPN server state is needed. The project is actively maintained with hourly regenerated Diffie-Hellman keys to enhance security. It is recommended to monitor build and test statuses via the provided CI/CD badges and engage with the community on Slack or Gitter for support.
Install Docker on your host system.
Run the Docker container using the command: docker run -it --rm --cap-add=NET_ADMIN -p 1194:1194/udp -p 80:8080/tcp --name dockovpn alekslitvinenk/openvpn
Follow the on-screen instructions in the terminal to configure and start the VPN server.
Optionally, refer to the Quick Start tutorial or video guide for detailed setup.
For persistent configuration, follow the instructions under 'Persisting configuration' in the README.
Alternatively, use docker-compose as described in the 'Alternative way. Run with docker-compose' section.
docker run -it --rm --cap-add=NET_ADMIN -p 1194:1194/udp -p 80:8080/tcp --name dockovpn alekslitvinenk/openvpn
Launches the DockOvpn OpenVPN server container with necessary capabilities and port mappings.