Skip to content

padhi-homelab/docker_openvpn-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker_openvpn-client

build status testing size latest size

latest version image pulls


A multiarch OpenVPN Docker image, based on Alpine Linux.

386 amd64 arm/v6 arm/v7 arm64 ppc64le riscv64 s390x
✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️

Usage

docker run --name vpn_container
           --cap-add=NET_ADMIN \
           -e CONFIG_FILE_NAME=client.conf \
           -v /path/to/config:/config \
           -it padhihomelab/openvpn-client

Starts a container running an openvpn client with the provided client configuration.
To route traffic from other containers via this container, use --net=container:vpn_container with docker run when creating those containers:

docker run --net=container:vpn_container <target_image>

(Optional) SOCKS5 Proxy

This image also contains a Dante server to optionally start