docker run -it --rm --cap-add=NET_ADMIN --device /dev/net/tun \
-e VPN_SERVICE_PROVIDER=vpnsecure \
-v /yourpath/gluetun:/gluetun \
-e OPENVPN_KEY_PASSPHRASE=abc \
-e SERVER_COUNTRIES=Netherlands qmcgaw/gluetun
version: "3"
services:
gluetun:
image: qmcgaw/gluetun
cap_add:
- NET_ADMIN
devices:
- /dev/net/tun:/dev/net/tun
environment:
- VPN_SERVICE_PROVIDER=vpnsecure
- OPENVPN_KEY_PASSPHRASE=abc
- SERVER_COUNTRIES=Netherlands
volumes:
# gluetun directory must contain the certificate
# as client.crt and the encrypted key as openvpn_encrypted_key
- ./gluetun:/gluetun
VPN_SERVICE_PROVIDER=vpnsecure
OPENVPN_KEY_PASSPHRASE
is your account password
SERVER_REGIONS
: Comma separated list of regionsSERVER_CITIES
: Comma separated list of citiesSERVER_HOSTNAMES
: Comma separated list of server hostnamesPREMIUM_ONLY
:yes
orno
To see a list of servers available, list the VPN servers with Gluetun.