Closed Hi-ImKyle closed 5 months ago
Hi there,
I'm struggling trying to make this work with a simple openvpn connection.
my idea is NOT specify the VPN user and password on the docker-compose.yml but on a text file called credentials.txt and placed on the same directory as the .ovpn config file and call it with auth-user-pass credentials.conf
within the .ovpn.
it says
2024-04-05 00:25:43 AUTH: Received control message: AUTH_FAILED
obviously, I've tried with the environment vars inside the docker-compose.
version: "3"
services:
arch-qbittorrentvpn:
cap_add:
- NET_ADMIN
ports:
- 6882:6881
- 6882:6881/udp
- 49550:49550
- 49551:8118
container_name: torrent-vpn
volumes:
- /data/files:/data
- /data/.docker/arch-qbittorrent-vpn/config:/config
- /etc/localtime:/etc/localtime:ro
environment:
- VPN_ENABLED=yes
- VPN_PROV=protonvpn
- VPN_CLIENT=openvpn
- VPN_USER=email@gmail.com
- VPN_PASS=passord
- STRICT_PORT_FORWARD=yes
- ENABLE_PRIVOXY=yes
- ENABLE_STARTUP_SCRIPTS=no
- LAN_NETWORK=192.168.1.0/24
- NAME_SERVERS=192.168.1.1
- DEBUG=true
- WEBUI_PORT=49550
- UMASK=000
- PUID=0
- PGID=0
network_mode: bridge
restart: unless-stopped
image: binhex/arch-qbittorrentvpn
I've tried VPN_PROV protonvpn, pia, custom... nothing works.
As the OP, if I disable the VPN, qbittorrent starts just fine.
Someone can shred some light, please?
Inactivity timeout (--ping-restart), restarting
See Q17:- https://github.com/binhex/documentation/blob/master/docker/faq/vpn.md
At no point in the supervisord.log does it state qBittorrent is starting.
If I change VPN_ENABLED to no, it starts up fine.
It's almost like with VPN_ENABLED=yes the watchdog script doesn't even try to start qBittorrent.
Is this intentional? Am I missing the main point of this image?