Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Support] binhex - qBittorrentVPN

Featured Replies

  • Author
12 minutes ago, TestingUser said:

@wgstarks I don't know if you have any other ideas on what might be going on here or what I might be missing, I have several other binhex containers running and they've all worked without any issue. This is the only one where I can't get the webUI to work. I even changed my container that was using 8080 to use a different port so that I can try to get this qbitVPN running on 8080.


The binhex non VPN version loads up no issue, other versions of qbitvpn work but I can't get this one to work with the webui.

attach your docker run command agian for the container, it sounds like you have changed some settings but i assume you have missed something, Q4 is still relevant:- https://github.com/binhex/documentation/blob/master/docker/faq/qbittorrentvpn.md

  • Replies 5.3k
  • Views 1.2m
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • I rolled back to tag 5.1.1-1-01 which fixed the issue for me. I guess the new update wasn't tested for wireguard connections. Edit the docker container and change "Repository" from binhex/arch-qbitt

  • FWIW, I found this method in Reddit that seemed to work for me until they fix the log bug. But note if you have qbittorrent internet facing, it's a risk.   Add this line under [Preferences]

  • gustyScanner
    gustyScanner

    Hello! I have been using wireguard successfully for a long time with this container, today though when the container restarted I got the following error: 2025-06-27 10:35:26,490 DEBG 'start-script'

Posted Images

5 minutes ago, binhex said:

attach your docker run command agian for the container, it sounds like you have changed some settings but i assume you have missed something, Q4 is still relevant:- https://github.com/binhex/documentation/blob/master/docker/faq/qbittorrentvpn.md

Q4 is still relevant, I was referring to answer for it line 3. Find Container Port: 8080 and click on Remove. Unless I am missing something, there is no Container Port: 8080 to click remove on. Even when I click on advanced, there is no listing for container port. Though I may be missing something super obvious?

DOCKER RUN:

docker run
  -d
  --name='binhex-qbittorrentvpn'
  --net='bridge'
  --pids-limit 2048
  --privileged=true
  -e TZ="America/Chicago"
  -e HOST_OS="Unraid"
  -e HOST_HOSTNAME="HOSTNAME"
  -e HOST_CONTAINERNAME="binhex-qbittorrentvpn"
  -e 'VPN_ENABLED'='yes'
  -e 'VPN_USER'=' USER'
  -e 'VPN_PASS'='PASSWORD'
  -e 'VPN_PROV'='protonvpn'
  -e 'VPN_CLIENT'='wireguard'
  -e 'STRICT_PORT_FORWARD'='yes'
  -e 'ENABLE_PRIVOXY'='no'
  -e 'ENABLE_SOCKS'='no'
  -e 'SOCKS_USER'='admin'
  -e 'SOCKS_PASS'='socks'
  -e 'LAN_NETWORK'='10.10.0.0/24'
  -e 'WEBUI_PORT'='8080'
  -e 'VPN_INPUT_PORTS'=''
  -e 'VPN_OUTPUT_PORTS'=''
  -e 'DEBUG'='false'
  -e 'VPN_OPTIONS'=''
  -e 'ENABLE_STARTUP_SCRIPTS'='no'
  -e 'USERSPACE_WIREGUARD'='no'
  -e 'NAME_SERVERS'='1.1.1.1,1.0.0.1'
  -e 'ENABLE_HEALTHCHECK'='yes'
  -e 'HEALTHCHECK_COMMAND'=''
  -e 'HEALTHCHECK_ACTION'=''
  -e 'HEALTHCHECK_HOSTNAME'='google.com'
  -e 'PUID'='99'
  -e 'PGID'='100'
  -e 'UMASK'='000'
  -l net.unraid.docker.managed=dockerman
  -l net.unraid.docker.webui='http://[IP]:[PORT:8080]'
  -l net.unraid.docker.icon='https://raw.githubusercontent.com/binhex/templates/main/unraid/binhex/images/qbittorrent-icon.png'
  -p '8080:8080/tcp'
  -p '8118:8118/tcp'
  -p '9118:9118/tcp'
  -p '58946:58946/tcp'
  -p '58946:58946/udp'
  -v '/mnt/user/appdata/binhex-qbittorrentvpn':'/config':'rw'
  -v '/mnt/user/NAS1/Entertainment/working/qbit/':'/data':'rw'
  --sysctl="net.ipv4.conf.all.src_valid_mark=1" 'ghcr.io/binhex/arch-qbittorrentvpn'

c2f35c1f0d9d498c1c89b97ceb342264cb2d1395868fdced593aa7f72e14d093

The command finished successfully!

  • Author
16 minutes ago, TestingUser said:

  -e 'WEBUI_PORT'='8080'

17 minutes ago, TestingUser said:

  -l net.unraid.docker.webui='http://[IP]:[PORT:8080]'

17 minutes ago, TestingUser said:

  -p '8080:8080/tcp'

ok so right now all 3 are in sync and set correctly to use port 8080, so if you fire up your browser should be able to access the web ui on port 8080, is this the case?, if not then something else is going on.

To answer your question:

18 minutes ago, TestingUser said:

I was referring to answer for it line 3. Find Container Port: 8080 and click on Remove. Unless I am missing something, there is no Container Port: 8080

The container used to simply be named as Container Port: 8080 it's now instead named Port: Web Interface:, see screenshot below, this is what you should delete IF you want to change the web ui port from the default of 8080:

{1E68D15A-C324-4ABA-97DB-80E244E826D5}.png


So if for example you want to change the port to 8999

  • you would delete the port above, re-add a config type port and set the host AND container ports to 8999

  • then change the value for Variable: WEBUI_PORT:to a value of 8999

  • and lastly if you want the web ui link to work when you left click the container icon then switch to advanced view (top right) and then edit the Web UI: to a value of http://[IP]:[PORT:8999]

  • click apply at the bottom and fire up your web browser and go to http://[server ip]:8999 (or left click the container and select web ui).

51 minutes ago, TestingUser said:

@wgstarks I don't know if you have any other ideas on what might be going on here or what I might be missing

There is one problem in the little log snippet you posted-

IMG_0772.jpeg

You don’t have your user name appended properly to use ProtonVPN. There may be other issues but you’ll need to attach your entire supervisord.log file from appdata to let others review it (not just a screenshot of a snippet).

Also, I believe Step 3 is referring to any container port 8080 assignment regardless of the name (which is user definable).

  • Author
4 minutes ago, binhex said:

The container used to simply be named as Container Port: 8080 it's now instead named Port: Web Interface:

All references to the old names has been updated to reflect the template name changes, so you should be able to follow this step by step now.

1 hour ago, binhex said:

ok so right now all 3 are in sync and set correctly to use port 8080, so if you fire up your browser should be able to access the web ui on port 8080, is this the case?, if not then something else is going on.

To answer your question:

The container used to simply be named as Container Port: 8080 it's now instead named Port: Web Interface:, see screenshot below, this is what you should delete IF you want to change the web ui port from the default of 8080:

{1E68D15A-C324-4ABA-97DB-80E244E826D5}.png


So if for example you want to change the port to 8999

  • you would delete the port above, re-add a config type port and set the host AND container ports to 8999

  • then change the value for Variable: WEBUI_PORT:to a value of 8999

  • and lastly if you want the web ui link to work when you left click the container icon then switch to advanced view (top right) and then edit the Web UI: to a value of http://[IP]:[PORT:8999]

  • click apply at the bottom and fire up your web browser and go to http://[server ip]:8999 (or left click the container and select web ui).

I can not fire up the webUI and see it when configured like above, I get this error.
image.png

Thank you for clarifying the answer there, that's what I had originally tried.

On 3/21/2026 at 9:44 AM, jhe- said:

I see you have stopped releasing docker images for arm64. Any particular reason for this? It has stopped both on binhex/arch-qbittorrentvpn and on binhex/arch-sonarr but I can not find any announcements about it. It's a shame because it has been running solid on my Raspberry Pi 5

@binhex Not to nag, but wonder if you have any comments on this? Do you think arm64 images will come back, or should I consider migrating to something running x64?

  • Author
7 minutes ago, TestingUser said:

Here is the supervisord.log

supervisord.log

Last lines inthe log file:

[debug] Valid VPN gateway IP address from tunnel acquired '10.2.0.1'

[info] ProtonVPN username 'U_NAME' does not contain the suffix '+pmp' and therefore is not enabled for port forwarding, skipping port forward assignment...

[info] Script finished to assign incoming port

So does your username for proton have a suffix of +pmp?

1 hour ago, binhex said:

Last lines inthe log file:

[debug] Valid VPN gateway IP address from tunnel acquired '10.2.0.1'

[info] ProtonVPN username 'U_NAME' does not contain the suffix '+pmp' and therefore is not enabled for port forwarding, skipping port forward assignment...

[info] Script finished to assign incoming port

So does your username for proton have a suffix of +pmp?

My username is just an email address and it does not have a suffix of +pmp

  • Author
6 minutes ago, TestingUser said:

My username is just an email address and it does not have a suffix of +pmp

add +pmp to your username.

9 minutes ago, binhex said:

add +pmp to your username.

If I and that and start it up, the last few lines change to below and webui still doesn't load.
[warn] ProtonVPN endpoint '95.173.217.187' is not enabled for P2P port forwarding, skipping port forward assignment...

[info] Script finished to assign incoming port

If I disable Variable: STRICT_PORT_FORWARD: by setting it to no, web UI loads and I get this output for the last lines repeating every now and again
2026-04-08 10:49:56,615 DEBG 'watchdog-script' stdout output:

[debug] iptables chain policies are in place

2026-04-08 10:49:56,618 DEBG 'watchdog-script' stdout output:

[debug] VPN incoming port is 6881

[debug] qBittorrent incoming port is 6881

2026-04-08 10:49:56,618 DEBG 'watchdog-script' stdout output:

[debug] VPN IP is 10.2.0.2

[debug] qBittorrent IP is 10.2.0.2

Do I need to have STRICT_PORT_FORWARD set to yes to use P2P? The pirmary purpose of this container is to hook it up the radarr and sonarr images you made and use P2P torrents, but if I don't need STRICT_PORT_FORWARD I'll just leave that to no. I do'nt even know what it does.

  • Author
6 minutes ago, TestingUser said:

Do I need to have STRICT_PORT_FORWARD set to yes to use P2P?

you need it if you need an incoming port (which you do for torrenting) to allow you to connect to the maximum number of peers, if you aren't torrenting then feel free to set it to no. if you do need an incoming port then you will need to download the correct wiregurd configuration for a p2p enabled endpoint - see proton's documentation.

12 minutes ago, binhex said:

you need it if you need an incoming port (which you do for torrenting) to allow you to connect to the maximum number of peers, if you aren't torrenting then feel free to set it to no. if you do need an incoming port then you will need to download the correct wiregurd configuration for a p2p enabled endpoint - see proton's documentation.

Awesome thank you.
https://protonvpn.com/support/port-forwarding-manual-setup
here is the link to the docs that tell how to set it up for proton if you want to add it to your docs somewhere for others who may run into this issue.

Hi, just started using this docker, I think I have everything configured correctly; however, speeds are slow, and the incoming port check reports the port is closed. I am using PIA with WireGuard, and the logs show a port forwarding supported host, successful connection and port assignment. That port also shows in the qbittorrent settings. I have tested against all the UK, Netherlands, and Ireland endpoints and the same occurs. I installed PIA client and qbittorrent on my laptop and requested the incoming port, manually assigned this to qbittorrent, and it works - it passes the incoming port test and speeds are good. So I don't think it is PIA or any particular endpoint.

I have attached my run command and logs. Can anyone help please?

logs.txt docker run.txt

Hmm, I'm also unable to access the UI. I started with a clean template

2026-04-10 09:55:55,865 DEBG 'start-script' stderr output: 
Line unrecognized: `PublicKey='
Configuration parsing error
2026-04-10 09:55:55,867 DEBG 'start-script' stderr output:
[#] ip link delete dev wg0
2026-04-10 09:55:55,924 DEBG 'start-script' stdout output:
[warn] Failed to bring 'up' WireGuard kernel implementation
2026-04-10 09:56:25,930 DEBG 'start-script' stdout output:
[info] WireGuard 'peer' not found, attempting to cycle WireGuard interface...
2026-04-10 09:56:25,930 DEBG 'start-script' stdout output:
[info] Attempting to bring WireGuard interface 'down'...
2026-04-10 09:56:25,940 DEBG 'start-script' stderr output:
Warning: `/config/wireguard/wg0.conf' is world accessible
2026-04-10 09:56:25,943 DEBG 'start-script' stderr output:
wg-quick: `wg0' is not a WireGuard interface
2026-04-10 09:56:25,943 DEBG 'start-script' stdout output:
[warn] Failed to bring 'down' WireGuard kernel implementation
2026-04-10 09:56:25,943 DEBG 'start-script' stdout output:
[info] Configuring WireGuard...
2026-04-10 09:56:26,095 DEBG 'start-script' stdout output:
[info] Successfully downloaded PIA json to generate token for wireguard from URL 'https://www.privateinternetaccess.com/gtoken/generateToken'
2026-04-10 09:56:26,099 DEBG 'start-script' stdout output:
[info] Successfully generated PIA token for wireguard
2026-04-10 09:56:26,099 DEBG 'start-script' stdout output:
6 hours ago, bidalos said:

Hmm, I'm also unable to access the UI. I started with a clean template

2026-04-10 09:55:55,865 DEBG 'start-script' stderr output: 
Line unrecognized: `PublicKey='
Configuration parsing error
2026-04-10 09:55:55,867 DEBG 'start-script' stderr output:
[#] ip link delete dev wg0
2026-04-10 09:55:55,924 DEBG 'start-script' stdout output:
[warn] Failed to bring 'up' WireGuard kernel implementation
2026-04-10 09:56:25,930 DEBG 'start-script' stdout output:
[info] WireGuard 'peer' not found, attempting to cycle WireGuard interface...
2026-04-10 09:56:25,930 DEBG 'start-script' stdout output:
[info] Attempting to bring WireGuard interface 'down'...
2026-04-10 09:56:25,940 DEBG 'start-script' stderr output:
Warning: `/config/wireguard/wg0.conf' is world accessible
2026-04-10 09:56:25,943 DEBG 'start-script' stderr output:
wg-quick: `wg0' is not a WireGuard interface
2026-04-10 09:56:25,943 DEBG 'start-script' stdout output:
[warn] Failed to bring 'down' WireGuard kernel implementation
2026-04-10 09:56:25,943 DEBG 'start-script' stdout output:
[info] Configuring WireGuard...
2026-04-10 09:56:26,095 DEBG 'start-script' stdout output:
[info] Successfully downloaded PIA json to generate token for wireguard from URL 'https://www.privateinternetaccess.com/gtoken/generateToken'
2026-04-10 09:56:26,099 DEBG 'start-script' stdout output:
[info] Successfully generated PIA token for wireguard
2026-04-10 09:56:26,099 DEBG 'start-script' stdout output:

Ok fixed it by deleting the wg0.conf then restart

cp wg0.conf wg0.conf.bak

rm wg0.conf

Incredibly thankful how easy this was to setup!
I ran "curl https://am.i.mullvad.net/connected" in the container's console and confirmed I was connected via Mullvad VPN.
I didn't add any inbound ports in the container's config.
At this point can I be confident that there will be no leaks? Even if I forgot to add time to my VPN and it expired?

I recently had my qbittorrentvpn docker blow up on my Unraid 7.2.4 server. Turned out that my Proton VPN cert had expired. I renewed it and recopied the new cert wg0 file into the directory but then I couldn't access the qbittorrent UI. I was finally able to get it and get everything connected back to all my Arr apps after deleting ten wg0 file and then restarting the container. Since then, I had a few downloads complete but now all are stuck at "Downloading metadata". I'm having no problems with Sonarr/Prowlarr finding and send the torrents over but qbit just won't download them at all. I could really use some help here if anyone has any ideas.

1 minute ago, PakledVueAdmin said:

I recently had my qbittorrentvpn docker blow up on my Unraid 7.2.4 server. Turned out that my Proton VPN cert had expired. I renewed it and recopied the new cert wg0 file into the directory but then I couldn't access the qbittorrent UI. I was finally able to get it and get everything connected back to all my Arr apps after deleting ten wg0 file and then restarting the container. Since then, I had a few downloads complete but now all are stuck at "Downloading metadata". I'm having no problems with Sonarr/Prowlarr finding and send the torrents over but qbit just won't download them at all. I could really use some help here if anyone has any ideas.

Ok, after about 10 mins the 3 test files that were stuck, started downloading on their own and the speeds were pretty quick. The files were moved into Plex pretty quickly as well. Do I just need a new set of trackers or something? I'm on the latest build (v5.1.4) so not sure if maybe I need to roll back to an earlier repository and if so, which one?

Hello @binhex . I've been using this container for years with openVPN and PIA with no issues at all. Recently, I switched to wiregard, and I updated the container because the template was not up to date anymore. In a nutshell, I had to switch network type from bridge to br0 and assign an ip, and I now feel a bit nervous because my true ip address may appear in Qbittorent WebUi...
image.pngXXX.XXX.XXX.XXX

How is it possible, and is there a risk for a leak using br0 as a network interface ?

Edit: Forgot to mention, I switched to br0 because I could not get wiregard working. In bridge mode, the container is stuck at

[info] Trying to connect to the PIA WireGuard API on 'nl-amsterdam.privacy.network'... and webUI is never accessible.

Edited by potjoe

  • 2 weeks later...

Hi folks!

Looking for some assistance - I had a power outage recently and after everything was rebooted, qbit was pretty broken. I can't download anything from the webUI search function and I am getting the following error:

Failed to add torrent. Source: "[torrent name]". Reason: "expected value (list, dict, int or string) in bencoded string [bdecode:4]"

Fortunately I can still use .torrent files and have them download successfully, but then I noticed my up speed is extremely slow (maxes out at 30 KiB/s from what I can see). Not sure if these are related, but any guidance would be appreciated! Logs attached.

Thank you!

Edit: Wellp I feel a fool, rebuilt the container and still had the same issue but it turns out the search plugin I was using was bad. Everything seems fixed now at least.

Edited by Jaxtah

Hi

I'm having the problem where the webui won't connect unless I turn VPN off.

I don't recall changing anything, just stopped working one day. I've been through the FAQ's and posts in this thread and tried lots of things that looked relevant, but nothing seems to work.

Looking at the log it seems like part of the setup is to call an API at PIA that returns properties of the server, but this call fails for some reason and the VPN doesn't start and so the webui also won't start. I tried just dropping the address into a web browser to see if the system was down and I get back a bunch of plausible looking text.

I have removed the plugin and started afresh, but no change.

Any ideas for what to try next?

supervisord.log command execution.txt

8 hours ago, joehbad said:

I'm having the problem where the webui won't connect unless I turn VPN off

I had the same problem and managed to solve it. I rebuilt the container and had the same issue but found the fix in the new container.

I had an issue in my wg0.conf file found here appdata/binhex-qbittorrentvpn/wireguard
I used this server list to find the new endpoint for that conf file. https://serverlist.piaservers.net/vpninfo/servers/v6

NOTE: MAKE SURE TO STOP THE CONTAINER BEFORE PROCEEDING

1) Find your endpoint from the PIA server list here https://serverlist.piaservers.net/vpninfo/servers/v6 You will want to get the name after the "dns:" variable of the selected region/server.

e.g if you wanted south hampton UK you would end up with "uk-southampton.pvt.site"

2) Navigate to the appdata/binhex-qbittorrentvpn/wireguard and open wg0.conf

3) Edit Endpoint to have that server name and save. e.g Endpoint = uk-southampton.pvt.site:1337

4) Start the container and open the webui.

This worked for me I hope it works for you as well.

Any questions let me know.



Edited by baldmo
Editied as I didnt quote properly. changed to a better section to quote

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.