Page 1 of 1

Clean YAMS Installation, Issue with Gluetun starting (protonvpn)

Posted: Thu Jan 16, 2025 8:18 pm
by Ray416

Hello, When I first ran through the YAMS configuration guide, I was able to get a correct output when running yams check-vpn. It gave my IP and then the IP that protonVPN provide, which was somewhere in the USA. I then proceeded to add a torrent and went over to the webUI of qbittorrent. I seen the torrent listed but it was sitting in a stalled mode.

After running yams stop and then yams start. I can see the gluetun container as not healthy and it was giving errors saying possibly wrong credentials? I then went back to ProtonVPN, regenerated new credentials and updated the .env file with that information.

When starting back all containers, gluetun is failing to connect and give me a new remote vpn IP and qbittorrent is now missing the tun0 interface. Any help is needed.

Code: Select all

yams check-vpn
Getting your IP...
Your IP: 99.xxx.xxx.xxx
Your local IP country is Canada

Getting your qBittorrent IP...
Failed to get qBittorrent IP from any endpoint

Log from gluetun:

Code: Select all

SIGUSR1[soft,auth-failure] received, process restarting

2025-01-16T20:15:51Z INFO [openvpn] TCP/UDP: Preserving recently used remote address: [AF_INET]185.15x.xxx.xxx:1194

2025-01-16T20:15:51Z INFO [openvpn] UDPv4 link local: (not bound)

2025-01-16T20:15:51Z INFO [openvpn] UDPv4 link remote: [AF_INET]185.15x.xxx.xxx:1194

2025-01-16T20:15:52Z INFO [openvpn] [node-hu-04.protonvpn.net] Peer Connection Initiated with [AF_INET]185.15x.xxx.xxx:1194

2025-01-16T20:15:58Z ERROR [openvpn] AUTH: Received control message: AUTH_FAILED

Your credentials might be wrong 🤨

Image


Re: Clean YAMS Installation, Issue with Gluetun starting (protonvpn)

Posted: Thu Jan 16, 2025 8:31 pm
by rogs

Hey @Ray416!

Some questions:

Cheers!

Roger.


Re: Clean YAMS Installation, Issue with Gluetun starting (protonvpn)

Posted: Fri Mar 14, 2025 3:39 pm
by Freescreen

Maybe it helps: proton works for me like this:
This works with wireguard and protonvpn pay Version. Only change the xxxx with your Details

Code: Select all

gluetun:
    image: qmcgaw/gluetun:latest
    container_name: gluetun
    cap_add:
      - NET_ADMIN
    devices:
      - /dev/net/tun:/dev/net/tun
    ports:
      - 8888:8888/tcp # HTTP proxy
      - 8388:8388/tcp # Shadowsocks
      - 8388:8388/udp # Shadowsocks
      - 8080/tcp #webui qbit
      - 7474/tcp #webui autobrr
    volumes:
      - ${INSTALL_DIRECTORY}/config/gluetun:/config
      - ${INSTALL_DIRECTORY}/gluetun/tmp:/tmp/gluetun
    environment:
      - VPN_SERVICE_PROVIDER=custom # protonvpn
      - VPN_TYPE=wireguard
      - WIREGUARD_PRIVATE_KEY=xxxxxxxxxxxxxxx
      - VPN_PORT_FORWARDING=on
      - MODERATE_NAT=on
      - VPN_ACCELERATOR=on
      - WIREGUARD_PUBLIC_KEY=xxxxxxxxxxxxx # "PublicKey" under [Peer] in WG Config
      - WIREGUARD_ADDRESSES=10.2.0.2/32 # "Address" under [Interface] in WG Config
      - VPN_ENDPOINT_IP=xxxxxxxxxxxx # "Endpoint" under [Peer] in WG Config
      - VPN_ENDPOINT_PORT=51820 # should be the default 51820 but can confirm by seeing the port after IP in "Endpoint"
      - VPN_DNS_ADDRESS=10.2.0.1 # "DNS" under [Interface] in WG Config
      - VPN_PORT_FORWARDING_PROVIDER=protonvpn
    restart: unless-stopped