[Support] binhex - qBittorrentVPN


Recommended Posts

@binhex this might be a dumb question, but have you run in to issues with multiple containers for this container? I've noticed some odd behavior where it seems like multiple containers are using the same image file.  And I wonder if this is part of my webUI issue.  Here's a couple screenshots of what I'm talking about.

 

Currently I have two containers running, one for radarr another for sonarr.  I installed a third container for testing and was receiving these errors.

 

Trying to startup a third container

image.png.15c87a61957bdfc830566ebebafa9d85.png

 

Removing the third container and image file.

image.png.0ff35264602b66153388a6a665146eab.png

Link to comment
On 1/21/2022 at 10:33 AM, binhex said:

@dyno @Cpt. Chaz the solution is simple, add the vpn network range to LAN_NETWORK, for example assuming a vpn network of 192.168.10.x and a lan network of 192.168.1.x i would define LAN_NETWORK as follows:-

 

192.168.1.0/24,192.168.10.0/24

if you need more networks, just keep adding them comma separated. 

 

edit - gonna turn this into a faq.

excellent. thanks @binhex!

Link to comment

Anyone able to decipher this error,  I am trying to use qbittorrent with vpn but no luck
log file shows
https://hub.docker.com/u/binhex/

2022-01-23 11:18:04.075528 [info] Host is running unRAID
2022-01-23 11:18:04.088876 [info] System information Linux Unraid #1 SMP Wed Apr 7 08:23:18 PDT 2021 x86_64 GNU/Linux
2022-01-23 11:18:04.105725 [info] OS_ARCH defined as 'x86-64'
2022-01-23 11:18:04.120779 [info] PUID defined as '99'
2022-01-23 11:18:04.136815 [info] PGID defined as '100'
2022-01-23 11:18:04.451208 [info] UMASK defined as '000'
2022-01-23 11:18:04.465584 [info] Permissions already set for '/config'
2022-01-23 11:18:04.480955 [info] Deleting files in /tmp (non recursive)...
2022-01-23 11:18:04.499044 [info] VPN_ENABLED defined as 'yes'
2022-01-23 11:18:04.514234 [info] VPN_CLIENT defined as 'openvpn'
2022-01-23 11:18:04.528900 [info] VPN_PROV defined as 'custom'
2022-01-23 11:18:04.546205 [info] OpenVPN config file (ovpn extension) is located at /config/openvpn/au-syd.prod.surfshark_openvpn_udp.ovpn
2022-01-23 11:18:04.567833 [crit] VPN configuration file /config/openvpn/au-syd.prod.surfshark_openvpn_udp.ovpn does not contain 'remote' line, showing contents of file before exit...

content of .ovpn

client
dev tun
proto udp
remote au-syd.prod.surfshark.com 1194
resolv-retry infinite
remote-random
nobind
tun-mtu 1500
tun-mtu-extra 32
mssfix 1450
persist-key
persist-tun
ping 15
ping-restart 0
ping-timer-rem
reneg-sec 0
remote-cert-tls server
auth-user-pass
#comp-lzo
verb 3
pull
fast-io
cipher AES-256-CBC
auth SHA512

 

Screen Shot 2022-01-23 at 11.32.47 am.png

Screen Shot 2022-01-23 at 11.33.18 am.png

Link to comment
6 hours ago, Kosti said:

Anyone able to decipher this error,

I don’t know if this will help or not but I see a couple of differences between yours and mine.

My ovpn file has the remote line as line 1 in the file. Try making a backup of yours and then copy/paste the remote into the first line of the file.

My file also has the port number on the same line as the server-

remote au-syd.prod.surfshark.com 1194

 I don’t know if these changes will help but I would give them a try. Be sure to create a backup first though.

  • Like 1
Link to comment

OK, success! Although perhaps my issue was with the "file name" as the way I copied it, was through Krusader in a docker to move the file however when I looked at it with MC Midnight Commander, it had ._au-syd.prod.surfshark_openvpn_udp.ovpn

 

So after I edited the file I created a new one name au-syd_surfshark_openvpn_udp.ovpn and moved "remote" and qbittorrent is now working...Yeah!

 

However some errors in log file what I was hoping to confirm how to resolve, in particular the last line Options error..

 

2022-01-24 08:23:29,552 DEBG 'start-script' stdout output:
[info] Starting OpenVPN (non daemonised)...

2022-01-24 08:23:29,738 DEBG 'start-script' stdout output:
2022-01-24 08:23:29 DEPRECATED OPTION: --cipher set to 'AES-256-CBC' but missing in --data-ciphers (AES-256-GCM:AES-128-GCM). Future OpenVPN version will ignore --cipher for cipher negotiations. Add 'AES-256-CBC' to --data-ciphers or change --cipher 'AES-256-CBC' to --data-ciphers-fallback 'AES-256-CBC' to silence this warning.
2022-01-24 08:23:29,738 DEBG 'start-script' stdout output:
2022-01-24 08:23:29 WARNING: file 'credentials.conf' is group or others accessible

2022-01-24 08:23:29,738 DEBG 'start-script' stdout output:
2022-01-24 08:23:29 WARNING: --ping should normally be used with --ping-restart or --ping-exit

2022-01-24 08:23:29,818 DEBG 'start-script' stdout output:
2022-01-24 08:23:29 WARNING: 'link-mtu' is used inconsistently, local='link-mtu 1633', remote='link-mtu 1581'

2022-01-24 08:23:29 WARNING: 'auth' is used inconsistently, local='auth SHA512', remote='auth [null-digest]'



2022-01-24 08:23:30 Options error: Unrecognized option or missing or extra parameter(s) in [PUSH-OPTIONS]:7: block-outside-dns (2.5.5)



 

Also one more basic question, do I need to open these ports on my home ISP router (6881) previously I've not needed to do this but I assume I do however I do not need these open 8118, 8585) right

 

Cheers

Kosti

Edited by Kosti
Link to comment
1 hour ago, Kosti said:

Also one more basic question, do I need to open these ports on my home ISP router (6881) previously I've not needed to do this but I assume I do however I do not need these open 8118, 8585) right

As far as the errors, I’ll have to leave those for someone else to address.

 

The port is forwarded through the vpn so no need to open any ports in your firewall unless maybe for docker access from outside your network. I have a vpn server running on my firewall for remote access so never need to open any ports and would recommend against it.

Link to comment

Hi! Every torrent i add to qbittorrent gets status "errored" or "stalled" as soon as they get added. What could be causing this, maybe some permissions issue? The ip looks right.

 

Edit: I am also having troubles with the categories. Whatever path i put in doesn't seem to get saved when i add or edit the categories.

Edited by Reva
Link to comment
14 minutes ago, Reva said:

Hi! Every torrent i add to qbittorrent gets status "errored" or "stalled" as soon as they get added. What could be causing this, maybe some permissions issue? The ip looks right.

 

Edit: I am also having troubles with the categories. Whatever path i put in doesn't seem to get saved when i add or edit the categories.

Probably path mapping issues. Make sure the paths in the app are NOT the Unraid paths, but the container paths. If you have /data mapped to /mnt/user/downloads, you must use /data

Link to comment

Helo guys, I've been using qBittorrentvpn docker for some time but I wanted to set up a PIA vpn up on it, but it has been a head scratcher for me

 

1231663922_qbittorrentSetup.thumb.png.21d4dead05b022a8aca994d47fe775dc.png

This is the setup I have right now (the username and password for my PIA account have been taken out) and I have gotten it to work by just setting the VPN_ENABLED as yes... However I have then been unable to connect to the Web UI.
I was reading https://github.com/binhex/documentation/blob/master/docker/faq/vpn.md Q24 and trying to follow that but I just don't understand what I'm supposed to be doing? I can't find the VPN_INPUT_PORTS variable in the normal setup and even if I did I am not quite sure how I supposed to set this up.

Link to comment
2 hours ago, wgstarks said:

You may need to add it. You would just click the add link and add a new variable VPN_INPUT_PORTS. Set it up as described. Be sure you have advance view enabled when checking for the port though.

Do you know how much I need to do to setup everything for qbittorrent to use a PIA vpn while also being able to open the web UI?

Link to comment
1 minute ago, ABHplex said:

Do you know how much I need to do to setup everything for qbittorrent to use a PIA vpn while also being able to open the web UI?

I would first get qbittorrentvpn docker installed and running and then after your sure everything is working properly with that docker you can edit it to add other dockers to the vpn.

Link to comment
55 minutes ago, wgstarks said:

Is qbittorrent already installed and working?

Yes, I've had it running for about half a year now and now wanted to get the vpn running.
I have added VPN_INPUT_PORTS and VPN_OUTPUT_PORTS, I have the config file inside the container and I even have the VPN working but I can't get the Web UI to work.

Link to comment
Just now, ABHplex said:

Yes, I've had it running for about half a year now and now wanted to get the vpn running.
I have added VPN_INPUT_PORTS and VPN_OUTPUT_PORTS, I have the config file inside the container and I even have the VPN working but I can't get the Web UI to work.

The document you linked earlier has nothing to do with getting the vpn running with this docker. It’s about using this docker’s vpn connection to route other dockers through. 
 

If that’s what your trying to accomplish then @SpaceInvaderOne has a really good video explaining how to do it.

 

If that’s not what your trying to do please describe your issue.

Link to comment
13 hours ago, wgstarks said:

Sorry, forgot to add the YouTube link.🤪

https://youtu.be/znSu_FuKFW0

Yeah I think that is what has been fucking me over, I am trying to use the inbuilt VPN feature of Qbittorrentvpn. I though I need to do something from that link but I think I was in the wrong place.

I'm not using a VPN container just trying to use the inbuilt PIA feature. What settings do I need to get the Web UI to work?

Link to comment
5 minutes ago, ABHplex said:

Yeah I think that is what has been fucking me over, I am trying to use the inbuilt VPN feature of Qbittorrentvpn. I though I need to do something from that link but I think I was in the wrong place.

I'm not using a VPN container just trying to use the inbuilt PIA feature. What settings do I need to get the Web UI to work?

 

2 minutes ago, JonathanM said:

Since this support thread is specifically for the VPN container version, you may get better help posting in the thread for the container you are actually using.

 

Click on the container icon, select the support option, and go from there.

Or, if you are trying to use this vpn docker attach your docker run command and supervisord log to your next post. BE SURE TO REDACT YOUR USER/PASSWORD FROM BOTH.

Link to comment

I can't connect to other hosts in my lan from the binhex-qbittorrentvpn container.

 

I've been using this for a while (I am currently using PIA/Wireguard for my VPN) and have recently set up jackett as well using the binhex-jackett image.  Jackett itself seems to work just fine.  I think tried to add a Jackett RSS feed to qbittorrent.  It can't connect, so I set up another Jackett host on a raspberry pi on my network.  I can't connect to it either from the container.

 

I can ping it from the container.  I can not curl it from the container using hostname, FQDN, or ip address.

I can ping it from the unraid host and I can also curl it.

 

I'm usually self sufficient at these sorts of things, but at this point I feel it's better to ask the thread as I assume this is an already solved problem (or unsolved for various reasons!).

 

Is there a short answer?  Am I best off just setting up jackett on linode or something - not that I'm terribly interested in doing so?

 

Thanks!

Link to comment

Hi everyone,

 

I have a hard time routing my JDownloader container through the qBittorrentVPN container.

I followed the turorial from Spaceinvader mentioned above but always get an orphaned JDownloader image.

 

This is what the container config looks like at the moment:

 

image.thumb.png.a3a17b9671341fdc6af268ffb83cbc35.png

 

image.png.91481f6c82b0646cddd472cf32aa7919.png

 

 

JD2: Right now I'm trying to use a custom network typ like shown below instead of the extra parameter (net=container:qBittorrentVPN) that is used in the tutorial, because that isn't working aswell for me.

I also tried deleting the port 7807 from the JD config and added an additional 7807 port to the qBittorrent config in addition to te VPN_INPUT and _OUTPUT variables.

 

image.thumb.png.92cd5f9509eadfe547507e8ab2912b3c.png

 

image.thumb.png.e3cafa11bf726db087fffcccf52b0734.png

 

Whatever I do, I either get an orphaned JD2 image or the JD2 webUI is not working.

Someone got this working?

 

Link to comment

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.