Skip to content

Latest commit

 

History

History
54 lines (39 loc) · 1.56 KB

vyprvpn.md

File metadata and controls

54 lines (39 loc) · 1.56 KB

VyprVPN

TLDR

docker run -it --rm --cap-add=NET_ADMIN --device /dev/net/tun \
-e VPN_SERVICE_PROVIDER=vyprvpn \
-e OPENVPN_USER=abc -e OPENVPN_PASSWORD=abc \
-e SERVER_REGIONS=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=vyprvpn
      - OPENVPN_USER=abc
      - OPENVPN_PASSWORD=abc
      - SERVER_REGIONS=Netherlands

💁 To use with Wireguard, see the custom provider Wireguard section.

Required environment variables

  • VPN_SERVICE_PROVIDER=vyprvpn
  • OPENVPN_USER
  • OPENVPN_PASSWORD

Optional environment variables

  • SERVER_REGIONS: Comma separated list of regions
  • SERVER_HOSTNAMES: Comma separated list of server hostnames

VPN server port forwarding

By default, VyprVPN does not forward any port.

You need to disable the NAT firewall in the Manage services section of your account at account.vyprvpn.com (source).

All the ports will then be forwarded to you, so it's like you are running alone on the VPN server.

Therefore, you only need to allow these ports through the gluetun firewall by setting the ports you need in FIREWALL_VPN_INPUT_PORTS. For example FIREWALL_VPN_INPUT_PORTS=8000,9000.

Servers

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