Public | Automated Build

Last pushed: 2 years ago
Short Description
openvpn container
Full Description




OpenVPN is an open-source software application that implements virtual private network (VPN) techniques for creating secure point-to-point or site-to-site connections in routed or bridged configurations and remote access facilities. It uses a custom security protocol that utilizes SSL/TLS for key exchange.

The purpose of this image is to be used as a base image for images which intend to run apps that should only have internet access through a VPN. On calling /root/, iptables will be configured and then supervisord will be started, so any derived images should configure their apps to run using supervisor.conf files, and run /root/ after doing any initialisation of their own. This way, the application will only start after iptables has been configured.

Build notes

Latest stable release from Arch Linux repo.

Usage Parameters

required capabilities:

required volumes:

VPN_USER=<vpn username>
VPN_PASS=<vpn password>
VPN_REMOTE=<vpn remote gateway>
VPN_PORT=<vpn remote port>
VPN_PROTOCOL=<vpn remote protocol>
LAN_NETWORK<lan ipv4 network>/<cidr notation>
PUID=<UID for user>
PGID=<GID for user>


Appreciation goes to binhex, who did the bulk of the work. I just removed privoxy.

Docker Pull Command
Source Repository