OpenVPN client docker container
What is OpenVPN?
OpenVPN is an open-source software application that implements virtual private
network (VPN) techniques for creating secure point-to-point or site-to-site
connections in routed or bridged configurations and remote access facilities.
It uses a custom security protocol that utilizes SSL/TLS for key exchange. It is
capable of traversing network address translators (NATs) and firewalls.
To make your HOST connect to your vpn, just place your .ovpn as /vpn/vpn.conf in your volume and then run:
sudo docker run --net="host" --restart=always --cap-add=NET_ADMIN --device /dev/net/tun --name vpn \ -v /some/path:/vpn -d luisehk/openvpn-client
Thanks, this was exactly what I was looking for.