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
Forever Free Full-Stack Observability | Grafana Cloud Icon
Forever Free Full-Stack Observability | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
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