Sign inSign up

zhangwfkl/openvpn

By zhangwfkl

Updated almost 2 years ago

OpenVPN image build on alpine linux.

Image
Networking
0

60

zhangwfkl/openvpn repository overview

OpenVPN build on alpine linux 3.20.

Github

Run docker container

Important: You must mount local directory which contains full configuration files(such as openvpn.conf, ca.crt, your.crt, your.key) to the /etc/openvpn or the container start failed.

Because OpenVPN container needs host server network privileges. I suggest start the container with options --privileged, and --network=host.

docker run -d --privileged [--network=host] -v <localConfDir>:/etc/openvpn --name vpn <yourImage>

Use docker hup image I created.

docker run -d --privileged [--network=host] -v <localConfDir>:/etc/openvpn --name vpn zhangwfkl/openvpn:2.6.12-alpine

Tag summary

Content type

Image

Digest

sha256:9ba8588e2

Size

8.3 MB

Last updated

almost 2 years ago

docker pull zhangwfkl/openvpn:2.6.12-alpine