Lightweight OpenVPN Client in Docker
500K+
Original idea borrowed from https://github.com/dperson/openvpn-client
client.ovpn to client.pwd--auth-nocachedocker run -d --name vpn-client \
--cap-add=NET_ADMIN \
--device /dev/net/tun \
-v /path/with/vpn/configs:/vpn \
ekristen/openvpn-client --config /vpn/client.conf --askpass /vpn/client.pwd --auth-nocache
Use --net=container:<container-id> -- routes available by the VPN client will be made available to the container.
docker run -it --rm \
--net=container:vpn-client
ubuntu /bin/bash
Content type
Image
Digest
Size
3 MB
Last updated
over 9 years ago
docker pull ekristen/openvpn-client