MarkusMcNugen / docker-qBittorrentvpn

Docker container which runs a headless qBittorrent client with WebUI and optional OpenVPN
https://hub.docker.com/r/markusmcnugen/qbittorrentvpn/
GNU General Public License v3.0
168 stars 92 forks source link

QBT Loads and Runs, Does not utilize the VPN #80

Open silentknight509 opened 3 years ago

silentknight509 commented 3 years ago

I have setup the container on my Synology 1019+ and it runs. The logs show VPN is enabled. I have uploaded the ovpn file.

When running QBT, it is not utilizing the VPN however. My actual IP shows and the downloads do not progress as torrents are blocked via my ISP.

2020-11-17 20:31:44 stdout 2020-11-17 20:31:44.791334 [info] Started qBittorrent daemon successfully...
2020-11-17 20:31:44 stdout 2020-11-17 20:31:44.781641 [info] qBittorrent PID: 38
2020-11-17 20:31:43 stdout Logging to /config/qBittorrent/data/logs/qbittorrent-daemon.log.
2020-11-17 20:31:43 stdout 2020-11-17 20:31:43.715409 [info] Starting qBittorrent daemon...
2020-11-17 20:31:43 stdout 2020-11-17 20:31:43.659056 [warn] UMASK not defined (via -e UMASK), defaulting to '002'
2020-11-17 20:31:43 stdout useradd: user 'qbittorent' already exists
2020-11-17 20:31:43 stdout Adding 1026 user
2020-11-17 20:31:43 stdout groupadd: GID '101' already exists
2020-11-17 20:31:43 stdout Adding 101 group
2020-11-17 20:31:43 stdout 2020-11-17 20:31:43.583697 [info] VPN_ENABLED defined as 'Yes'

I have attached my variables as well.

Capture

Smephite commented 3 years ago

+1 any updates on this?

jonasrachid commented 3 years ago

Having the same issue, initiates normally but when I do a leak test it is not under the VPN connection.

qbittorrentvpn    
date stream content
1/6/2021 3:12 stdout 2021-01-06 03:12:37.213997 [info] Started qBittorrent daemon successfully...
     
1/6/2021 3:12 stdout 2021-01-06 03:12:37.208480 [info] qBittorrent PID: 51
     
1/6/2021 3:12 stdout Logging to /config/qBittorrent/data/logs/qbittorrent-daemon.log.
     
1/6/2021 3:12 stdout 2021-01-06 03:12:36.167883 [info] Starting qBittorrent daemon...
     
1/6/2021 3:12 stdout 2021-01-06 03:12:36.132016 [warn] UMASK not defined (via -e UMASK), defaulting to '002'
1/6/2021 3:12 stderr useradd: user 'qbittorent' already exists
     
1/6/2021 3:12 stdout Adding 1026 user
     
1/6/2021 3:12 stderr groupadd: GID '100' already exists
     
1/6/2021 3:12 stdout Adding 100 group
     
1/6/2021 3:12 stdout 2021-01-06 03:12:36.086395 [info] Adding 8.8.4.4 to resolv.conf
     
1/6/2021 3:12 stdout 2021-01-06 03:12:36.049953 [info] Adding 8.8.8.8 to resolv.conf
     
1/6/2021 3:12 stdout 2021-01-06 03:12:36.012215 [info] VPN_ENABLED defined as 'Yes'
chrisjohnson00 commented 3 years ago

You misspelled privileged, privileged also isn't an environment variable, its a docker flag/option.

Also, VPN_ENABLED needs to be yes not Yes

jonasrachid commented 3 years ago

Thanks, did not realize that the Yes was the wrong thing, fixed it and now it is working.