Openvpn client in a container.
434
Openvpn is set up in a way that no direct connection is allowed from the container (we modify routes and set iptables).
The purpose of this container is to be extended with layers that need access only via VPN.
Openvpn will search for config file in /etc/openvpn_host/, it will cd into this directory and will try to load a file named openvpnconfig.conf. To provide this file, an external volume must be mapped with:
-v </path/to/openvpn-configs>:/etc/openvpn_host/
The final run command can be:
docker run -v </path/to/openvpn-configs>:/etc/openvpn_host/ --privileged -d dimovnike/alpine-openvpn
Content type
Image
Digest
sha256:e8951f880…
Size
22.9 MB
Last updated
over 2 years ago
docker pull dimovnike/alpine-openvpn