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

1 hour ago, tonnyhii said:

i can't even get to WEBUI, haven't get to key in password yet

Post your docker run command.

  • Replies 5.2k
  • Views 1.1m
  • 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

20 minutes ago, wgstarks said:

Post your docker run command.

docker run
  -d
  --name='binhex-qbittorrentvpn'
  --net='bridge'
  --pids-limit 2048
  --privileged=true
  -e TZ="Australia/Perth"
  -e HOST_OS="Unraid"
  -e HOST_HOSTNAME="TONNYHII"
  -e HOST_CONTAINERNAME="binhex-qbittorrentvpn"
  -e 'VPN_ENABLED'='yes'
  -e 'VPN_USER'='REMOVED'
  -e 'VPN_PASS'='REMOVED'
  -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'='192.168.64.0/19'
  -e 'WEBUI_PORT'='4445'
  -e 'VPN_INPUT_PORTS'=''
  -e 'VPN_OUTPUT_PORTS'=''
  -e 'DEBUG'='true'
  -e 'VPN_OPTIONS'=''
  -e 'ENABLE_STARTUP_SCRIPTS'='no'
  -e 'USERSPACE_WIREGUARD'='no'
  -e 'NAME_SERVERS'='84.200.69.80,37.235.1.174,1.1.1.1,37.235.1.177,84.200.70.40,1.0.0.1'
  -e 'PUID'='99'
  -e 'PGID'='100'
  -e 'UMASK'='000'
  -l net.unraid.docker.managed=dockerman
  -l net.unraid.docker.webui='http://[IP]:[PORT:4445]'
  -l net.unraid.docker.icon='https://raw.githubusercontent.com/binhex/docker-templates/master/binhex/images/qbittorrent-icon.png'
  -p '4445: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/appdata/binhex-qbittorrentvpn/':'/data':'rw'
  -v 'binhex-shared':'/shared':'rw'
  --sysctl="net.ipv4.conf.all.src_valid_mark=1" 'binhex/arch-qbittorrentvpn'

ef5144504cf7af29cc289813b8bf2248120d7e6005b940f36c4163186f89dcb8

The command finished successfully!

Looks like you have port 4445 mapped to port 8080. You need the map it to 4445 on the host. Here’s a screenshot of my port mapping.

 

IMG_0089.thumb.png.c331f40ecbc81b294d8898f942c3912c.png
 

Just replace 8088 with your preferred port.

 

 

5 minutes ago, wgstarks said:

Looks like you have port 4445 mapped to port 8080. You need the map it to 4445 on the host. Here’s a screenshot of my port mapping.

 

IMG_0089.thumb.png.c331f40ecbc81b294d8898f942c3912c.png
 

Just replace 8088 with your preferred port.

 

 

i  cant find Host Port 3 in my edit. Do i have to add it?

image.thumb.png.bbd56e5c98c6cdf8717f5aa669ca7e77.png

added Host Post 3 to 4445, still not access to WEBUI

 

docker run
  -d
  --name='binhex-qbittorrentvpn'
  --net='bridge'
  --pids-limit 2048
  --privileged=true
  -e TZ="Australia/Perth"
  -e HOST_OS="Unraid"
  -e HOST_HOSTNAME="TONNYHII"
  -e HOST_CONTAINERNAME="binhex-qbittorrentvpn"
  -e 'VPN_ENABLED'='yes'
  -e 'VPN_USER'=''
  -e 'VPN_PASS'=''
  -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'='192.168.64.0/19'
  -e 'WEBUI_PORT'='4445'
  -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'='84.200.69.80,37.235.1.174,1.1.1.1,37.235.1.177,84.200.70.40,1.0.0.1'
  -e 'PUID'='99'
  -e 'PGID'='100'
  -e 'UMASK'='000'
  -l net.unraid.docker.managed=dockerman
  -l net.unraid.docker.webui='http://[IP]:[PORT:4445]'
  -l net.unraid.docker.icon='https://raw.githubusercontent.com/binhex/docker-templates/master/binhex/images/qbittorrent-icon.png'
  -p '4445: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/appdata/binhex-qbittorrentvpn/':'/data':'rw'
  -v 'binhex-shared':'/shared':'rw'
  --sysctl="net.ipv4.conf.all.src_valid_mark=1" 'binhex/arch-qbittorrentvpn'

7b5465b63572fdd838cd8df76a32f91a4fb87bb8070289840b08151bdfc77fff

The command finished successfully!

6 minutes ago, tonnyhii said:

cant find Host Port 3 in my edit. Do i have to add it?

It’s the port you added in this part of Q4 from the FAQ.

 

Quote

Click on blue link Add another Path, Port, Variable, Label or Device and select config type of port

Set the Container Port: and Host Port: to the same value as the Container Variable: WEBUI_PORT then click on Add

Click on Apply at the bottom and wait for the container to be recreated.


The name assigned by the container may be different.

3 minutes ago, tonnyhii said:

-p '4445:8080/tcp'

This is your problem.

It should be 4445:4445.

Host Port 3 added,

both container port and host port set to 4445

Docker failed to run

image.png

docker run
  -d
  --name='binhex-qbittorrentvpn'
  --net='bridge'
  --pids-limit 2048
  --privileged=true
  -e TZ="Australia/Perth"
  -e HOST_OS="Unraid"
  -e HOST_HOSTNAME="TONNYHII"
  -e HOST_CONTAINERNAME="binhex-qbittorrentvpn"
  -e 'VPN_ENABLED'='yes'
  -e 'VPN_USER'=''
  -e 'VPN_PASS'=''
  -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'='192.168.64.0/19'
  -e 'WEBUI_PORT'='4445'
  -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'='84.200.69.80,37.235.1.174,1.1.1.1,37.235.1.177,84.200.70.40,1.0.0.1'
  -e 'PUID'='99'
  -e 'PGID'='100'
  -e 'UMASK'='000'
  -l net.unraid.docker.managed=dockerman
  -l net.unraid.docker.webui='http://[IP]:[PORT:4445]'
  -l net.unraid.docker.icon='https://raw.githubusercontent.com/binhex/docker-templates/master/binhex/images/qbittorrent-icon.png'
  -p '4445:8080/tcp'
  -p '8118:8118/tcp'
  -p '9118:9118/tcp'
  -p '4445:4445/tcp'
  -p '58946:58946/tcp'
  -p '58946:58946/udp'
  -v '/mnt/user/appdata/binhex-qbittorrentvpn':'/config':'rw'
  -v '/mnt/user/appdata/binhex-qbittorrentvpn/':'/data':'rw'
  -v 'binhex-shared':'/shared':'rw'
  --sysctl="net.ipv4.conf.all.src_valid_mark=1" 'binhex/arch-qbittorrentvpn'

896538015c77c090821ca08e34900be48a1c30bc4fa978554e2ed484c069a976
docker: Error response from daemon: driver failed programming external connectivity on endpoint binhex-qbittorrentvpn (21c37545d78e489eea1f9fdb04d4fca9eaf977179eec1f9c4803727da518b1f8): Bind for 0.0.0.0:4445 failed: port is already allocated.

The command failed.

Delete the path where you mapped port 4445 to port 8080.

i only changed port 8080 to 4445 in settings below, which one is wrong?

 

image.thumb.png.16d2c8222f53765317b0cf1403dbccc4.png

 

image.thumb.png.7aa9380c49f6b64c49aebbf2b9a73063.png

Click the “Edit” button for Port: Webui interface and post a screenshot of that screen.

uninstalled the docker and reinstalled it

default WEBUI port to 8080. still cant get the webUI

docker run
  -d
  --name='binhex-qbittorrentvpn'
  --net='bridge'
  --pids-limit 2048
  --privileged=true
  -e TZ="Australia/Perth"
  -e HOST_OS="Unraid"
  -e HOST_HOSTNAME="TONNYHII"
  -e HOST_CONTAINERNAME="binhex-qbittorrentvpn"
  -e 'VPN_ENABLED'='yes'
  -e 'VPN_USER'='pmp'
  -e 'VPN_PASS'=''
  -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'='192.168.64.0/19'
  -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'='84.200.69.80,37.235.1.174,1.1.1.1,37.235.1.177,84.200.70.40,1.0.0.1'
  -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/docker-templates/master/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/appdata/binhex-qbittorrentvpn/qBittorrent/':'/data':'rw'
  -v 'binhex-shared':'/shared':'rw'
  --sysctl="net.ipv4.conf.all.src_valid_mark=1" 'binhex/arch-qbittorrentvpn'

b1242bfb440ccae9b238a3ea717618162ae8b0c9f67752d7f47b4ce514bfd1c5

The command finished successfully!

 

Edited by tonnyhii

You stated earlier that you are connecting remotely to the webui using WireGuard. Is your assigned IP in the 192.168.64.0/19 network? Any IP that isn’t a part of this network won’t be able to connect.

3 minutes ago, wgstarks said:

You stated earlier that you are connecting remotely to the webui using WireGuard. Is your assigned IP in the 192.168.64.0/19 network? Any IP that isn’t a part of this network won’t be able to connect.

i think i will have to test this out when i gets to connect to unraid locally

thanks for your help

Anyone got problems with VPN not working the best? The speed for me is not constant, it goes up and down all the time. I have tired PIA and ProtonVPN, same problem on both. Any idea on what could the problem be?
I used Proxy SOCKS5 with NordVPN and download was rock solid. 

 

ProtonVPN:

image.png.6be254bbaf9e92a3805583c6117942cc.png

 

PIA (longer time frame then Proton, still same thing):

PIASpeed.png.9aa03cf551384eececf5c748ef9dc476.png

I have just setup the binhex-qbittorrentvpn docker and am having an issue with categories... the issue being there are no default ones, and i can't seem to add any. I've been going through a number of support issues, but haven't come across a fix (unlike the adminadmin password issue - thanks for that!).

 

The categories.json is empty, and I can't think of anything else to try. I appreciate any suggstions, or please let me know what else I can provide to give insight.

 

I also realize I am missing tags and trackers... I assume that's going to be the next issue after categories so hopefully the fix addressses them all.

 

Screenshot 2024-09-02 202211.png

Edited by bkastner

5 minutes ago, bkastner said:

The categories.json is empty, and I can't think of anything else to try.

Right click any of the files being downloaded or seeded and select Category>Add New.

Huh... that was easy... and it populated tags and trackers too.

 

Thanks for the quick response.

1 minute ago, bkastner said:

Huh... that was easy... and it populated tags and trackers too.

 

Thanks for the quick response.

It’s a setting that’s well and truly hidden.😁

Edited by wgstarks

Yes, I never would have guessed that. Not intuitive at all. :)

been running this container >1 year pretty much no problem. as of last week's appdata backup i noticed on restart it wasn't connecting anymore. I see the following in the debug logs.

 

2024-09-03 10:47:21.224651 [debug] Having issues resolving name 'ca-vancouver.privacy.network', sleeping before retry.

 

I've tried several endpoints and it just changes the location it says it can't reach. I can hit these end points with the app on my windows 10 vm. 

 

i'm using wireguard with port forwarding required. - same type of problem with openvpn too. 

account is still valid, again i've been able to connect just fine with the application. 

 

any suggestions on how to resolve? - i've already removed / reinstalled the container. i setup another instance from scratch just to get same errors. i've changed my name servers from my private ones to public ones. none of these changed things. 

 

anyone else having similar issue or have these end points working? 

1 hour ago, Azreal said:

anyone else having similar issue or have these end points working? 

Several people have reported issues with DNS. You might try just using something like 1.1.1.1 for the DNS server and see if that resolves your issue. If it does you can add the defaults back one at a time until you see which is creating the problem.

 

If changing the DNS settings doesn’t help add your supervisord log and dicker run command that your next post. Be sure to redact users/passwords.

3 hours ago, wgstarks said:

Several people have reported issues with DNS. You might try just using something like 1.1.1.1 for the DNS server and see if that resolves your issue. If it does you can add the defaults back one at a time until you see which is creating the problem.

 

If changing the DNS settings doesn’t help add your supervisord log and dicker run command that your next post. Be sure to redact users/passwords.

 

logs below. currently it shows me trying 8.8.8.8,1.1.1.1 but my normal setup is my own isntance of unbound running internally. same errors across the board for all dns i've tried. this has been pretty damn stable for me >1 year. i even tried isntalling another instance side by side under another IP and redoing the config from scratch, same issues. 

 

docker run
  -d
  --name='binhex-qbittorrentvpn'
  --net='br0'
  --ip='192.165.10.8'
  --pids-limit 2048
  --privileged=true
  -e TZ="xxxxx"
  -e HOST_OS="Unraid"
  -e HOST_HOSTNAME="Rlyeh"
  -e HOST_CONTAINERNAME="binhex-qbittorrentvpn"
  -e 'TCP_PORT_6881'='6881'
  -e 'UDP_PORT_6881'='6881'
  -e 'TCP_PORT_8080'='8080'
  -e 'TCP_PORT_8118'='8118'
  -e 'VPN_ENABLED'='yes'
  -e 'VPN_USER'='xxxxxx'
  -e 'VPN_PASS'='xxxxxx'
  -e 'VPN_PROV'='pia'
  -e 'VPN_CLIENT'='wireguard'
  -e 'VPN_OPTIONS'=''
  -e 'STRICT_PORT_FORWARD'='yes'
  -e 'ENABLE_PRIVOXY'='no'
  -e 'WEBUI_PORT'='8080'
  -e 'LAN_NETWORK'='192.165.10.0/24'
  -e 'NAME_SERVERS'='8.8.8.8,1.1.1.1'
  -e 'VPN_INPUT_PORTS'=''
  -e 'VPN_OUTPUT_PORTS'=''
  -e 'DEBUG'='true'
  -e 'UMASK'='000'
  -e 'PUID'='99'
  -e 'PGID'='100'
  -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/docker-templates/master/binhex/images/qbittorrent-icon.png'
  -v '/mnt/user/media/_torrents/':'/data':'rw'
  -v '/mnt/user/appdata/binhex-qbittorrentvpn':'/config':'rw'
  --sysctl="net.ipv4.conf.all.src_valid_mark=1" 'binhex/arch-qbittorrentvpn'
8b828fa260c27e3c01189c8d3ad72f98e49c7e07ff488205255d1b04ce2706c8

The command finished successfully!

 

 

2024-09-03 12:16:46.030435 [info] Host is running unRAID
2024-09-03 12:16:46.058144 [info] System information: Linux 8b828fa260c2 6.1.106-Unraid #1 SMP PREEMPT_DYNAMIC Wed Aug 21 23:36:07 PDT 2024 x86_64 GNU/Linux
2024-09-03 12:16:46.083214 [info] Image tags: INT_RELEASE_TAG=2024073001,IMAGE_RELEASE_TAG=4.6.6-1-01
2024-09-03 12:16:46.124578 [info] PUID defined as '99'
2024-09-03 12:16:46.154655 [info] PGID defined as '100'
2024-09-03 12:16:46.201928 [info] UMASK defined as '000'
2024-09-03 12:16:46.230146 [info] Permissions already set for '/config'
2024-09-03 12:16:46.255551 [info] Deleting files in /tmp (non recursive)...
2024-09-03 12:16:46.283534 [info] VPN_ENABLED defined as 'yes'
2024-09-03 12:16:46.317664 [info] VPN_CLIENT defined as 'wireguard'
2024-09-03 12:16:46.343950 [info] VPN_PROV defined as 'pia'
2024-09-03 12:16:46.376452 [info] WireGuard config file (conf extension) is located at /config/wireguard/wg0.conf
2024-09-03 12:16:46.416228 [info] VPN_REMOTE_SERVER defined as 'ca-vancouver.privacy.network'
2024-09-03 12:16:46.450141 [info] VPN_REMOTE_PORT defined as '1337'
2024-09-03 12:16:46.472329 [info] VPN_DEVICE_TYPE defined as 'wg0'
2024-09-03 12:16:46.497840 [info] VPN_REMOTE_PROTOCOL defined as 'udp'
2024-09-03 12:16:46.528381 [info] USERSPACE_WIREGUARD not defined (via -e USERSPACE_WIREGUARD), defaulting to 'no'
2024-09-03 12:16:46.558654 [info] NAME_SERVERS defined as '8.8.8.8,1.1.1.1'
2024-09-03 12:16:46.604374 [debug] iptables default policies available, setting policy to drop...
2024-09-03 12:16:46.658186 [debug] ip6tables default policies available, setting policy to drop...
2024-09-03 12:16:50.719670 [debug] Having issues resolving name 'ca-vancouver.privacy.network', sleeping before retry...
2024-09-03 12:16:59.767254 [debug] Having issues resolving name 'ca-vancouver.privacy.network', sleeping before retry...

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.