/docker-openvpn-client

Container image with OpenVPN Client and VPN providers

Primary LanguageShellGNU General Public License v3.0GPL-3.0

docker-openvpn-client

License images Docker Pulls

The image provides OpenVPN or Wireguard as a VPN client, with OpenVPN having access to multiple providers.

Getting started


Below is a quick way to get up and running with either OpenVPN or Wireguard. For more details, see the complete documentation.

# OpenVPN client
docker run --cap-add=NET_ADMIN -d --name openvpn_client \
-e OPENVPN_PROVIDER='vyprvpn' \
-e OPENVPN_CONFIG='USA - Austin-256' \
-e OPENVPN_USERNAME='user' \
-e OPENVPN_PASSWORD='password' \
-v /etc/localtime:/etc/localtime:ro \
jsloan117/docker-openvpn-client
# Wireguard client
docker run --cap-add=NET_ADMIN -d --name wg_client \
-e "VPN_CLIENT=wireguard" \
--sysctl net.ipv4.conf.all.src_valid_mark=1 \
-v ~/wg0.conf:/etc/wireguard/wg0.conf \
-v /etc/localtime:/etc/localtime:ro \
jsloan117/docker-openvpn-client

Credit


Thank you Haugene and all contributors for making a great image.

I initially based the image on docker-transmission-openvpn. Their documentation may benefit you depending on your environment.