docker run -d --rm --name openvpn -p 1194:1194/udp --cap-add=NET_ADMIN -v /my/openvpn_dir:/mnt/openvpn skopciewski/openvpn
Redirects all params to the openvpn command. Workdir is /mnt/openvpn.
--config server.conf
If you want to execute other command than openvpn, run docker container with escto as first param:
docker run -it --rm --name openvpn -p 1194:1194/udp --cap-add=NET_ADMIN -v /my/openvpn_dir:/mnt/openvpn skopciewski/openvpn escto sh
push "redirect-gateway" directive, iptables is configured for forwarding traffic from that client-p 445:1194/udp)Content type
Image
Digest
sha256:a5ac04baf…
Size
5.8 MB
Last updated
almost 2 years ago
docker pull skopciewski/openvpn