A multiarch OpenVPN Docker image, based on Alpine Linux.
386 | amd64 | arm/v6 | arm/v7 | arm64 | ppc64le | riscv64 | s390x |
---|---|---|---|---|---|---|---|
✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
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>
This image also contains a Dante server to optionally start