Closed jasonleexp closed 1 year ago
You need to assign a incoming port from your vpn provider and then manually set qbittorrent (using werb ui) to use the port.
So I can confirm the port 44750
is open in AirVPN:
And I've made sure to set that same port 44750
in the web UI:
And I made sure to add port_range = 44750-44750
and port_random = no
to my qbittorrent.conf file
Am I missing something?
[AutoRun]
enabled=false
program=
[BitTorrent]
Session\Port=5539
Session\QueueingSystemEnabled=false
[Meta]
MigrationVersion=4
[Preferences]
Connection\PortRangeMin=6881
Connection\UPnP=false
General\Locale=en
General\UseRandomPort=false
WebUI\Address=*
WebUI\CSRFProtection=false
WebUI\LocalHostAuth=false
WebUI\Port=49450
WebUI\ServerDomains=*
WebUI\UseUPnP=false
port_range = 44750-44750
port_random = no
Am I missing something? not that i can see, nope, that looks to be set correctly, and qbittorrent is still showing the port closed i assume?.
Yes, I'm still getting Application does not require port forwarding or VPN provider is != pia, skipping incoming port assignment
in the logs when I start the container.
Unless there is some other way to check?
Yes, I'm still getting
Application does not require port forwarding or VPN provider is != pia, skipping incoming port assignment
in the logs when I start the container.Unless there is some other way to check?
that is expected as your vpn provider is not PIA, if you were to use PIA then port forwarding is done automatically thus the message.
I think I solved the issue!
First, @binhex thanks for clarifying that the log message is expected if you're using any VPN that is not specifically PIA. The log message was a bit confusing to me, leading me to believe that port forwarding was not enabled when it actually was. Good to know.
That said, when I changed the incoming port number in the web UI to the correct port number provided by AirVPN (in my case, would be 44750
), I opened the qbittorrent.conf
file again and noticed there was a new [BitTorrent]
section created with the entry Session\Port=44750
:
[BitTorrent]
Session\AnonymousModeEnabled=true
Session\DefaultSavePath=/data/downloads
Session\Encryption=0
Session\ExcludedFileNames=
Session\GlobalMaxRatio=1
Session\MaxRatioAction=3
Session\Port=44750
Session\QueueingSystemEnabled=false
Session\TempPath=/data/downloads/temp
Session\TempPathEnabled=true
So I wonder if Session\Port=
is actually the configuration we should be providing in qbittorrent.conf
, instead of port_range =
and port_random =
? Or should the users just go into the web UI directly and change the incoming port and skip editing the .conf all together?
Let me know if my understanding is correct.
Or should the users just go into the web UI directly and change the incoming port and skip editing the .conf all together?
always use the web ui unless you got a good reason to hack the config file, thats my opinion.
and before you ask, this is the port you need to change in the web ui:-
always use the web ui unless you got a good reason to hack the config file, thats my opinion.
I agree with this.
Just one suggestion, if I may? You might want to update your documentation on the README, since it does still reference editing the .conf file, when, as we just agreed, it's just easier to use the UI instead. Just to avoid any potential confusion for future users!
Last question: if my internet connection drops, do I have to restart the container to reconnect to the VPN? Based on my testing, it doesn't seem like I have to, and the VPN will auto-connect again. But wanted to confirm to be sure.
No, it will auto reconnect.
Closing this issue / marking as solved.
Tl;dr: Just set the incoming port in the web UI, as shown in this post and port forwarding should be enabled.
Confirm by checking that your qBittorrent connection goes from closed i.e., fireball emoji:
to open i.e., green Earth emoji:
Edit: See solution at the bottom
Hi, I'm having trouble port forwarding with AirVPN. I tried following the README exactly as shown with the AirVPN example, but I keep getting the log:
Application does not require port forwarding or VPN provider is != pia, skipping incoming port assignment
Any thoughts?
This is my docker run:
This is my
/config/qbittorrent/config/qbittorrent.conf
:Logs from
config/supervisord.log
: