OpenVPN server in a Docker container complete with an EasyRSA PKI CA. Extensively tested on Digital Ocean $5/mo node and has a corresponding Digital Ocean Community Tutorial. Pick a name for the $OVPN_DATA data volume container. It's recommended to use the ovpn-data- prefix to operate seamlessly with the reference systemd service. Users are encourage to replace example with a descriptive name of their choosing. Initialize the $OVPN_DATA container that will hold the configuration files and certificates. The container will prompt for a passphrase to protect the private key used by the newly generated certificate authority. Miscellaneous write-ups for advanced configurations are available in the docs folder. A systemd init script is available to manage the OpenVPN container. It will start the container on system boot, restart the container if it exits unexpectedly, and pull updates from Docker Hub to keep itself up to date.

Features

  • Diffie-Hellman parameters
  • A private key
  • A self-certificate matching the private key for the OpenVPN server
  • An EasyRSA CA key and certificate
  • TLS auth key from HMAC security
  • The OpenVPN server is started with the default run cmd of ovpn_run

Project Samples

Project Activity

See All Activity >

Categories

Security, Networking

License

MIT License

Follow OpenVPN for Docker

OpenVPN for Docker Web Site

You Might Also Like
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of OpenVPN for Docker!

Additional Project Details

Operating Systems

Android, Linux, Mac

Programming Language

Unix Shell

Related Categories

Unix Shell Security Software, Unix Shell Networking Software

Registered

2021-08-26