Skip to content

jsloan117/docker-openvpn-client

Folders and files

NameName
Last commit message
Last commit date
Jan 24, 2025
Oct 6, 2023
Oct 6, 2023
Oct 6, 2023
Oct 6, 2023
Jan 11, 2022
Jan 11, 2022
Mar 18, 2020
Oct 6, 2023
Jan 11, 2022
Jan 11, 2022
Oct 6, 2023
Jan 11, 2022
Oct 6, 2023
Nov 9, 2018
Oct 6, 2023
Oct 6, 2023
Oct 6, 2023
Oct 6, 2023
Feb 8, 2024
Oct 6, 2023
Oct 6, 2023

Repository files navigation

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.