Skip to content

Latest commit

 

History

History
49 lines (39 loc) · 1.29 KB

vpn-secure.md

File metadata and controls

49 lines (39 loc) · 1.29 KB

VPN Secure

TLDR

  1. Setup your client encrypted key
  2. Setup your client certificate
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

Required environment variables

  • VPN_SERVICE_PROVIDER=vpnsecure
  • OPENVPN_KEY_PASSPHRASE is your account password

Optional environment variables

  • SERVER_REGIONS: Comma separated list of regions
  • SERVER_CITIES: Comma separated list of cities
  • SERVER_HOSTNAMES: Comma separated list of server hostnames
  • PREMIUM_ONLY: yes or no

Servers

To see a list of servers available, list the VPN servers with Gluetun.