simple openvpn client image - FROM debian:wheezy
mkdir -pv ovpn
cp -av /some/place/client.ovpn ovpn/client.ovpn
./host-startup/run-openvpn-client-cli.sh
The provided script will
If your vpn configuration modifies resolv.conf, your host will enjoy this benefit
read
host-startup/run-openvpn-client-cli.sh
host-startup/[email protected]
for usage instructions for systemd or commandline docker operation
In short, -v host bindmount a .ovpn to /etc/openvpn/client.ovpn or -v bindmount a dir to /etc/openvpn and you're in business
-v $(pwd)/ovpn:/etc/openvpn
If you would like the VPN to update the hosts resolv.conf
-v /etc/resolv.conf:/etc/resolv.conf
startup command inside the container will start openpn with your config
Content type
Image
Digest
sha256:c7aaed2c9…
Size
45.7 MB
Last updated
almost 11 years ago
docker pull mazaclub/openvpn-client