Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pschiffe/docker-openvpn
scriptable kylemanna/docker-openvpn
https://github.com/pschiffe/docker-openvpn
ansible ansible-roles docker docker-openvpn kylemanna openvpn playbook
Last synced: 3 months ago
JSON representation
scriptable kylemanna/docker-openvpn
- Host: GitHub
- URL: https://github.com/pschiffe/docker-openvpn
- Owner: pschiffe
- License: mit
- Created: 2016-12-10T18:14:55.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2024-01-05T16:15:07.000Z (12 months ago)
- Last Synced: 2024-09-30T17:42:28.606Z (3 months ago)
- Topics: ansible, ansible-roles, docker, docker-openvpn, kylemanna, openvpn, playbook
- Language: Dockerfile
- Homepage: https://hub.docker.com/r/pschiffe/openvpn/
- Size: 26.4 KB
- Stars: 8
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pschiffe/docker-openvpn
![Docker Image Size (tag)](https://img.shields.io/docker/image-size/pschiffe/openvpn/latest?label=latest) ![Docker Pulls](https://img.shields.io/docker/pulls/pschiffe/openvpn)
This [docker image](https://hub.docker.com/r/pschiffe/openvpn/) used to extend awesome [kylemanna/docker-openvpn](https://github.com/kylemanna/docker-openvpn) image with simple patch, which enables you to provide ca key and cn via environment variables `EASYRSA_PASSIN`, `EASYRSA_PASSOUT` and `EASYRSA_REQ_CN`. Also `EASYRSA_BATCH=1` env var is required. By providing the password via env var, it's possible to use the image with e.g. ansible.
Now the patch is part of the [easy-rsa upstream](https://github.com/OpenVPN/easy-rsa), so it's available also in the original [kylemanna/docker-openvpn](https://github.com/kylemanna/docker-openvpn) image. I'm keeping this repository up, because it includes complete ansible example how to use this image, and optionally, the `pschiffe/openvpn` docker image may include more up to date packages than [kylemanna/docker-openvpn](https://github.com/kylemanna/docker-openvpn).
## Example ansible roles
In ansible folder of this repo you can find example ansible roles for this image. You can modify `sample.yml` playbook and deploy it with:
```
cd ansible
ansible-playbook sample.yml
```