Allows you to tunnel your host through OpenVPN using Docker. Useful for CoreOS.
This repository contains the Dockerfile of OpenVPN for tunneling your host through OpenVPN in a docker container.
I based my image on the Debian 8 Jessie image.
- Create a folder containing all your configuration files used by OpenVPN. It has to contain at least the
vpn.conf-file Make sure you're using absolute filepaths when using included files (eg. certificates, keys) to make sure OpenVPN will always be able to parse your configs.
- Run it using
docker run --cap-add=NET_ADMIN --device /dev/net/tun --net host -v /path/to/your/configuration/directory:/vpn --name vpn -d platzhalter/openvpnfor tunneling your whole host network
Docker Pull Command