💁 To use with Wireguard, see the custom provider Wireguard section.
First, setup your client key. Then you can use:
docker run -it --rm --cap-add=NET_ADMIN -e VPN_SERVICE_PROVIDER=wevpn \
-e OPENVPN_USER=abc -e OPENVPN_PASSWORD=abc \
-e SERVER_CITIES=Amsterdam qmcgaw/gluetun
version: "3"
services:
gluetun:
image: qmcgaw/gluetun
cap_add:
- NET_ADMIN
environment:
- VPN_SERVICE_PROVIDER=wevpn
- OPENVPN_USER=abc
- OPENVPN_PASSWORD=abc
- SERVER_CITIES=Amsterdam
VPN_SERVICE_PROVIDER=wevpn
OPENVPN_USER
OPENVPN_PASSWORD
SERVER_CITIES
: Comma separated list of citiesSERVER_HOSTNAMES
: Comma separated list of server hostnamesVPN_ENDPOINT_PORT
: Custom OpenVPN server endpoint port- For TCP:
53
,1195
,1199
or2018
- For UDP:
80
,1194
or1198
- For TCP:
To see a list of servers available, list the VPN servers with Gluetun.