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
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free 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