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

Hi, I've tried the instructions in relation to accessing the WebUI outside of the local network and it doesn't appear to work still. Any ideas? I'm on 6.10.0-RC3.

  • Replies 5.1k
  • 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

Hi, where is the path for the downloads in the template?

 

Thanks,

24 minutes ago, BKG said:

Hi, where is the path for the downloads in the template?

 

Thanks,

/data

 

1730114223_ScreenShot2022-03-14at6_12_10PM.thumb.png.55e36bdbc0a871fa8a0adb47045f459c.png

10 hours ago, cobhc said:

Hi, I've tried the instructions in relation to accessing the WebUI outside of the local network and it doesn't appear to work still. Any ideas? I'm on 6.10.0-RC3.

So it was working before you updated to RC3 but now has stopped?

41 minutes ago, wgstarks said:

So it was working before you updated to RC3 but now has stopped?

No, to be honest I didn't try this before updating to RC3.

1 hour ago, cobhc said:

No, to be honest I didn't try this before updating to RC3.

So it may not have anything to do with 6.10. Why don't you post a brief outline of what you have tried along with your docker run command and supervisord log. Be sure to redact user/password from both.

9 hours ago, wgstarks said:

So it may not have anything to do with 6.10. Why don't you post a brief outline of what you have tried along with your docker run command and supervisord log. Be sure to redact user/password from both.

 

To be clear, I wasn't suggesting it was to do with 6.10, just specifying which version of Unraid I'm running.

 

I tried the solution shown here on Q.2

https://github.com/binhex/documentation/blob/master/docker/faq/vpn.md

 

My supervisord.log is attached, and below is my docker run command.

 

root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='binhex-qbittorrentvpn' --net='bridge' --privileged=true -e TZ="Europe/London" -e HOST_OS="Unraid" -e HOST_HOSTNAME="DarthUnraider" -e HOST_CONTAINERNAME="binhex-qbittorrentvpn" -e 'VPN_ENABLED'='yes' -e 'VPN_USER'='redacted' -e 'VPN_PASS'='redacted' -e 'VPN_PROV'='pia' -e 'VPN_CLIENT'='wireguard' -e 'VPN_OPTIONS'='' -e 'STRICT_PORT_FORWARD'='yes' -e 'ENABLE_PRIVOXY'='yes' -e 'WEBUI_PORT'='8080' -e 'LAN_NETWORK'='192.168.2.0/24' -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 'VPN_INPUT_PORTS'='' -e 'VPN_OUTPUT_PORTS'='' -e 'DEBUG'='false' -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' -p '6881:6881/tcp' -p '6881:6881/udp' -p '8080:8080/tcp' -p '8118:8118/tcp' -v '/mnt/user/Data/Downloads/Torrents/':'/data/Downloads/Torrents/':'rw' -v '/mnt/user/appdata/binhex-qbittorrentvpn':'/config':'rw' --sysctl="net.ipv4.conf.all.src_valid_mark=1" 'binhex/arch-qbittorrentvpn'
4550ced7ab48e96cb26f6a9bc6b7704191fbcfdab915ac54b1e02d4c7571e47a

The command finished successfully!

 

supervisord.log

2 hours ago, cobhc said:

 

To be clear, I wasn't suggesting it was to do with 6.10, just specifying which version of Unraid I'm running.

 

I tried the solution shown here on Q.2

https://github.com/binhex/documentation/blob/master/docker/faq/vpn.md

 

My supervisord.log is attached, and below is my docker run command.

 

root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='binhex-qbittorrentvpn' --net='bridge' --privileged=true -e TZ="Europe/London" -e HOST_OS="Unraid" -e HOST_HOSTNAME="DarthUnraider" -e HOST_CONTAINERNAME="binhex-qbittorrentvpn" -e 'VPN_ENABLED'='yes' -e 'VPN_USER'='redacted' -e 'VPN_PASS'='redacted' -e 'VPN_PROV'='pia' -e 'VPN_CLIENT'='wireguard' -e 'VPN_OPTIONS'='' -e 'STRICT_PORT_FORWARD'='yes' -e 'ENABLE_PRIVOXY'='yes' -e 'WEBUI_PORT'='8080' -e 'LAN_NETWORK'='192.168.2.0/24' -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 'VPN_INPUT_PORTS'='' -e 'VPN_OUTPUT_PORTS'='' -e 'DEBUG'='false' -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' -p '6881:6881/tcp' -p '6881:6881/udp' -p '8080:8080/tcp' -p '8118:8118/tcp' -v '/mnt/user/Data/Downloads/Torrents/':'/data/Downloads/Torrents/':'rw' -v '/mnt/user/appdata/binhex-qbittorrentvpn':'/config':'rw' --sysctl="net.ipv4.conf.all.src_valid_mark=1" 'binhex/arch-qbittorrentvpn'
4550ced7ab48e96cb26f6a9bc6b7704191fbcfdab915ac54b1e02d4c7571e47a

The command finished successfully!

 

supervisord.log 13.99 kB · 1 download

Looks like you haven’t added all your lan networks. IIRC you need to add the network you are connecting from separated by a comma.

3 hours ago, wgstarks said:

Looks like you haven’t added all your lan networks. IIRC you need to add the network you are connecting from separated by a comma.

Great, that works now! Thank you!

20 hours ago, wgstarks said:

/data

 

1730114223_ScreenShot2022-03-14at6_12_10PM.thumb.png.55e36bdbc0a871fa8a0adb47045f459c.png

Thanks wgstarks. If want to modify the location can I provide any path? for example: /mnt/user/Downloads/. Or do I have to create "data" folder in the new path? example: /mnt/user/Downloads/data

 

Thanks again.

It’s /data inside the container. The container path is all the app can see. The host path is the actual location on the server where you want the files downloaded to. You set it for whatever you want.

 

Example:

Host path=/mnt/user/movies

Container path=/data

If I set the download location to /data on the app all files will be downloaded to /mnt/user/movies.

Got it! Now I am obviously having problems starting the container after changing the ports as suggested in the beginning of this thread. Of course the reason for that is my lack of understanding. Can you guide me in the right direction please?

 

I have done the following:

  • changed port 8080 -> 8088
  • changed port for WEBUI for 8088
  • created an additional entry path "PORT TYPE" with port 8088

I now can not start the docker. Is this something I have to change in CLI?

 

Thanks,

qbvpn-1.JPG

qbvpn-2.JPG

qbvpn-3.JPG

qbvpn-4.JPG

21 minutes ago, BKG said:

now can not start the docker. Is this something I have to change in CLI?

Change the network type to host.

Still no go. Before I changed network to HOST it was just not starting and now after I changed it it throws an error 

i am definitely messing something up here. I changed the settings back to original and still couldn't start the docker. I reinstalled the docker and cleaned up the directory and reinstalled. I can now start the docker with network set to - br1 but no WEBUI

11 minutes ago, BKG said:

i am definitely messing something up here. I changed the settings back to original and still couldn't start the docker. I reinstalled the docker and cleaned up the directory and reinstalled. I can now start the docker with network set to - br1 but no WEBUI

I think it's the webui variable. Should look like this-

 

1008217822_ScreenShot2022-03-15at5_00_57PM.png.42afa4dda11df6d9b6bf975e5e3ab301.png

 

Config type=variable

Name is up to you.

Key=WEBUI_PORT

Value=8088 (if that's what you want to use)

Default Value you can leave unchanged.

Description is up to you.

I think I followed to the "T" but still when I start the docker it shows port 8080. I think i don't quite get the directions from binhex on the page #1 where he is saying that you have to add the new port and delete the existing one.

no matter what I do, it doesn't change the default port 8080

image.png.b3d24b728cfb70730ae27c092fd653dd.png

4 minutes ago, BKG said:

I think I followed to the "T" but still when I start the docker it shows port 8080. I think i don't quite get the directions from binhex on the page #1 where he is saying that you have to add the new port and delete the existing one.

I can't see the "Type" for the WEB_UI VARIABLE in your screenshot so check and be sure its set to "variable". Also, network type should be "bridge".

2 minutes ago, BKG said:

no matter what I do, it doesn't change the default port 8080

image.png.b3d24b728cfb70730ae27c092fd653dd.png

Post your docker run command.

it does change the port when I change network to bridge, but still no webui

image.png.e38c2d7f997d44106a2007c136914639.png

here it is with the network set back to br1. I have two NICs on this server eth0 is bridged to br0 and eth1 is bridged to br1. bro is for the system control and VM and br1 is for the dockers. I have other dockers and VM working fine. 

 

root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker create --name='binhex-qbittorrentvpn' --net='br1' --privileged=true -e TZ="America/New_York" -e HOST_OS="Unraid" -e 'TCP_PORT_6881'='6881' -e 'UDP_PORT_6881'='6881' -e 'TCP_PORT_8088'='8088' -e 'TCP_PORT_8118'='8118' -e 'VPN_ENABLED'='yes' -e 'VPN_USER'='vpn username' -e 'VPN_PASS'='vpn password' -e 'VPN_PROV'='pia' -e 'VPN_CLIENT'='openvpn' -e 'VPN_OPTIONS'='' -e 'STRICT_PORT_FORWARD'='yes' -e 'ENABLE_PRIVOXY'='no' -e 'WEBUI_PORT'='8088' -e 'LAN_NETWORK'='192.168.0.0/24' -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 'VPN_INPUT_PORTS'='' -e 'VPN_OUTPUT_PORTS'='' -e 'DEBUG'='false' -e 'UMASK'='000' -e 'PUID'='99' -e 'PGID'='100' -v '/mnt/user/appdata/data':'/data':'rw' -v '/mnt/user/appdata/binhex-qbittorrentvpn':'/config':'rw' --sysctl="net.ipv4.conf.all.src_valid_mark=1" 'binhex/arch-qbittorrentvpn'

a0cbe5f8248e40a706e990a03ba5eaa8109d67e85728b242f09e74f8dd3e1fc1

The command finished successfully!

2 minutes ago, BKG said:

/mnt/user/appdata/data':'/data':'rw

I'm not sure you want your downloads saved to /mnt/user/appdata/. It's up to you but that location would be on the cache drive by default. Usually I think most people probably use a share on the array. I use /mnt/user/Media/ for mine.

 

That's not why you can't connect to the UI though.

 

Attach supervisord log to your next post. You'll need to redact user/passwords from the log first.

3 minutes ago, wgstarks said:

Attach supervisord log to your next post

appdata/binhex-qbittorrentvpn/supervisord.log

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.