u/Robertsonland

So I've been running PIA and Gluetun now for months using openvpn.

This morning I had to update other programs in the same stack in portainer so I did a full refresh of everything in there. Now gluetun won't connect.

I get the error

ERROR [openvpn] Unrecognized option or missing or extra parameter(s) in /etc/openvpn/target.ovpn:8: handshake-window (2.6.20)

I have no target.ovpn file in /etc/openvpn and can't find evidence of it ever being there. Nothing I can find in tutorials mention this file.

I updated the servers:

docker run --rm -v /docker/gluetun/:/gluetun qmcgaw/gluetun format-servers -private-internet-access

My yaml:

gluetun:
  image: qmcgaw/gluetun
  container_name: gluetun
  cap_add:
    - NET_ADMIN
  devices:
    - /dev/net/tun:/dev/net/tun
  ports:
    - 8090:8090 # QBittorrent Web UI
    - 6882:6882 # QBittorrent Ports
    - 6882:6882/udp # QBittorrent Ports
    - 8888:8888/tcp # HTTP proxy
    - 8388:8388/tcp # Shadowsocks
    - 8388:8388/udp # Shadowsocks
  volumes:
    - /docker/gluetun:/gluetun
  environment:
    # See https://github.com/qdm12/gluetun-wiki/tree/main/setup#setup
    - VPN_SERVICE_PROVIDER=private internet access
    - VPN_TYPE=openvpn
    # OpenVPN:
    - OPENVPN_USER=<user>
    - OPENVPN_PASSWORD=<password>
    - SERVER_REGIONS=US California
reddit.com
u/Robertsonland — 13 days ago