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

Other Useful Business Software
Build Securely on Azure with Proven Frameworks Icon
Build Securely on Azure with Proven Frameworks

Lay a foundation for success with Tested Reference Architectures developed by Fortinet’s experts. Learn more in this white paper.

Moving to the cloud brings new challenges. How can you manage a larger attack surface while ensuring great network performance? Turn to Fortinet’s Tested Reference Architectures, blueprints for designing and securing cloud environments built by cybersecurity experts. Learn more and explore use cases in this white paper.
Download Now
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