Git Product home page Git Product logo

docker-qbittorrentvpn's People

Contributors

badintral avatar brogers5 avatar dyonr avatar joe-p avatar mari-arondeus avatar mvicomoya avatar rbranson avatar reyemxela avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

docker-qbittorrentvpn's Issues

Stopped working with VPN

Not sure if this is another issue with an update or what, but I came home from work just a bit ago and nzbgetvpn and qbittorrentvpn were both non-functional. I tried troubleshooting, but the only thing I could determine was that they work if I turn off the VPN requirement (i.e. VPN_ENABLED=no), otherwise, all I get are "connection reset" errors. If anyone else is encountering this or knows how to debug it or fix it, would be grateful for a walk-through because I am very new to docker and containers. Thanks much!!

Edit: Feel free to remove this. I don't know what happened, but I just went into my .zshrc file and turned the VPN setting back on and everything is working now. I may never understand how computers work.

Unable to reach WebUI from LAN

I've set up your image in a docker-compose file:

  qbittorrent:
    container_name: qbittorrent
    privileged: true
    volumes:
        - './qbittorrent/config/:/config'
        - '/mnt/lvol1/media/a:/a'
        -  '/mnt/lvol1/media/b:/b'
        - '/mnt/lvol1/media/c:/c'
    environment:
        - VPN_ENABLED=yes
        - ENABLE_SSL=no
        - VPN_TYPE=wireguard
        - LAN_NETWORK=192.168.2.0/24
        - 'NAME_SERVERS=1.1.1.1,1.0.0.1'
        - INCOMING_PORT_ENV=63024
    ports:
        - '8080:8080'
        - '63024:63024'
        - '63024:63024/udp'
    image: dyonr/qbittorrentvpn
    restart: unless-stopped

Once I run it, I get a log as follows:

qbittorrent    | 2021-01-05 18:32:06.596093 [INFO] VPN_ENABLED defined as 'yes'
qbittorrent    | 2021-01-05 18:32:06.619677 [INFO] DISABLE_IPV6 is set to ''
qbittorrent    | 2021-01-05 18:32:06.642081 [INFO] Disabling IPv6 in sysctl
qbittorrent    | 2021-01-05 18:32:06.683216 [INFO] VPN_TYPE defined as 'wireguard'
qbittorrent    | 2021-01-05 18:32:06.715096 [INFO] WireGuard config file is found at /config/wireguard/wg0.conf
qbittorrent    | dos2unix: converting file /config/wireguard/wg0.conf to Unix format...
qbittorrent    | 2021-01-05 18:32:06.745127 [INFO] VPN remote line defined as '193.138.218.80:51820'
qbittorrent    | 2021-01-05 18:32:06.768940 [INFO] VPN_REMOTE defined as '193.138.218.80'
qbittorrent    | 2021-01-05 18:32:06.792756 [INFO] VPN_PORT defined as '51820'
qbittorrent    | 2021-01-05 18:32:06.814527 [INFO] VPN_PROTOCOL set as 'udp', since WireGuard is always udp.
qbittorrent    | 2021-01-05 18:32:06.836671 [INFO] VPN_DEVICE_TYPE set as 'wg0', since WireGuard will always be wg0.
qbittorrent    | 2021-01-05 18:32:06.860602 [INFO] LAN_NETWORK defined as '192.168.2.0/24'
qbittorrent    | 2021-01-05 18:32:06.885540 [INFO] NAME_SERVERS defined as '1.1.1.1,1.0.0.1'
qbittorrent    | 2021-01-05 18:32:06.909651 [INFO] Adding 1.1.1.1 to resolv.conf
qbittorrent    | 2021-01-05 18:32:06.933954 [INFO] Adding 1.0.0.1 to resolv.conf
qbittorrent    | 2021-01-05 18:32:06.955918 [INFO] PUID not defined. Defaulting to root user
qbittorrent    | 2021-01-05 18:32:06.977744 [INFO] PGID not defined. Defaulting to root group
qbittorrent    | 2021-01-05 18:32:06.999592 [INFO] Starting WireGuard...
qbittorrent    | Warning: `/config/wireguard/wg0.conf' is world accessible
qbittorrent    | wg-quick: `wg0' is not a WireGuard interface
qbittorrent    | 2021-01-05 18:32:07.043242 WireGuard is down already
qbittorrent    | Warning: `/config/wireguard/wg0.conf' is world accessible
qbittorrent    | [#] ip link add wg0 type wireguard
qbittorrent    | [#] wg setconf wg0 /dev/fd/63
qbittorrent    | [#] ip -4 address add 10.65.244.87/32 dev wg0
qbittorrent    | [#] ip link set mtu 1420 up dev wg0
qbittorrent    | [#] resolvconf -a wg0 -m 0 -x
qbittorrent    | [#] wg set wg0 fwmark 51820
qbittorrent    | [#] ip -4 route add 0.0.0.0/0 dev wg0 table 51820
qbittorrent    | [#] ip -4 rule add not fwmark 51820 table 51820
qbittorrent    | [#] ip -4 rule add table main suppress_prefixlength 0
qbittorrent    | [#] sysctl -q net.ipv4.conf.all.src_valid_mark=1
qbittorrent    | [#] iptables-restore -n
qbittorrent    | [#] iptables -I OUTPUT ! -o wg0 -m mark ! --mark $(wg show wg0 fwmark) -m addrtype ! --dst-type LOCAL -j REJECT && ip6tables -I OUTPUT ! -o wg0 -m mark ! --mark $(wg show wg0 fwmark) -m addrtype ! --dst-type LOCAL -j REJECT
qbittorrent    | 2021-01-05 18:32:07.788030 [INFO] Docker network defined as 172.25.0.0/16
qbittorrent    | 2021-01-05 18:32:07.812661 [INFO] Adding 192.168.2.0/24 as route via docker eth0
qbittorrent    | 2021-01-05 18:32:07.835461 [INFO] ip route defined as follows...
qbittorrent    | --------------------
qbittorrent    | default via 172.25.0.1 dev eth0 
qbittorrent    | 172.25.0.0/16 dev eth0 proto kernel scope link src 172.25.0.5 
qbittorrent    | 192.168.2.0/24 via 172.25.0.1 dev eth0 
qbittorrent    | --------------------
qbittorrent    | iptable_mangle         16384  0
qbittorrent    | ip_tables              36864  6 iptable_filter,iptable_raw,iptable_nat,iptable_mangle
qbittorrent    | x_tables               49152  15 xt_conntrack,iptable_filter,nft_compat,xt_tcpudp,xt_addrtype,xt_nat,xt_comment,ipt_REJECT,xt_connmark,iptable_raw,ip_tables,xt_MASQUERADE,ip6t_REJECT,iptable_mangle,xt_mark
qbittorrent    | 2021-01-05 18:32:07.863984 [INFO] iptable_mangle support detected, adding fwmark for tables
qbittorrent    | 2021-01-05 18:32:08.024873 [INFO] iptables defined as follows...
qbittorrent    | --------------------
qbittorrent    | -P INPUT DROP
qbittorrent    | -P FORWARD ACCEPT
qbittorrent    | -P OUTPUT DROP
qbittorrent    | -A INPUT -i wg0 -j ACCEPT
qbittorrent    | -A INPUT -s 172.25.0.0/16 -d 172.25.0.0/16 -j ACCEPT
qbittorrent    | -A INPUT -i eth0 -p udp -m udp --sport 51820 -j ACCEPT
qbittorrent    | -A INPUT -i eth0 -p tcp -m tcp --dport 8080 -j ACCEPT
qbittorrent    | -A INPUT -i eth0 -p tcp -m tcp --sport 8080 -j ACCEPT
qbittorrent    | -A INPUT -p icmp -m icmp --icmp-type 0 -j ACCEPT
qbittorrent    | -A INPUT -i lo -j ACCEPT
qbittorrent    | -A OUTPUT ! -o wg0 -m mark ! --mark 0xca6c -m addrtype ! --dst-type LOCAL -j REJECT --reject-with icmp-port-unreachable
qbittorrent    | -A OUTPUT -o wg0 -j ACCEPT
qbittorrent    | -A OUTPUT -s 172.25.0.0/16 -d 172.25.0.0/16 -j ACCEPT
qbittorrent    | -A OUTPUT -o eth0 -p udp -m udp --dport 51820 -j ACCEPT
qbittorrent    | -A OUTPUT -o eth0 -p tcp -m tcp --dport 8080 -j ACCEPT
qbittorrent    | -A OUTPUT -o eth0 -p tcp -m tcp --sport 8080 -j ACCEPT
qbittorrent    | -A OUTPUT -p icmp -m icmp --icmp-type 8 -j ACCEPT
qbittorrent    | -A OUTPUT -o lo -j ACCEPT
qbittorrent    | # Warning: iptables-legacy tables present, use iptables-legacy to see them
qbittorrent    | --------------------
qbittorrent    | 2021-01-05 18:32:08.077980 [WARNING] ENABLE_SSL is set to no, SSL is not enabled. This could cause issues with logging if other apps use the same Cookie name (SID).
qbittorrent    | 2021-01-05 18:32:08.099285 [WARNING] If you manage the SSL config yourself, you can ignore this.
qbittorrent    | 2021-01-05 18:32:08.122433 [INFO] A group with PGID root already exists in /etc/group, nothing to do.
qbittorrent    | 2021-01-05 18:32:08.146327 [INFO] An user with PUID root already exists in /etc/passwd, nothing to do.
qbittorrent    | 2021-01-05 18:32:08.168230 [WARNING] UMASK not defined (via -e UMASK), defaulting to '002'
qbittorrent    | 2021-01-05 18:32:08.190342 [INFO] Starting qBittorrent daemon...
qbittorrent    | Logging to /config/qBittorrent/data/logs/qbittorrent.log.
qbittorrent    | 2021-01-05 18:32:09.226448 [INFO] qBittorrent PID: 268
qbittorrent    | 2021-01-05 18:32:09.231036 [INFO] Started qBittorrent daemon successfully...
qbittorrent    | 2021-01-05 18:32:09.249581 [INFO] HEALTH_CHECK_HOST is not set. For now using default host one.one.one.one
qbittorrent    | 2021-01-05 18:32:09.271264 [INFO] HEALTH_CHECK_INTERVAL is not set. For now using default interval of 300
qbittorrent    | 2021-01-05 18:32:09.293081 [INFO] HEALTH_CHECK_SILENT is not set. Because this variable is not set, it will be supressed by default

Everything seems okay, but I am unable to connect to the webUI, the connection times out. I tried settings VPN_ENABLED to no, and I get accesss to the web ui.

Any ideas?

Kernel 5.4.86-1-lts

Wireguard

Hi,

When I want to use Wireguard instead of OpenVPN I get folowwing error in my log:

[#] ip link add wg0 type wireguard
RTNETLINK answers: Operation not supported
Unable to access interface: Protocol not supported
[#] ip link delete dev wg0
Cannot find device "wg0"

I thought Wireguard was included in the docker?
Or do I need to install the wireguard kernel to the host?
Since my host is a Synology nas I can't do this, maybe it will work with Wireguard-Go?

Thx

Improve Dockerfile

I think the Dockerfile can be more optimised by removing packages that do not get used.
Also downloading the source of qBittorrent and libtorrent should be possible differently.
Have to look into this later. But for now, it works.

Synology NAS Container not starting

Hey,
I have a Synology NAS with the Docker Container on it.

My Environment Variables:

grafik

My Problem is everytime i try to start the Container I get the message that it stopped and when i look into the Protocol I only see that:

grafik

Iam pretty now to all the Docker stuff so maybe Iam to dumb to understand how to set it up.

Anyways thanks in advance

Username/Password for the WebUI via environment variable

It would be neat if it is possible to set a username and password for the WebUI via an environment variable.
For setting a password, I would need to figure out how qBittorrent generates a password.
They do use PBKDF2, but I don't know cipher, seed, iteration and key length they use.

"Network is down" on subsequent runs

Running macOS Big Sure (11.4) on mid 2015 Macbook Pro retina 15"
Docker version 20.10.5, build 55c4c88

Using the example to run the container, first run works well. Connection is established and works all fine. In case of restart of the container or sometimes automatically because network is down, it constantly attempts but produces the error "Network is down, exiting this Docker" each time.

Not having restart unless-stopped will just result in it closing.
Wonder how it works if I remove, create and run it but not when start the container which is already made and stopped.

Compile error on Raspberian arm 64

I am on the latest raspberian and trying to build for arm64.

I get the following error and unsure how to try and fix it.

Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 80 0 80 0 0 101 0 --:--:-- --:--:-- --:--:-- 101

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
The command '/bin/sh -c apt update && apt -y upgrade && apt -y install --no-install-recommends curl ca-certificates g++ libxml2-utils && BOOST_VERSION_DOT=$(curl -sX GET "https://www.boost.org/feed/news.rss" | xmllint --xpath '//rss/channel/item/title/text()' - | awk -F 'Version' '{print $2 FS}' - | sed -e 's/Version//g;s/\ //g' | xargs | awk 'NR==1{print $1}' -) && BOOST_VERSION=$(echo ${BOOST_VERSION_DOT} | head -n 1 | sed -e 's/.//g') && curl -o /opt/boost${BOOST_VERSION}.tar.gz -L https://boostorg.jfrog.io/artifactory/main/release/${BOOST_VERSION_DOT}/source/boost_${BOOST_VERSION}.tar.gz && tar -xzf /opt/boost_${BOOST_VERSION}.tar.gz -C /opt && cd /opt/boost_${BOOST_VERSION} && ./bootstrap.sh --prefix=/usr && ./b2 --prefix=/usr install && cd /opt && rm -rf /opt/* && apt -y purge curl ca-certificates g++ libxml2-utils && apt-get clean && apt -y autoremove && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*' returned a non-zero code: 2

Cant access the qbittorrent web UI

Everything starts fine, deamon started
But in the logs folder of qBittorrent i get this error everytime i start the container:
/usr/local/bin/qbittorrent-nox: error while loading shared libraries: libQt5Core.so.5: cannot open shared object file: No such file or directory
Anyone know how to fix this, would really like to be able to use this nice container!

Function to create torrent

Hey guys,
not a real issue here, but is there a function/way to create a torrent anywhere in qBittorent? I can't find it.
Other than that, awesome work, I really love your container. Works superbly!

Synology advice / add to wiki?

I experienced a lot of the same issues mentioned from other people here, but I managed to get this container up and running and thought I'd share my findings to assist other Synology users out there.

Using:
DSM v7.0.1-42218
Docker from package centre

Run a one time vpn connection directly on Synology
Control Panel > Network > Network Interface > Create VPN Profile

  • add your openvpn
  • save
  • connect to it
  • disconnect vpn
    This will add the tun device and eliminate the following error:
    ERROR: Cannot open TUN/TAP dev /dev/net/tun: No such file or directory (errno=2)

Download:
docker > registry > qbittorrentvpn > latest

Settings:
image > qbittorrentvpn > launch

  • check high privilege
  • advanced:
  • volumes > add config and torrents folders (ensure ovpn file in config path)
  • network > bridge
  • port > local 49210 > 8080
  • port > auto > 8999
  • EVs I used > [lan_network, vpn_enabled, vpn_type=openvpn, vpn_user/pass, vpn_enabled] (do not set pgid puid)

Run the container - should work.
if you get: Options error: In [CMD-LINE]:1: Error opening configuration file

  • terminate the container with the toggle.
  • remove high priority check box
  • start the container again - it will fail again
  • terminate the container with the toggle.
  • add high priority check box
  • start the container - it should work.

conclusion:

  • running the container without root can't correctly access tun/tap
  • tun/tap isn't installed by default, running an openvpn on the synology itself installs it.
  • synology / docker doesn't remember / keep high priority correctly
  • when the vpn fails, the container closes (by design) - repeat the priority toggle steps to bring it back up again.
  • port 8080 is 'closed' - use the local port forward
  • Container functions fine - DSM is the likely culprit

I hope this helps others

Privoxy?

Hi, privously I was using the QbittorentOpenVPN docker from Binhex but since this one has Wireguard I tried it ans seems to be working good, only thing missing is Privoxy, would it be possible to integrate this? Thx!

Can't connect to PIA

Hey there,

first of all thanks for the great work you're doing with these docker images. I've been using them for a while now and haven't had any issues which I haven't been able to resolve with some fiddling.

I've recently switched VPN Providers (Nord to PIA), and I seem to be unable to get the container working with the PIA supplied .opvn files. Judging from the logs, this is due to a certificate issue (there is a certificate supplied by PIA in the opvn zip, which I copied to the opvn folder where the config file is sitting, but this doesn't seem to get picked up).

I am currently unable to make any more progress on debugging as I lack knowledge regarding the OpenVPN protocol and certificates, so I figured it's worth a shot. Has anyone encountered this issue before and knows how to fix it?

Cheers and have a nice festive season!

2021-12-19 19:47:42 library versions: OpenSSL 1.1.1k  25 Mar 2021, LZO 2.10,
2021-12-19 19:47:42 Exiting due to fatal error,
2021-12-19 19:47:42 neither stdin nor stderr are a tty device and you have neither a controlling tty nor systemd - can't ask for 'Enter Auth Username:'.  If you used --daemon, you need to use --askpass to make passphrase-protected keys work, and you can not use --auth-nocache.,
2021-12-19 19:47:42 DEPRECATED OPTION: --cipher set to 'aes-128-cbc' but missing in --data-ciphers (AES-256-GCM:AES-128-GCM). Future OpenVPN version will ignore --cipher for cipher negotiations. Add 'aes-128-cbc' to --data-ciphers or change --cipher 'aes-128-cbc' to --data-ciphers-fallback 'aes-128-cbc' to silence this warning.,
2021-12-19 19:47:42 OpenVPN 2.5.1 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on May 14 2021,
2021-12-19 19:47:41.741482 [INFO] Starting OpenVPN...,
2021-12-19 19:47:41.701855 [INFO] PGID not defined. Defaulting to root group,
2021-12-19 19:47:41.662621 [INFO] PUID not defined. Defaulting to root user,
2021-12-19 19:47:41.625641 [INFO] Adding 8.8.4.4 to resolv.conf,
2021-12-19 19:47:41.586099 [INFO] Adding 1.0.0.1 to resolv.conf,
2021-12-19 19:47:41.505558 [INFO] Adding 1.1.1.1 to resolv.conf,
2021-12-19 19:47:41.545785 [INFO] Adding 8.8.8.8 to resolv.conf,
2021-12-19 19:47:41.452825 [INFO] VPN_OPTIONS not defined (via -e VPN_OPTIONS),
2021-12-19 19:47:41.412000 [WARNING] NAME_SERVERS not defined (via -e NAME_SERVERS), defaulting to CloudFlare and Google name servers,
2021-12-19 19:47:41.369523 [INFO] LAN_NETWORK defined as '192.168.1.0/24',
2021-12-19 19:47:41.328346 [INFO] VPN_DEVICE_TYPE defined as 'tun0',
2021-12-19 19:47:41.279165 [INFO] VPN_PROTOCOL defined as 'udp',
2021-12-19 19:47:41.214344 [INFO] VPN_PORT defined as '1198',
2021-12-19 19:47:41.170064 [INFO] VPN_REMOTE defined as 'de-frankfurt.privacy.network',
dos2unix: converting file /config/openvpn/de_frankfurt.ovpn to Unix format...,
2021-12-19 19:47:41.053111 [INFO] OpenVPN config file is found at /config/openvpn/de_frankfurt.ovpn,
2021-12-19 19:47:40.978810 [INFO] VPN_TYPE defined as 'openvpn',
2021-12-19 19:47:41.128241 [INFO] VPN remote line defined as 'de-frankfurt.privacy.network 1198',
2021-12-19 19:47:40.939512 [INFO] Not making any changes to iptables version,2021-12-19 19:47:40.803371 [INFO] VPN_ENABLED defined as 'yes',
2021-12-19 19:47:40.862594 [INFO] The container is currently running iptables v1.8.7 (nf_tables).,
2021-12-19 19:47:40.901194 [INFO] LEGACY_IPTABLES is set to ''```

VPN_TYPE=openvpn

even with VPN_TYPE=openvpn
and even after a full stop and restart the container and deleting wg0.conf
it still complains about wg0.conf missing

"Checking resume data" when restarting image

Hey everyone,

Whenever my docker container gets restarted (due to, typically, restarting my computer), all my torrents go through a "Checking resume data" phase. I assume that it's checking every single file to make sure it's not corrupted, but checking tons of data every reboot sounds unnecessary on my hard drive.

I've searched around a bit for people with similar issues, and a lot of them seem to be pointing to corruption of the .fastresume file. Here is someone who documented their fix from 2018, which basically says that if qBittorrent doesn't have a clean exit, the .fastresume files may get corrupted. To test that, I've tried the docker command docker stop --time=3000 xxxxxxxxx, but the only logs that show up in docker were:

2021-10-13 01:09:42.273151 [INFO] Network is up

2021-10-13 01:14:47.331183 [INFO] Network is up

and no logs in /config/qBittorrent/data/logs pop up after I issue the command.

So, I'm wondering if there is a good way to stop the docker container gracefully, just as an initial test to see if a graceful shutdown (something akin to clicking File > Quit in the Windows version of qBittorrent) could fix this issue.

Thanks in advance and I'm sorry if this question is out of scope for this project!

OS: Windows 10
Docker Version: 4.0.1

iptables error!!

I have meet the ipables error when deploy the latest qbittorrentvpn image on Q-NAP container station.

iptables: Operation not supported.
iptables: Invalid argument. Run dmesg' for more information. iptables v1.8.2 (nf_tables): unknown option "--dport" iptables v1.8.2 (nf_tables): unknown option "--sport" iptables v1.8.2 (nf_tables): unknown option "--icmp-type" Try iptables -h' or 'iptables --help' for more information.

That will expose the real IP to others.

Wireguard VPN stopped working - Can't figure it out

When restarting my container, it always ends with:

qbittorrent-vpn | 2021-11-30 12:32:38.358332 [ERROR] Network is down, exiting this Docker

I have regenerated the config multiple times from Torguard's website and replaced the wg0.conf file with the new one. If I configure the container to not use the VPN, it starts fine and I am able to ping out to the internet without an issue. When trying a manual wg-quick up ./wg0.conf, I cannot ping 8.8.8.8/1.1.1.1.

How do I get more details wireguard logs out of this container so that I can troubleshoot further?

Thanks!

Access web-ui from External IP

Hi,
I can successfully access web-ui from localhost:8080, but I can't access web-ui from external IP, I tried reverse proxy on nginx but it doesn't work properly, How can achieve this?

Run command

docker run --privileged   \
              -v /root/config/:/config \
              -v /downloads:/downloads \
              -e "VPN_ENABLED=yes" \
              -e "VPN_TYPE=openvpn" \
              -e "LAN_NETWORK=192.168.0.0/24" \
              -p 8080:8080 \
              --restart unless-stopped \
              dyonr/qbittorrentvpn

Questions

Hi,
I don't have an issue, but three questions (hope it's okay to open an issue for them here. If not, please move this thread..).

  1. When using the container with WireGuard, do I need to forward port 8999 on my router in order to be connectable, too, or is it enough to only open a related port with my VPN provider?

  2. I've a question regarding the environment variables HEALTH_CHECK. It's not required to set any of these three, but is it useful to use them? If yes, which settings would you advise me to use?

  3. To decrease the possibility of IP leaks, would it make sense to also bind the network interface in the qBittorrent WebUI to wg0, or shouldn't I touch this setting, because the IP table rules handle everything correctly?

I'm asking because I already got in trouble once because my IP leaked, and I'm a little concerned and don't want to deal with legal issues and my ISP again, so I want to do everything to prevent IP leaks in the future.

Can't access WebUI, after "Started qBittorrent daemon successfully..."

Command used to start docker:

sudo docker run --privileged \
              -v /home/kalypso/config/:/config \
              -v /home/kalypso/Downloads/:/downloads \
              -e "VPN_ENABLED=yes" \
              -e "VPN_TYPE=wireguard" \
              -e "LAN_NETWORK=192.168.0.0/24" \
              -e "INSTALL_PYTHON3=yes" \
              -e "ADDITIONAL_PORTS=13770" \
              -p 8080:8080 \
              --restart unless-stopped \
              dyonr/qbittorrentvpn

And the output log...

2021-07-19 09:05:39.645450 [INFO] VPN_ENABLED defined as 'yes'
2021-07-19 09:05:39.663183 [INFO] VPN_TYPE defined as 'wireguard'
2021-07-19 09:05:39.683112 [INFO] WireGuard config file is found at /config/wireguard/wg0.conf
dos2unix: converting file /config/wireguard/wg0.conf to Unix format...
2021-07-19 09:05:40.486022 [INFO] VPN remote line defined as '<redacted>:13770'
2021-07-19 09:05:40.503508 [INFO] VPN_REMOTE defined as '<redacted>'
2021-07-19 09:05:40.523272 [INFO] VPN_PORT defined as '13770'
2021-07-19 09:05:40.541421 [INFO] VPN_PROTOCOL set as 'udp', since WireGuard is always udp.
2021-07-19 09:05:40.562831 [INFO] VPN_DEVICE_TYPE set as 'wg0', since WireGuard will always be wg0.
2021-07-19 09:05:40.581551 [INFO] LAN_NETWORK defined as '192.168.0.0/24'
2021-07-19 09:05:40.600476 [WARNING] NAME_SERVERS not defined (via -e NAME_SERVERS), defaulting to CloudFlare and Google name servers
2021-07-19 09:05:40.618774 [INFO] Adding 1.1.1.1 to resolv.conf
2021-07-19 09:05:40.636267 [INFO] Adding 8.8.8.8 to resolv.conf
2021-07-19 09:05:40.654900 [INFO] Adding 1.0.0.1 to resolv.conf
2021-07-19 09:05:40.673315 [INFO] Adding 8.8.4.4 to resolv.conf
2021-07-19 09:05:40.690839 [INFO] PUID not defined. Defaulting to root user
2021-07-19 09:05:40.709520 [INFO] PGID not defined. Defaulting to root group
2021-07-19 09:05:40.727984 [INFO] Starting WireGuard...
Warning: `/config/wireguard/wg0.conf' is world accessible
[#] ip link add wg0 type wireguard
[#] wg setconf wg0 /dev/fd/63
[#] ip -4 address add 10.64.180.184/32 dev wg0
[#] ip link set mtu 1420 up dev wg0
[#] resolvconf -a wg0 -m 0 -x
[#] wg set wg0 fwmark 51820
[#] ip -4 route add 0.0.0.0/0 dev wg0 table 51820
[#] ip -4 rule add not fwmark 51820 table 51820
[#] ip -4 rule add table main suppress_prefixlength 0
[#] sysctl -q net.ipv4.conf.all.src_valid_mark=1
[#] iptables-restore -n
2021-07-19 09:05:40.854448 [INFO] Docker network defined as 172.17.0.0/16
2021-07-19 09:05:40.875653 [INFO] Adding 192.168.0.0/24 as route via docker eth0
2021-07-19 09:05:40.892902 [INFO] ip route defined as follows...
--------------------
default via 172.17.0.1 dev eth0 
172.17.0.0/16 dev eth0 proto kernel scope link src 172.17.0.2 
192.168.0.0/24 via 172.17.0.1 dev eth0 
--------------------
2021-07-19 09:05:40.927511 [INFO] Adding additional incoming port 13770 for eth0
2021-07-19 09:05:41.007874 [INFO] Adding additional outgoing port 13770 for eth0
2021-07-19 09:05:41.028709 [INFO] iptables defined as follows...
--------------------
-P INPUT DROP
-P FORWARD ACCEPT
-P OUTPUT DROP
-A INPUT -i wg0 -j ACCEPT
-A INPUT -s 172.17.0.0/16 -d 172.17.0.0/16 -j ACCEPT
-A INPUT -i eth0 -p udp -m udp --sport 13770 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --dport 8080 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --sport 8080 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --dport 13770 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --sport 13770 -j ACCEPT
-A INPUT -p icmp -m icmp --icmp-type 0 -j ACCEPT
-A INPUT -i lo -j ACCEPT
-A OUTPUT -o wg0 -j ACCEPT
-A OUTPUT -s 172.17.0.0/16 -d 172.17.0.0/16 -j ACCEPT
-A OUTPUT -o eth0 -p udp -m udp --dport 13770 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --dport 8080 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --sport 8080 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --dport 13770 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --sport 13770 -j ACCEPT
-A OUTPUT -p icmp -m icmp --icmp-type 8 -j ACCEPT
-A OUTPUT -o lo -j ACCEPT
--------------------
2021-07-19 09:05:41.050230 [INFO] Python3 is already installed, nothing to do.
2021-07-19 09:05:41.068701 [WARNING] ENABLE_SSL is set to , SSL is not enabled. This could cause issues with logging if other apps use the same Cookie name (SID).
2021-07-19 09:05:41.086988 [WARNING] If you manage the SSL config yourself, you can ignore this.
2021-07-19 09:05:41.106104 [INFO] A group with PGID root already exists in /etc/group, nothing to do.
2021-07-19 09:05:41.124775 [INFO] An user with PUID root already exists in /etc/passwd, nothing to do.
2021-07-19 09:05:41.141584 [WARNING] UMASK not defined (via -e UMASK), defaulting to '002'
2021-07-19 09:05:41.159265 [INFO] Starting qBittorrent daemon...
Logging to /config/qBittorrent/data/logs/qbittorrent.log.
2021-07-19 09:05:42.179922 [INFO] qBittorrent PID: 233
2021-07-19 09:05:42.196460 [INFO] HEALTH_CHECK_HOST is not set. For now using default host one.one.one.one
2021-07-19 09:05:42.214303 [INFO] HEALTH_CHECK_INTERVAL is not set. For now using default interval of 300
2021-07-19 09:05:42.233204 [INFO] HEALTH_CHECK_SILENT is not set. Because this variable is not set, it will be supressed by default
2021-07-19 09:05:42.472521 [INFO] Started qBittorrent daemon successfully...

I am unable to connect to http://<my_server_ip_address>:8080/.
I can SSH in, check docker and get this log file, but can't access the WebUI

Not sure if I am doing something wrong... not even sure what the error is.

docker containers unable to connect

Hi,

I have the qbittorrent container setup and working all fine. However, another container i have Radarr is unable to connect to qbittorrent. I have provided the correct IP address and port and also selected "Use SSL".
Any advise would be great, happy to provide any necessary logs.

ERROR: Cannot Open /dev/net/tun

Freshly pulled image.
OpenVPN can not start critical error:

Cannot open TUN/TAP dev /dev/net/tun: No such file or directory (errno=2)

NET_ADMIN has been provided.

Can't access WebUI, through portainer in OMV

Hi there,

I change markusMcnugen image for this one because I started to have problems accesing the webUI. Logs show nothing of importance:
_qbittorrentvpndyonr_logs.txt

This is my yml config :
qbittorrentvpn:
image: dyonr/qbittorrentvpn
container_name: qbittorrentvpndyonr
privileged: true
environment:
- VPN_USERNAME=**********************************
- VPN_PASSWORD=**********************************
- PUID=998
- PGID=100
- VPN_ENABLED=yes
- VPN_TYPE=openvpn
- HEALTH_CHECK_HOST=local-ip
- HEALTH_CHECK_INTERVAL=300
- INSTALL_PYTHON3=yes
- ADDITIONAL_PORTS=8282
- LAN_NETWORK=192.168.50.0/24 #adjust this to YOUR network settings
- NAME_SERVERS=8.8.8.8 #you can use whatever DNS provider you want
ports:
- 8282:8282
- 8999:8999
- 8999:8999/udp
volumes:
- /localpath/Configs/QBittorrentVPN:/config
- /localpath/Torrents:/downloads
- /etc/timezone:/etc/timezone:ro #This is for TimeZone
restart: unless-stopped

And this is the openvpn file:
es-vlc.prod.vpn_openvpn_.zip

Qbittorent not working after last update (maybe related to #70)

maybe related to #70 but not sure.

qBittorrentvpn not working after last update, 6 hours ago via auto update (watchtower) cant acces via webpage anymore neither via sonarr, radarr, etc.

No error in the logfile.
Logfile ending with [INFO] Network is up.
Some warnings in log but no big thinks.

Went back from image: dyonr/qbittorrentvpn to image: dyonr/qbittorrentvpn:v4_2_x and working again.

Cannot open configuration file after restart of docker image

I am able to successfully start and connect with the docker image on the initial deployment. However after restarting the image, it provides an error of:

Options error: In [CMD-LINE]:1: Error opening configuration file: /config/openvpn/us_east-aes-128-cbc-udp-dns.ovpn

I have identified that my user is uid 1026 and my group id is 100. As a result I have used the following for my docker-compose:


version: '2.2'
services:
 qbittorrent:
  image: dyonr/qbittorrentvpn
  ports:
    - "8999:8999"
    - "8999:8999/udp"
    - "8090:8080"
    - "8118:8118"
 
  volumes:
    - /volume1/docker/qbittorrentvpn/config:/config
    - /volume1/docker/qbittorrentvpn/downloads:/downloads
  environment:
    - PUID=1026
    - PGID=100
    - VPN_ENABLED=yes
    - VPN_TYPE=openvpn
    - LAN_NETWORK=192.168.2.0/24
  restart: unless-stopped

The first time the container is deployed, the container will connect properly with the configuration file in place in the config/openvpn directory. However after a restart it always fails on opening the configuration file. It appears to be a permissions issue, but I'm not quite sure how to address the issue. Are there specific permissions I need to set on the ovpn file?

Space in filenames don't work

Taken from: https://forums.unraid.net/topic/95850-support-dyonr-qbittorrentvpn/page/5/?tab=comments#comment-911156


2020-11-08 14:10:37.672413 [INFO] VPN_ENABLED defined as 'yes'
2020-11-08 14:10:37.689450 [INFO] DISABLE_IPV6 is set to '1'
2020-11-08 14:10:37.706144 [INFO] Disabling IPv6 in sysctl
2020-11-08 14:10:37.724089 [INFO] VPN_TYPE defined as 'openvpn'
2020-11-08 14:10:37.746099 [INFO] OpenVPN config file is found at /config/openvpn/CA Toronto.ovpn
cat: /config/openvpn/CA: No such file or directory
cat: Toronto.ovpn: No such file or directory

iptables-restore error while starting container

Running the :latest image on docker running on windows.

[#] iptables-restore -n
iptables-restore v1.8.2 (nf_tables): Couldn't load match 'addrtype':No such file or directory
Error occurred at line: 2

issue starting with wireguard vpn

Using docker-compose

qbittorrent:
  image: dyonr/qbittorrentvpn
  cap_add:
    - NET_ADMIN
  privileged: true
  ports:
    - "5959:8080" # qBittorrent WebUI
    - "5999:8999" # qBittorrent TCP Listening Port
    - "5999:8999/udp" # qBittorrent UDP Listening Port
  volumes:
    - "/home/temelj/Documents/docker-config/:/config" # sonarr config dir
    - "/mnt/main/downloads:/downloads" # not used but sonarr has a hissy fit if it doesn't exist
  environment:
    VPN_ENABLED: "yes"            #Enable VPN (yes/no)?
    VPN_TYPE: "wireguard"         #WireGuard or OpenVPN (wireguard/openvpn)?
    LAN_NETWORK: "192.168.1.1/23" #Comma delimited local Network's with CIDR notation
    #ENABLE_SSL: 'yes'            #Let the container handle SSL (yes/no)?
    #NAME_SERVERS: 1.1.1.1,1.0.0.1
    #PUID: 1000 # set this to the UID of your user
    #PGID: 1000 # set this to the GID of your user
  restart: unless-stopped

output

temelj@nektar:~/Documents/docker$ sudo docker-compose up
docker_qbittorrent_1 is up-to-date
Attaching to docker_qbittorrent_1
qbittorrent_1  | 2021-11-25 05:34:41.346634 [INFO] VPN_ENABLED defined as 'yes'
qbittorrent_1  | 2021-11-25 05:34:41.379812 [INFO] The container is currently running iptables v1.8.7 (nf_tables).
qbittorrent_1  | 2021-11-25 05:34:41.411680 [INFO] LEGACY_IPTABLES is set to ''
qbittorrent_1  | 2021-11-25 05:34:41.442102 [INFO] Not making any changes to iptables version
qbittorrent_1  | 2021-11-25 05:34:41.474928 [INFO] VPN_TYPE defined as 'wireguard'
qbittorrent_1  | 2021-11-25 05:34:41.510009 [INFO] WireGuard config file is found at /config/wireguard/wg0.conf
qbittorrent_1  | dos2unix: converting file /config/wireguard/wg0.conf to Unix format...
qbittorrent_1  | 2021-11-25 05:34:41.541324 [INFO] VPN remote line defined as 'se-sto.pvdata.host:3389'
qbittorrent_1  | 2021-11-25 05:34:41.571557 [INFO] VPN_REMOTE defined as 'se-sto.pvdata.host'
qbittorrent_1  | 2021-11-25 05:34:41.602053 [INFO] VPN_PORT defined as '3389'
qbittorrent_1  | 2021-11-25 05:34:41.631999 [INFO] VPN_PROTOCOL set as 'udp', since WireGuard is always udp.
qbittorrent_1  | 2021-11-25 05:34:41.662301 [INFO] VPN_DEVICE_TYPE set as 'wg0', since WireGuard will always be wg0.
qbittorrent_1  | 2021-11-25 05:34:41.693478 [INFO] LAN_NETWORK defined as '192.168.1.1/23'
qbittorrent_1  | 2021-11-25 05:34:41.725226 [WARNING] NAME_SERVERS not defined (via -e NAME_SERVERS), defaulting to CloudFlare and Google name servers
qbittorrent_1  | 2021-11-25 05:34:41.755492 [INFO] Adding 1.1.1.1 to resolv.conf
qbittorrent_1  | 2021-11-25 05:34:41.790545 [INFO] Adding 8.8.8.8 to resolv.conf
qbittorrent_1  | 2021-11-25 05:34:41.820573 [INFO] Adding 1.0.0.1 to resolv.conf
qbittorrent_1  | 2021-11-25 05:34:41.850146 [INFO] Adding 8.8.4.4 to resolv.conf
qbittorrent_1  | 2021-11-25 05:34:41.881011 [INFO] PUID not defined. Defaulting to root user
qbittorrent_1  | 2021-11-25 05:34:41.908649 [INFO] PGID not defined. Defaulting to root group
qbittorrent_1  | 2021-11-25 05:34:41.940194 [INFO] Starting WireGuard...
qbittorrent_1  | Warning: `/config/wireguard/wg0.conf' is world accessible
qbittorrent_1  | [#] ip link add wg0 type wireguard
qbittorrent_1  | [#] wg setconf wg0 /dev/fd/63
qbittorrent_1  | [#] ip -4 address add 10.34.42.31/16 dev wg0
qbittorrent_1  | [#] ip link set mtu 1420 up dev wg0
qbittorrent_1  | [#] resolvconf -a wg0 -m 0 -x
qbittorrent_1  | [#] wg set wg0 fwmark 51820
qbittorrent_1  | [#] ip -6 route add ::/0 dev wg0 table 51820
qbittorrent_1  | Error: IPv6 is disabled on nexthop device.
qbittorrent_1  | [#] resolvconf -d wg0 -f
qbittorrent_1  | [#] ip link delete dev wg0
qbittorrent_1  | 2021-11-25 05:34:42.912396 [INFO] VPN_ENABLED defined as 'yes'
qbittorrent_1  | 2021-11-25 05:34:42.944032 [INFO] The container is currently running iptables v1.8.7 (nf_tables).
qbittorrent_1  | 2021-11-25 05:34:42.974853 [INFO] LEGACY_IPTABLES is set to ''
qbittorrent_1  | 2021-11-25 05:34:43.005924 [INFO] Not making any changes to iptables version
qbittorrent_1  | 2021-11-25 05:34:43.037861 [INFO] VPN_TYPE defined as 'wireguard'
qbittorrent_1  | 2021-11-25 05:34:43.072517 [INFO] WireGuard config file is found at /config/wireguard/wg0.conf
qbittorrent_1  | dos2unix: converting file /config/wireguard/wg0.conf to Unix format...
qbittorrent_1  | 2021-11-25 05:34:43.105181 [INFO] VPN remote line defined as 'se-sto.pvdata.host:3389'
qbittorrent_1  | 2021-11-25 05:34:43.135312 [INFO] VPN_REMOTE defined as 'se-sto.pvdata.host'
qbittorrent_1  | 2021-11-25 05:34:43.168314 [INFO] VPN_PORT defined as '3389'
qbittorrent_1  | 2021-11-25 05:34:43.199636 [INFO] VPN_PROTOCOL set as 'udp', since WireGuard is always udp.
qbittorrent_1  | 2021-11-25 05:34:43.231047 [INFO] VPN_DEVICE_TYPE set as 'wg0', since WireGuard will always be wg0.
qbittorrent_1  | 2021-11-25 05:34:43.264386 [INFO] LAN_NETWORK defined as '192.168.1.1/23'
qbittorrent_1  | 2021-11-25 05:34:43.297726 [WARNING] NAME_SERVERS not defined (via -e NAME_SERVERS), defaulting to CloudFlare and Google name servers
qbittorrent_1  | 2021-11-25 05:34:43.329666 [INFO] Adding 1.1.1.1 to resolv.conf
qbittorrent_1  | 2021-11-25 05:34:43.360125 [INFO] Adding 8.8.8.8 to resolv.conf
qbittorrent_1  | 2021-11-25 05:34:43.392600 [INFO] Adding 1.0.0.1 to resolv.conf
qbittorrent_1  | 2021-11-25 05:34:43.428000 [INFO] Adding 8.8.4.4 to resolv.conf
qbittorrent_1  | 2021-11-25 05:34:43.455650 [INFO] PUID not defined. Defaulting to root user
qbittorrent_1  | 2021-11-25 05:34:43.488683 [INFO] PGID not defined. Defaulting to root group
qbittorrent_1  | 2021-11-25 05:34:43.519413 [INFO] Starting WireGuard...
qbittorrent_1  | Warning: `/config/wireguard/wg0.conf' is world accessible
qbittorrent_1  | [#] ip link add wg0 type wireguard
qbittorrent_1  | [#] wg setconf wg0 /dev/fd/63
qbittorrent_1  | [#] ip -4 address add 10.34.42.31/16 dev wg0
qbittorrent_1  | [#] ip link set mtu 1420 up dev wg0
qbittorrent_1  | [#] resolvconf -a wg0 -m 0 -x
qbittorrent_1  | [#] wg set wg0 fwmark 51820
qbittorrent_1  | [#] ip -6 route add ::/0 dev wg0 table 51820
qbittorrent_1  | Error: IPv6 is disabled on nexthop device.
qbittorrent_1  | [#] resolvconf -d wg0 -f
qbittorrent_1  | [#] ip link delete dev wg0
qbittorrent_1  | 2021-11-25 05:34:44.432346 [INFO] VPN_ENABLED defined as 'yes'
qbittorrent_1  | 2021-11-25 05:34:44.461145 [INFO] The container is currently running iptables v1.8.7 (nf_tables).
qbittorrent_1  | 2021-11-25 05:34:44.492792 [INFO] LEGACY_IPTABLES is set to ''
qbittorrent_1  | 2021-11-25 05:34:44.524222 [INFO] Not making any changes to iptables version
qbittorrent_1  | 2021-11-25 05:34:44.558588 [INFO] VPN_TYPE defined as 'wireguard'
qbittorrent_1  | 2021-11-25 05:34:44.590726 [INFO] WireGuard config file is found at /config/wireguard/wg0.conf
qbittorrent_1  | dos2unix: converting file /config/wireguard/wg0.conf to Unix format...
qbittorrent_1  | 2021-11-25 05:34:44.624186 [INFO] VPN remote line defined as 'se-sto.pvdata.host:3389'
qbittorrent_1  | 2021-11-25 05:34:44.654833 [INFO] VPN_REMOTE defined as 'se-sto.pvdata.host'
qbittorrent_1  | 2021-11-25 05:34:44.688842 [INFO] VPN_PORT defined as '3389'
qbittorrent_1  | 2021-11-25 05:34:44.721208 [INFO] VPN_PROTOCOL set as 'udp', since WireGuard is always udp.
qbittorrent_1  | 2021-11-25 05:34:44.753284 [INFO] VPN_DEVICE_TYPE set as 'wg0', since WireGuard will always be wg0.
qbittorrent_1  | 2021-11-25 05:34:44.783461 [INFO] LAN_NETWORK defined as '192.168.1.1/23'
qbittorrent_1  | 2021-11-25 05:34:44.817650 [WARNING] NAME_SERVERS not defined (via -e NAME_SERVERS), defaulting to CloudFlare and Google name servers
qbittorrent_1  | 2021-11-25 05:34:44.848099 [INFO] Adding 1.1.1.1 to resolv.conf
qbittorrent_1  | 2021-11-25 05:34:44.878528 [INFO] Adding 8.8.8.8 to resolv.conf
qbittorrent_1  | 2021-11-25 05:34:44.909660 [INFO] Adding 1.0.0.1 to resolv.conf
qbittorrent_1  | 2021-11-25 05:34:44.940659 [INFO] Adding 8.8.4.4 to resolv.conf
qbittorrent_1  | 2021-11-25 05:34:44.972677 [INFO] PUID not defined. Defaulting to root user
qbittorrent_1  | 2021-11-25 05:34:44.998972 [INFO] PGID not defined. Defaulting to root group
qbittorrent_1  | 2021-11-25 05:34:45.030351 [INFO] Starting WireGuard...
qbittorrent_1  | Warning: `/config/wireguard/wg0.conf' is world accessible
qbittorrent_1  | [#] ip link add wg0 type wireguard
qbittorrent_1  | [#] wg setconf wg0 /dev/fd/63
qbittorrent_1  | [#] ip -4 address add 10.34.42.31/16 dev wg0
qbittorrent_1  | [#] ip link set mtu 1420 up dev wg0
qbittorrent_1  | [#] resolvconf -a wg0 -m 0 -x
qbittorrent_1  | [#] wg set wg0 fwmark 51820
qbittorrent_1  | [#] ip -6 route add ::/0 dev wg0 table 51820
qbittorrent_1  | Error: IPv6 is disabled on nexthop device.
qbittorrent_1  | [#] resolvconf -d wg0 -f
qbittorrent_1  | [#] ip link delete dev wg0
qbittorrent_1  | 2021-11-25 05:34:46.187629 [INFO] VPN_ENABLED defined as 'yes'
qbittorrent_1  | 2021-11-25 05:34:46.221536 [INFO] The container is currently running iptables v1.8.7 (nf_tables).
qbittorrent_1  | 2021-11-25 05:34:46.252192 [INFO] LEGACY_IPTABLES is set to ''
qbittorrent_1  | 2021-11-25 05:34:46.284027 [INFO] Not making any changes to iptables version
qbittorrent_1  | 2021-11-25 05:34:46.316418 [INFO] VPN_TYPE defined as 'wireguard'
qbittorrent_1  | 2021-11-25 05:34:46.351625 [INFO] WireGuard config file is found at /config/wireguard/wg0.conf
qbittorrent_1  | dos2unix: converting file /config/wireguard/wg0.conf to Unix format...
qbittorrent_1  | 2021-11-25 05:34:46.385569 [INFO] VPN remote line defined as 'se-sto.pvdata.host:3389'
qbittorrent_1  | 2021-11-25 05:34:46.415310 [INFO] VPN_REMOTE defined as 'se-sto.pvdata.host'
qbittorrent_1  | 2021-11-25 05:34:46.447633 [INFO] VPN_PORT defined as '3389'
qbittorrent_1  | 2021-11-25 05:34:46.480749 [INFO] VPN_PROTOCOL set as 'udp', since WireGuard is always udp.
qbittorrent_1  | 2021-11-25 05:34:46.512317 [INFO] VPN_DEVICE_TYPE set as 'wg0', since WireGuard will always be wg0.
qbittorrent_1  | 2021-11-25 05:34:46.543621 [INFO] LAN_NETWORK defined as '192.168.1.1/23'
qbittorrent_1  | 2021-11-25 05:34:46.575185 [WARNING] NAME_SERVERS not defined (via -e NAME_SERVERS), defaulting to CloudFlare and Google name servers
qbittorrent_1  | 2021-11-25 05:34:46.609564 [INFO] Adding 1.1.1.1 to resolv.conf
qbittorrent_1  | 2021-11-25 05:34:46.644752 [INFO] Adding 8.8.8.8 to resolv.conf
qbittorrent_1  | 2021-11-25 05:34:46.678439 [INFO] Adding 1.0.0.1 to resolv.conf
qbittorrent_1  | 2021-11-25 05:34:46.711141 [INFO] Adding 8.8.4.4 to resolv.conf
qbittorrent_1  | 2021-11-25 05:34:46.743139 [INFO] PUID not defined. Defaulting to root user
qbittorrent_1  | 2021-11-25 05:34:46.775604 [INFO] PGID not defined. Defaulting to root group
qbittorrent_1  | 2021-11-25 05:34:46.807249 [INFO] Starting WireGuard...
qbittorrent_1  | Warning: `/config/wireguard/wg0.conf' is world accessible
qbittorrent_1  | [#] ip link add wg0 type wireguard
qbittorrent_1  | [#] wg setconf wg0 /dev/fd/63
qbittorrent_1  | [#] ip -4 address add 10.34.42.31/16 dev wg0
qbittorrent_1  | [#] ip link set mtu 1420 up dev wg0
qbittorrent_1  | [#] resolvconf -a wg0 -m 0 -x
qbittorrent_1  | [#] wg set wg0 fwmark 51820
qbittorrent_1  | [#] ip -6 route add ::/0 dev wg0 table 51820
qbittorrent_1  | Error: IPv6 is disabled on nexthop device.
qbittorrent_1  | [#] resolvconf -d wg0 -f
qbittorrent_1  | [#] ip link delete dev wg0
qbittorrent_1  | 2021-11-25 05:34:48.383366 [INFO] VPN_ENABLED defined as 'yes'
qbittorrent_1  | 2021-11-25 05:34:48.417547 [INFO] The container is currently running iptables v1.8.7 (nf_tables).
qbittorrent_1  | 2021-11-25 05:34:48.449682 [INFO] LEGACY_IPTABLES is set to ''
qbittorrent_1  | 2021-11-25 05:34:48.480948 [INFO] Not making any changes to iptables version
qbittorrent_1  | 2021-11-25 05:34:48.513585 [INFO] VPN_TYPE defined as 'wireguard'
qbittorrent_1  | 2021-11-25 05:34:48.548955 [INFO] WireGuard config file is found at /config/wireguard/wg0.conf
qbittorrent_1  | dos2unix: converting file /config/wireguard/wg0.conf to Unix format...
qbittorrent_1  | 2021-11-25 05:34:48.580451 [INFO] VPN remote line defined as 'se-sto.pvdata.host:3389'
qbittorrent_1  | 2021-11-25 05:34:48.608600 [INFO] VPN_REMOTE defined as 'se-sto.pvdata.host'
qbittorrent_1  | 2021-11-25 05:34:48.641402 [INFO] VPN_PORT defined as '3389'
qbittorrent_1  | 2021-11-25 05:34:48.673180 [INFO] VPN_PROTOCOL set as 'udp', since WireGuard is always udp.
qbittorrent_1  | 2021-11-25 05:34:48.705276 [INFO] VPN_DEVICE_TYPE set as 'wg0', since WireGuard will always be wg0.
qbittorrent_1  | 2021-11-25 05:34:48.735978 [INFO] LAN_NETWORK defined as '192.168.1.1/23'
qbittorrent_1  | 2021-11-25 05:34:48.770753 [WARNING] NAME_SERVERS not defined (via -e NAME_SERVERS), defaulting to CloudFlare and Google name servers
qbittorrent_1  | 2021-11-25 05:34:48.805607 [INFO] Adding 1.1.1.1 to resolv.conf
qbittorrent_1  | 2021-11-25 05:34:48.836264 [INFO] Adding 8.8.8.8 to resolv.conf
qbittorrent_1  | 2021-11-25 05:34:48.871183 [INFO] Adding 1.0.0.1 to resolv.conf
qbittorrent_1  | 2021-11-25 05:34:48.905612 [INFO] Adding 8.8.4.4 to resolv.conf
qbittorrent_1  | 2021-11-25 05:34:48.937750 [INFO] PUID not defined. Defaulting to root user
qbittorrent_1  | 2021-11-25 05:34:48.964271 [INFO] PGID not defined. Defaulting to root group
qbittorrent_1  | 2021-11-25 05:34:48.996857 [INFO] Starting WireGuard...
qbittorrent_1  | Warning: `/config/wireguard/wg0.conf' is world accessible
qbittorrent_1  | [#] ip link add wg0 type wireguard
qbittorrent_1  | [#] wg setconf wg0 /dev/fd/63
qbittorrent_1  | [#] ip -4 address add 10.34.42.31/16 dev wg0
qbittorrent_1  | [#] ip link set mtu 1420 up dev wg0
qbittorrent_1  | [#] resolvconf -a wg0 -m 0 -x
qbittorrent_1  | [#] wg set wg0 fwmark 51820
qbittorrent_1  | [#] ip -6 route add ::/0 dev wg0 table 51820
qbittorrent_1  | Error: IPv6 is disabled on nexthop device.
qbittorrent_1  | [#] resolvconf -d wg0 -f
qbittorrent_1  | [#] ip link delete dev wg0
qbittorrent_1  | 2021-11-25 05:34:51.383054 [INFO] VPN_ENABLED defined as 'yes'
qbittorrent_1  | 2021-11-25 05:34:51.417626 [INFO] The container is currently running iptables v1.8.7 (nf_tables).
qbittorrent_1  | 2021-11-25 05:34:51.448451 [INFO] LEGACY_IPTABLES is set to ''
qbittorrent_1  | 2021-11-25 05:34:51.474668 [INFO] Not making any changes to iptables version
qbittorrent_1  | 2021-11-25 05:34:51.502201 [INFO] VPN_TYPE defined as 'wireguard'
qbittorrent_1  | 2021-11-25 05:34:51.537115 [INFO] WireGuard config file is found at /config/wireguard/wg0.conf
qbittorrent_1  | dos2unix: converting file /config/wireguard/wg0.conf to Unix format...
qbittorrent_1  | 2021-11-25 05:34:51.570031 [INFO] VPN remote line defined as 'se-sto.pvdata.host:3389'
qbittorrent_1  | 2021-11-25 05:34:51.601249 [INFO] VPN_REMOTE defined as 'se-sto.pvdata.host'
qbittorrent_1  | 2021-11-25 05:34:51.630376 [INFO] VPN_PORT defined as '3389'
qbittorrent_1  | 2021-11-25 05:34:51.662351 [INFO] VPN_PROTOCOL set as 'udp', since WireGuard is always udp.
qbittorrent_1  | 2021-11-25 05:34:51.692961 [INFO] VPN_DEVICE_TYPE set as 'wg0', since WireGuard will always be wg0.
qbittorrent_1  | 2021-11-25 05:34:51.723607 [INFO] LAN_NETWORK defined as '192.168.1.1/23'
qbittorrent_1  | 2021-11-25 05:34:51.757373 [WARNING] NAME_SERVERS not defined (via -e NAME_SERVERS), defaulting to CloudFlare and Google name servers
qbittorrent_1  | 2021-11-25 05:34:51.788243 [INFO] Adding 1.1.1.1 to resolv.conf
qbittorrent_1  | 2021-11-25 05:34:51.818861 [INFO] Adding 8.8.8.8 to resolv.conf
qbittorrent_1  | 2021-11-25 05:34:51.853037 [INFO] Adding 1.0.0.1 to resolv.conf
qbittorrent_1  | 2021-11-25 05:34:51.886730 [INFO] Adding 8.8.4.4 to resolv.conf
qbittorrent_1  | 2021-11-25 05:34:51.918840 [INFO] PUID not defined. Defaulting to root user
qbittorrent_1  | 2021-11-25 05:34:51.950894 [INFO] PGID not defined. Defaulting to root group
qbittorrent_1  | 2021-11-25 05:34:51.983429 [INFO] Starting WireGuard...
qbittorrent_1  | Warning: `/config/wireguard/wg0.conf' is world accessible
qbittorrent_1  | [#] ip link add wg0 type wireguard
qbittorrent_1  | [#] wg setconf wg0 /dev/fd/63
qbittorrent_1  | [#] ip -4 address add 10.34.42.31/16 dev wg0
qbittorrent_1  | [#] ip link set mtu 1420 up dev wg0
qbittorrent_1  | [#] resolvconf -a wg0 -m 0 -x
qbittorrent_1  | [#] wg set wg0 fwmark 51820
qbittorrent_1  | [#] ip -6 route add ::/0 dev wg0 table 51820
qbittorrent_1  | Error: IPv6 is disabled on nexthop device.
qbittorrent_1  | [#] resolvconf -d wg0 -f
qbittorrent_1  | [#] ip link delete dev wg0
qbittorrent_1  | 2021-11-25 05:34:55.979571 [INFO] VPN_ENABLED defined as 'yes'
qbittorrent_1  | 2021-11-25 05:34:56.012027 [INFO] The container is currently running iptables v1.8.7 (nf_tables).
qbittorrent_1  | 2021-11-25 05:34:56.044215 [INFO] LEGACY_IPTABLES is set to ''
qbittorrent_1  | 2021-11-25 05:34:56.076883 [INFO] Not making any changes to iptables version
qbittorrent_1  | 2021-11-25 05:34:56.108661 [INFO] VPN_TYPE defined as 'wireguard'
qbittorrent_1  | 2021-11-25 05:34:56.144336 [INFO] WireGuard config file is found at /config/wireguard/wg0.conf
qbittorrent_1  | dos2unix: converting file /config/wireguard/wg0.conf to Unix format...
qbittorrent_1  | 2021-11-25 05:34:56.176904 [INFO] VPN remote line defined as 'se-sto.pvdata.host:3389'
qbittorrent_1  | 2021-11-25 05:34:56.205228 [INFO] VPN_REMOTE defined as 'se-sto.pvdata.host'
qbittorrent_1  | 2021-11-25 05:34:56.238720 [INFO] VPN_PORT defined as '3389'
qbittorrent_1  | 2021-11-25 05:34:56.270713 [INFO] VPN_PROTOCOL set as 'udp', since WireGuard is always udp.
qbittorrent_1  | 2021-11-25 05:34:56.302639 [INFO] VPN_DEVICE_TYPE set as 'wg0', since WireGuard will always be wg0.
qbittorrent_1  | 2021-11-25 05:34:56.335926 [INFO] LAN_NETWORK defined as '192.168.1.1/23'
qbittorrent_1  | 2021-11-25 05:34:56.366133 [WARNING] NAME_SERVERS not defined (via -e NAME_SERVERS), defaulting to CloudFlare and Google name servers
qbittorrent_1  | 2021-11-25 05:34:56.401347 [INFO] Adding 1.1.1.1 to resolv.conf
qbittorrent_1  | 2021-11-25 05:34:56.435779 [INFO] Adding 8.8.8.8 to resolv.conf
qbittorrent_1  | 2021-11-25 05:34:56.470460 [INFO] Adding 1.0.0.1 to resolv.conf
qbittorrent_1  | 2021-11-25 05:34:56.501770 [INFO] Adding 8.8.4.4 to resolv.conf
qbittorrent_1  | 2021-11-25 05:34:56.533888 [INFO] PUID not defined. Defaulting to root user
qbittorrent_1  | 2021-11-25 05:34:56.560192 [INFO] PGID not defined. Defaulting to root group
qbittorrent_1  | 2021-11-25 05:34:56.591786 [INFO] Starting WireGuard...
qbittorrent_1  | Warning: `/config/wireguard/wg0.conf' is world accessible
qbittorrent_1  | [#] ip link add wg0 type wireguard
qbittorrent_1  | [#] wg setconf wg0 /dev/fd/63
qbittorrent_1  | [#] ip -4 address add 10.34.42.31/16 dev wg0
qbittorrent_1  | [#] ip link set mtu 1420 up dev wg0
qbittorrent_1  | [#] resolvconf -a wg0 -m 0 -x
qbittorrent_1  | [#] wg set wg0 fwmark 51820
qbittorrent_1  | [#] ip -6 route add ::/0 dev wg0 table 51820
qbittorrent_1  | Error: IPv6 is disabled on nexthop device.
qbittorrent_1  | [#] resolvconf -d wg0 -f
qbittorrent_1  | [#] ip link delete dev wg0
qbittorrent_1  | 2021-11-25 05:35:03.752346 [INFO] VPN_ENABLED defined as 'yes'
qbittorrent_1  | 2021-11-25 05:35:03.786463 [INFO] The container is currently running iptables v1.8.7 (nf_tables).
qbittorrent_1  | 2021-11-25 05:35:03.817520 [INFO] LEGACY_IPTABLES is set to ''
qbittorrent_1  | 2021-11-25 05:35:03.848183 [INFO] Not making any changes to iptables version
qbittorrent_1  | 2021-11-25 05:35:03.875463 [INFO] VPN_TYPE defined as 'wireguard'
qbittorrent_1  | 2021-11-25 05:35:03.909940 [INFO] WireGuard config file is found at /config/wireguard/wg0.conf
qbittorrent_1  | dos2unix: converting file /config/wireguard/wg0.conf to Unix format...
qbittorrent_1  | 2021-11-25 05:35:03.940938 [INFO] VPN remote line defined as 'se-sto.pvdata.host:3389'
qbittorrent_1  | 2021-11-25 05:35:03.973047 [INFO] VPN_REMOTE defined as 'se-sto.pvdata.host'
qbittorrent_1  | 2021-11-25 05:35:04.006041 [INFO] VPN_PORT defined as '3389'
qbittorrent_1  | 2021-11-25 05:35:04.037922 [INFO] VPN_PROTOCOL set as 'udp', since WireGuard is always udp.
qbittorrent_1  | 2021-11-25 05:35:04.064354 [INFO] VPN_DEVICE_TYPE set as 'wg0', since WireGuard will always be wg0.
qbittorrent_1  | 2021-11-25 05:35:04.098295 [INFO] LAN_NETWORK defined as '192.168.1.1/23'
qbittorrent_1  | 2021-11-25 05:35:04.133378 [WARNING] NAME_SERVERS not defined (via -e NAME_SERVERS), defaulting to CloudFlare and Google name servers
qbittorrent_1  | 2021-11-25 05:35:04.164383 [INFO] Adding 1.1.1.1 to resolv.conf
qbittorrent_1  | 2021-11-25 05:35:04.195497 [INFO] Adding 8.8.8.8 to resolv.conf
qbittorrent_1  | 2021-11-25 05:35:04.230110 [INFO] Adding 1.0.0.1 to resolv.conf
qbittorrent_1  | 2021-11-25 05:35:04.264793 [INFO] Adding 8.8.4.4 to resolv.conf
qbittorrent_1  | 2021-11-25 05:35:04.297139 [INFO] PUID not defined. Defaulting to root user
qbittorrent_1  | 2021-11-25 05:35:04.329306 [INFO] PGID not defined. Defaulting to root group
qbittorrent_1  | 2021-11-25 05:35:04.360098 [INFO] Starting WireGuard...
qbittorrent_1  | Warning: `/config/wireguard/wg0.conf' is world accessible
qbittorrent_1  | [#] ip link add wg0 type wireguard
qbittorrent_1  | [#] wg setconf wg0 /dev/fd/63
qbittorrent_1  | [#] ip -4 address add 10.34.42.31/16 dev wg0
qbittorrent_1  | [#] ip link set mtu 1420 up dev wg0
qbittorrent_1  | [#] resolvconf -a wg0 -m 0 -x
qbittorrent_1  | [#] wg set wg0 fwmark 51820
qbittorrent_1  | [#] ip -6 route add ::/0 dev wg0 table 51820
qbittorrent_1  | Error: IPv6 is disabled on nexthop device.
qbittorrent_1  | [#] resolvconf -d wg0 -f
qbittorrent_1  | [#] ip link delete dev wg0
qbittorrent_1  | 2021-11-25 05:35:17.866618 [INFO] VPN_ENABLED defined as 'yes'
qbittorrent_1  | 2021-11-25 05:35:17.899364 [INFO] The container is currently running iptables v1.8.7 (nf_tables).
qbittorrent_1  | 2021-11-25 05:35:17.931455 [INFO] LEGACY_IPTABLES is set to ''
qbittorrent_1  | 2021-11-25 05:35:17.962800 [INFO] Not making any changes to iptables version
qbittorrent_1  | 2021-11-25 05:35:17.995369 [INFO] VPN_TYPE defined as 'wireguard'
qbittorrent_1  | 2021-11-25 05:35:18.030807 [INFO] WireGuard config file is found at /config/wireguard/wg0.conf
qbittorrent_1  | dos2unix: converting file /config/wireguard/wg0.conf to Unix format...
qbittorrent_1  | 2021-11-25 05:35:18.061256 [INFO] VPN remote line defined as 'se-sto.pvdata.host:3389'
qbittorrent_1  | 2021-11-25 05:35:18.091801 [INFO] VPN_REMOTE defined as 'se-sto.pvdata.host'
qbittorrent_1  | 2021-11-25 05:35:18.124660 [INFO] VPN_PORT defined as '3389'
qbittorrent_1  | 2021-11-25 05:35:18.151514 [INFO] VPN_PROTOCOL set as 'udp', since WireGuard is always udp.
qbittorrent_1  | 2021-11-25 05:35:18.179239 [INFO] VPN_DEVICE_TYPE set as 'wg0', since WireGuard will always be wg0.
qbittorrent_1  | 2021-11-25 05:35:18.210184 [INFO] LAN_NETWORK defined as '192.168.1.1/23'
qbittorrent_1  | 2021-11-25 05:35:18.243260 [WARNING] NAME_SERVERS not defined (via -e NAME_SERVERS), defaulting to CloudFlare and Google name servers
qbittorrent_1  | 2021-11-25 05:35:18.277800 [INFO] Adding 1.1.1.1 to resolv.conf
qbittorrent_1  | 2021-11-25 05:35:18.308379 [INFO] Adding 8.8.8.8 to resolv.conf
qbittorrent_1  | 2021-11-25 05:35:18.338206 [INFO] Adding 1.0.0.1 to resolv.conf
qbittorrent_1  | 2021-11-25 05:35:18.368443 [INFO] Adding 8.8.4.4 to resolv.conf
qbittorrent_1  | 2021-11-25 05:35:18.400443 [INFO] PUID not defined. Defaulting to root user
qbittorrent_1  | 2021-11-25 05:35:18.431586 [INFO] PGID not defined. Defaulting to root group
qbittorrent_1  | 2021-11-25 05:35:18.464262 [INFO] Starting WireGuard...
qbittorrent_1  | Warning: `/config/wireguard/wg0.conf' is world accessible
qbittorrent_1  | [#] ip link add wg0 type wireguard
qbittorrent_1  | [#] wg setconf wg0 /dev/fd/63
qbittorrent_1  | [#] ip -4 address add 10.34.42.31/16 dev wg0
qbittorrent_1  | [#] ip link set mtu 1420 up dev wg0
qbittorrent_1  | [#] resolvconf -a wg0 -m 0 -x
qbittorrent_1  | [#] wg set wg0 fwmark 51820
qbittorrent_1  | [#] ip -6 route add ::/0 dev wg0 table 51820
qbittorrent_1  | Error: IPv6 is disabled on nexthop device.
qbittorrent_1  | [#] resolvconf -d wg0 -f
qbittorrent_1  | [#] ip link delete dev wg0
qbittorrent_1  | 2021-11-25 05:35:44.848623 [INFO] VPN_ENABLED defined as 'yes'
qbittorrent_1  | 2021-11-25 05:35:44.882476 [INFO] The container is currently running iptables v1.8.7 (nf_tables).
qbittorrent_1  | 2021-11-25 05:35:44.913484 [INFO] LEGACY_IPTABLES is set to ''
qbittorrent_1  | 2021-11-25 05:35:44.945195 [INFO] Not making any changes to iptables version
qbittorrent_1  | 2021-11-25 05:35:44.972614 [INFO] VPN_TYPE defined as 'wireguard'
qbittorrent_1  | 2021-11-25 05:35:45.006509 [INFO] WireGuard config file is found at /config/wireguard/wg0.conf
qbittorrent_1  | dos2unix: converting file /config/wireguard/wg0.conf to Unix format...
qbittorrent_1  | 2021-11-25 05:35:45.040013 [INFO] VPN remote line defined as 'se-sto.pvdata.host:3389'
qbittorrent_1  | 2021-11-25 05:35:45.069982 [INFO] VPN_REMOTE defined as 'se-sto.pvdata.host'
qbittorrent_1  | 2021-11-25 05:35:45.099558 [INFO] VPN_PORT defined as '3389'
qbittorrent_1  | 2021-11-25 05:35:45.126540 [INFO] VPN_PROTOCOL set as 'udp', since WireGuard is always udp.
qbittorrent_1  | 2021-11-25 05:35:45.156704 [INFO] VPN_DEVICE_TYPE set as 'wg0', since WireGuard will always be wg0.
qbittorrent_1  | 2021-11-25 05:35:45.187942 [INFO] LAN_NETWORK defined as '192.168.1.1/23'
qbittorrent_1  | 2021-11-25 05:35:45.222594 [WARNING] NAME_SERVERS not defined (via -e NAME_SERVERS), defaulting to CloudFlare and Google name servers
qbittorrent_1  | 2021-11-25 05:35:45.255592 [INFO] Adding 1.1.1.1 to resolv.conf
qbittorrent_1  | 2021-11-25 05:35:45.289743 [INFO] Adding 8.8.8.8 to resolv.conf
qbittorrent_1  | 2021-11-25 05:35:45.320140 [INFO] Adding 1.0.0.1 to resolv.conf
qbittorrent_1  | 2021-11-25 05:35:45.354517 [INFO] Adding 8.8.4.4 to resolv.conf
qbittorrent_1  | 2021-11-25 05:35:45.386343 [INFO] PUID not defined. Defaulting to root user
qbittorrent_1  | 2021-11-25 05:35:45.418754 [INFO] PGID not defined. Defaulting to root group
qbittorrent_1  | 2021-11-25 05:35:45.451019 [INFO] Starting WireGuard...
qbittorrent_1  | Warning: `/config/wireguard/wg0.conf' is world accessible
qbittorrent_1  | [#] ip link add wg0 type wireguard
qbittorrent_1  | [#] wg setconf wg0 /dev/fd/63
qbittorrent_1  | [#] ip -4 address add 10.34.42.31/16 dev wg0
qbittorrent_1  | [#] ip link set mtu 1420 up dev wg0
qbittorrent_1  | [#] resolvconf -a wg0 -m 0 -x
qbittorrent_1  | [#] wg set wg0 fwmark 51820
qbittorrent_1  | [#] ip -6 route add ::/0 dev wg0 table 51820
qbittorrent_1  | Error: IPv6 is disabled on nexthop device.
qbittorrent_1  | [#] resolvconf -d wg0 -f
qbittorrent_1  | [#] ip link delete dev wg0
qbittorrent_1  | 2021-11-25 05:36:37.433746 [INFO] VPN_ENABLED defined as 'yes'
qbittorrent_1  | 2021-11-25 05:36:37.462951 [INFO] The container is currently running iptables v1.8.7 (nf_tables).
qbittorrent_1  | 2021-11-25 05:36:37.494930 [INFO] LEGACY_IPTABLES is set to ''
qbittorrent_1  | 2021-11-25 05:36:37.527072 [INFO] Not making any changes to iptables version
qbittorrent_1  | 2021-11-25 05:36:37.559831 [INFO] VPN_TYPE defined as 'wireguard'
qbittorrent_1  | 2021-11-25 05:36:37.595863 [INFO] WireGuard config file is found at /config/wireguard/wg0.conf
qbittorrent_1  | dos2unix: converting file /config/wireguard/wg0.conf to Unix format...
qbittorrent_1  | 2021-11-25 05:36:37.625655 [INFO] VPN remote line defined as 'se-sto.pvdata.host:3389'
qbittorrent_1  | 2021-11-25 05:36:37.654475 [INFO] VPN_REMOTE defined as 'se-sto.pvdata.host'
qbittorrent_1  | 2021-11-25 05:36:37.682846 [INFO] VPN_PORT defined as '3389'
qbittorrent_1  | 2021-11-25 05:36:37.709958 [INFO] VPN_PROTOCOL set as 'udp', since WireGuard is always udp.
qbittorrent_1  | 2021-11-25 05:36:37.736732 [INFO] VPN_DEVICE_TYPE set as 'wg0', since WireGuard will always be wg0.
qbittorrent_1  | 2021-11-25 05:36:37.766831 [INFO] LAN_NETWORK defined as '192.168.1.1/23'
qbittorrent_1  | 2021-11-25 05:36:37.796869 [WARNING] NAME_SERVERS not defined (via -e NAME_SERVERS), defaulting to CloudFlare and Google name servers
qbittorrent_1  | 2021-11-25 05:36:37.827373 [INFO] Adding 1.1.1.1 to resolv.conf
qbittorrent_1  | 2021-11-25 05:36:37.862250 [INFO] Adding 8.8.8.8 to resolv.conf
qbittorrent_1  | 2021-11-25 05:36:37.895300 [INFO] Adding 1.0.0.1 to resolv.conf
qbittorrent_1  | 2021-11-25 05:36:37.929855 [INFO] Adding 8.8.4.4 to resolv.conf
qbittorrent_1  | 2021-11-25 05:36:37.962118 [INFO] PUID not defined. Defaulting to root user
qbittorrent_1  | 2021-11-25 05:36:37.988216 [INFO] PGID not defined. Defaulting to root group
qbittorrent_1  | 2021-11-25 05:36:38.020405 [INFO] Starting WireGuard...
qbittorrent_1  | Warning: `/config/wireguard/wg0.conf' is world accessible
qbittorrent_1  | [#] ip link add wg0 type wireguard
qbittorrent_1  | [#] wg setconf wg0 /dev/fd/63
qbittorrent_1  | [#] ip -4 address add 10.34.42.31/16 dev wg0
qbittorrent_1  | [#] ip link set mtu 1420 up dev wg0
qbittorrent_1  | [#] resolvconf -a wg0 -m 0 -x
qbittorrent_1  | [#] wg set wg0 fwmark 51820
qbittorrent_1  | [#] ip -6 route add ::/0 dev wg0 table 51820
qbittorrent_1  | Error: IPv6 is disabled on nexthop device.
qbittorrent_1  | [#] resolvconf -d wg0 -f
qbittorrent_1  | [#] ip link delete dev wg0
qbittorrent_1  | 2021-11-25 05:37:38.793499 [INFO] VPN_ENABLED defined as 'yes'
qbittorrent_1  | 2021-11-25 05:37:38.826592 [INFO] The container is currently running iptables v1.8.7 (nf_tables).
qbittorrent_1  | 2021-11-25 05:37:38.856854 [INFO] LEGACY_IPTABLES is set to ''
qbittorrent_1  | 2021-11-25 05:37:38.883156 [INFO] Not making any changes to iptables version
qbittorrent_1  | 2021-11-25 05:37:38.910427 [INFO] VPN_TYPE defined as 'wireguard'
qbittorrent_1  | 2021-11-25 05:37:38.947855 [INFO] WireGuard config file is found at /config/wireguard/wg0.conf
qbittorrent_1  | dos2unix: converting file /config/wireguard/wg0.conf to Unix format...
qbittorrent_1  | 2021-11-25 05:37:38.977772 [INFO] VPN remote line defined as 'se-sto.pvdata.host:3389'
qbittorrent_1  | 2021-11-25 05:37:39.006972 [INFO] VPN_REMOTE defined as 'se-sto.pvdata.host'
qbittorrent_1  | 2021-11-25 05:37:39.035109 [INFO] VPN_PORT defined as '3389'
qbittorrent_1  | 2021-11-25 05:37:39.061966 [INFO] VPN_PROTOCOL set as 'udp', since WireGuard is always udp.
qbittorrent_1  | 2021-11-25 05:37:39.089031 [INFO] VPN_DEVICE_TYPE set as 'wg0', since WireGuard will always be wg0.
qbittorrent_1  | 2021-11-25 05:37:39.117801 [INFO] LAN_NETWORK defined as '192.168.1.1/23'
qbittorrent_1  | 2021-11-25 05:37:39.147400 [WARNING] NAME_SERVERS not defined (via -e NAME_SERVERS), defaulting to CloudFlare and Google name servers
qbittorrent_1  | 2021-11-25 05:37:39.178210 [INFO] Adding 1.1.1.1 to resolv.conf
qbittorrent_1  | 2021-11-25 05:37:39.207962 [INFO] Adding 8.8.8.8 to resolv.conf
qbittorrent_1  | 2021-11-25 05:37:39.242860 [INFO] Adding 1.0.0.1 to resolv.conf
qbittorrent_1  | 2021-11-25 05:37:39.277329 [INFO] Adding 8.8.4.4 to resolv.conf
qbittorrent_1  | 2021-11-25 05:37:39.309372 [INFO] PUID not defined. Defaulting to root user
qbittorrent_1  | 2021-11-25 05:37:39.335679 [INFO] PGID not defined. Defaulting to root group
qbittorrent_1  | 2021-11-25 05:37:39.368153 [INFO] Starting WireGuard...
qbittorrent_1  | Warning: `/config/wireguard/wg0.conf' is world accessible
qbittorrent_1  | [#] ip link add wg0 type wireguard
qbittorrent_1  | [#] wg setconf wg0 /dev/fd/63
qbittorrent_1  | [#] ip -4 address add 10.34.42.31/16 dev wg0
qbittorrent_1  | [#] ip link set mtu 1420 up dev wg0
qbittorrent_1  | [#] resolvconf -a wg0 -m 0 -x
qbittorrent_1  | [#] wg set wg0 fwmark 51820
qbittorrent_1  | [#] ip -6 route add ::/0 dev wg0 table 51820
qbittorrent_1  | Error: IPv6 is disabled on nexthop device.
qbittorrent_1  | [#] resolvconf -d wg0 -f
qbittorrent_1  | [#] ip link delete dev wg0
qbittorrent_1  | 2021-11-25 05:38:40.180264 [INFO] VPN_ENABLED defined as 'yes'
qbittorrent_1  | 2021-11-25 05:38:40.214938 [INFO] The container is currently running iptables v1.8.7 (nf_tables).
qbittorrent_1  | 2021-11-25 05:38:40.247070 [INFO] LEGACY_IPTABLES is set to ''
qbittorrent_1  | 2021-11-25 05:38:40.279462 [INFO] Not making any changes to iptables version
qbittorrent_1  | 2021-11-25 05:38:40.312427 [INFO] VPN_TYPE defined as 'wireguard'
qbittorrent_1  | 2021-11-25 05:38:40.348311 [INFO] WireGuard config file is found at /config/wireguard/wg0.conf
qbittorrent_1  | dos2unix: converting file /config/wireguard/wg0.conf to Unix format...
qbittorrent_1  | 2021-11-25 05:38:40.379713 [INFO] VPN remote line defined as 'se-sto.pvdata.host:3389'
qbittorrent_1  | 2021-11-25 05:38:40.408830 [INFO] VPN_REMOTE defined as 'se-sto.pvdata.host'
qbittorrent_1  | 2021-11-25 05:38:40.437296 [INFO] VPN_PORT defined as '3389'
qbittorrent_1  | 2021-11-25 05:38:40.464807 [INFO] VPN_PROTOCOL set as 'udp', since WireGuard is always udp.
qbittorrent_1  | 2021-11-25 05:38:40.493534 [INFO] VPN_DEVICE_TYPE set as 'wg0', since WireGuard will always be wg0.
qbittorrent_1  | 2021-11-25 05:38:40.525864 [INFO] LAN_NETWORK defined as '192.168.1.1/23'
qbittorrent_1  | 2021-11-25 05:38:40.555382 [WARNING] NAME_SERVERS not defined (via -e NAME_SERVERS), defaulting to CloudFlare and Google name servers
qbittorrent_1  | 2021-11-25 05:38:40.585037 [INFO] Adding 1.1.1.1 to resolv.conf
qbittorrent_1  | 2021-11-25 05:38:40.614563 [INFO] Adding 8.8.8.8 to resolv.conf
qbittorrent_1  | 2021-11-25 05:38:40.646465 [INFO] Adding 1.0.0.1 to resolv.conf
qbittorrent_1  | 2021-11-25 05:38:40.680074 [INFO] Adding 8.8.4.4 to resolv.conf
qbittorrent_1  | 2021-11-25 05:38:40.711681 [INFO] PUID not defined. Defaulting to root user
qbittorrent_1  | 2021-11-25 05:38:40.743960 [INFO] PGID not defined. Defaulting to root group
qbittorrent_1  | 2021-11-25 05:38:40.775636 [INFO] Starting WireGuard...
qbittorrent_1  | Warning: `/config/wireguard/wg0.conf' is world accessible
qbittorrent_1  | [#] ip link add wg0 type wireguard
qbittorrent_1  | [#] wg setconf wg0 /dev/fd/63
qbittorrent_1  | [#] ip -4 address add 10.34.42.31/16 dev wg0
qbittorrent_1  | [#] ip link set mtu 1420 up dev wg0
qbittorrent_1  | [#] resolvconf -a wg0 -m 0 -x
qbittorrent_1  | [#] wg set wg0 fwmark 51820
qbittorrent_1  | [#] ip -6 route add ::/0 dev wg0 table 51820
qbittorrent_1  | Error: IPv6 is disabled on nexthop device.
qbittorrent_1  | [#] resolvconf -d wg0 -f
qbittorrent_1  | [#] ip link delete dev wg0
qbittorrent_1  | 2021-11-25 05:39:41.556372 [INFO] VPN_ENABLED defined as 'yes'
qbittorrent_1  | 2021-11-25 05:39:41.590618 [INFO] The container is currently running iptables v1.8.7 (nf_tables).
qbittorrent_1  | 2021-11-25 05:39:41.619274 [INFO] LEGACY_IPTABLES is set to ''
qbittorrent_1  | 2021-11-25 05:39:41.651406 [INFO] Not making any changes to iptables version
qbittorrent_1  | 2021-11-25 05:39:41.684228 [INFO] VPN_TYPE defined as 'wireguard'
qbittorrent_1  | 2021-11-25 05:39:41.720221 [INFO] WireGuard config file is found at /config/wireguard/wg0.conf
qbittorrent_1  | dos2unix: converting file /config/wireguard/wg0.conf to Unix format...
qbittorrent_1  | 2021-11-25 05:39:41.750507 [INFO] VPN remote line defined as 'se-sto.pvdata.host:3389'
qbittorrent_1  | 2021-11-25 05:39:41.780350 [INFO] VPN_REMOTE defined as 'se-sto.pvdata.host'
qbittorrent_1  | 2021-11-25 05:39:41.808196 [INFO] VPN_PORT defined as '3389'
qbittorrent_1  | 2021-11-25 05:39:41.834787 [INFO] VPN_PROTOCOL set as 'udp', since WireGuard is always udp.
qbittorrent_1  | 2021-11-25 05:39:41.862672 [INFO] VPN_DEVICE_TYPE set as 'wg0', since WireGuard will always be wg0.
qbittorrent_1  | 2021-11-25 05:39:41.893521 [INFO] LAN_NETWORK defined as '192.168.1.1/23'
qbittorrent_1  | 2021-11-25 05:39:41.922217 [WARNING] NAME_SERVERS not defined (via -e NAME_SERVERS), defaulting to CloudFlare and Google name servers
qbittorrent_1  | 2021-11-25 05:39:41.952231 [INFO] Adding 1.1.1.1 to resolv.conf
qbittorrent_1  | 2021-11-25 05:39:41.985232 [INFO] Adding 8.8.8.8 to resolv.conf
qbittorrent_1  | 2021-11-25 05:39:42.018806 [INFO] Adding 1.0.0.1 to resolv.conf
qbittorrent_1  | 2021-11-25 05:39:42.051779 [INFO] Adding 8.8.4.4 to resolv.conf
qbittorrent_1  | 2021-11-25 05:39:42.084880 [INFO] PUID not defined. Defaulting to root user
qbittorrent_1  | 2021-11-25 05:39:42.116117 [INFO] PGID not defined. Defaulting to root group
qbittorrent_1  | 2021-11-25 05:39:42.148590 [INFO] Starting WireGuard...
qbittorrent_1  | Warning: `/config/wireguard/wg0.conf' is world accessible
qbittorrent_1  | [#] ip link add wg0 type wireguard
qbittorrent_1  | [#] wg setconf wg0 /dev/fd/63
qbittorrent_1  | [#] ip -4 address add 10.34.42.31/16 dev wg0
qbittorrent_1  | [#] ip link set mtu 1420 up dev wg0
qbittorrent_1  | [#] resolvconf -a wg0 -m 0 -x
qbittorrent_1  | [#] wg set wg0 fwmark 51820
qbittorrent_1  | [#] ip -6 route add ::/0 dev wg0 table 51820
qbittorrent_1  | Error: IPv6 is disabled on nexthop device.
qbittorrent_1  | [#] resolvconf -d wg0 -f
qbittorrent_1  | [#] ip link delete dev wg0
qbittorrent_1  | 2021-11-25 05:40:42.913426 [INFO] VPN_ENABLED defined as 'yes'
qbittorrent_1  | 2021-11-25 05:40:42.947705 [INFO] The container is currently running iptables v1.8.7 (nf_tables).
qbittorrent_1  | 2021-11-25 05:40:42.980897 [INFO] LEGACY_IPTABLES is set to ''
qbittorrent_1  | 2021-11-25 05:40:43.012750 [INFO] Not making any changes to iptables version
qbittorrent_1  | 2021-11-25 05:40:43.045491 [INFO] VPN_TYPE defined as 'wireguard'
qbittorrent_1  | 2021-11-25 05:40:43.081565 [INFO] WireGuard config file is found at /config/wireguard/wg0.conf
qbittorrent_1  | dos2unix: converting file /config/wireguard/wg0.conf to Unix format...
qbittorrent_1  | 2021-11-25 05:40:43.112004 [INFO] VPN remote line defined as 'se-sto.pvdata.host:3389'
qbittorrent_1  | 2021-11-25 05:40:43.141282 [INFO] VPN_REMOTE defined as 'se-sto.pvdata.host'
qbittorrent_1  | 2021-11-25 05:40:43.170083 [INFO] VPN_PORT defined as '3389'
qbittorrent_1  | 2021-11-25 05:40:43.197357 [INFO] VPN_PROTOCOL set as 'udp', since WireGuard is always udp.
qbittorrent_1  | 2021-11-25 05:40:43.224470 [INFO] VPN_DEVICE_TYPE set as 'wg0', since WireGuard will always be wg0.
qbittorrent_1  | 2021-11-25 05:40:43.253189 [INFO] LAN_NETWORK defined as '192.168.1.1/23'
qbittorrent_1  | 2021-11-25 05:40:43.283044 [WARNING] NAME_SERVERS not defined (via -e NAME_SERVERS), defaulting to CloudFlare and Google name servers
qbittorrent_1  | 2021-11-25 05:40:43.313706 [INFO] Adding 1.1.1.1 to resolv.conf
qbittorrent_1  | 2021-11-25 05:40:43.344255 [INFO] Adding 8.8.8.8 to resolv.conf
qbittorrent_1  | 2021-11-25 05:40:43.378087 [INFO] Adding 1.0.0.1 to resolv.conf
qbittorrent_1  | 2021-11-25 05:40:43.409650 [INFO] Adding 8.8.4.4 to resolv.conf
qbittorrent_1  | 2021-11-25 05:40:43.441449 [INFO] PUID not defined. Defaulting to root user
qbittorrent_1  | 2021-11-25 05:40:43.473220 [INFO] PGID not defined. Defaulting to root group
qbittorrent_1  | 2021-11-25 05:40:43.505296 [INFO] Starting WireGuard...
qbittorrent_1  | Warning: `/config/wireguard/wg0.conf' is world accessible
qbittorrent_1  | [#] ip link add wg0 type wireguard
qbittorrent_1  | [#] wg setconf wg0 /dev/fd/63
qbittorrent_1  | [#] ip -4 address add 10.34.42.31/16 dev wg0
qbittorrent_1  | [#] ip link set mtu 1420 up dev wg0
qbittorrent_1  | [#] resolvconf -a wg0 -m 0 -x
qbittorrent_1  | [#] wg set wg0 fwmark 51820
qbittorrent_1  | [#] ip -6 route add ::/0 dev wg0 table 51820
qbittorrent_1  | Error: IPv6 is disabled on nexthop device.
qbittorrent_1  | [#] resolvconf -d wg0 -f
qbittorrent_1  | [#] ip link delete dev wg0
qbittorrent_1  | 2021-11-25 05:41:44.320612 [INFO] VPN_ENABLED defined as 'yes'
qbittorrent_1  | 2021-11-25 05:41:44.352467 [INFO] The container is currently running iptables v1.8.7 (nf_tables).
qbittorrent_1  | 2021-11-25 05:41:44.385488 [INFO] LEGACY_IPTABLES is set to ''
qbittorrent_1  | 2021-11-25 05:41:44.416259 [INFO] Not making any changes to iptables version
qbittorrent_1  | 2021-11-25 05:41:44.447937 [INFO] VPN_TYPE defined as 'wireguard'
qbittorrent_1  | 2021-11-25 05:41:44.483438 [INFO] WireGuard config file is found at /config/wireguard/wg0.conf
qbittorrent_1  | dos2unix: converting file /config/wireguard/wg0.conf to Unix format...
qbittorrent_1  | 2021-11-25 05:41:44.516919 [INFO] VPN remote line defined as 'se-sto.pvdata.host:3389'
qbittorrent_1  | 2021-11-25 05:41:44.546602 [INFO] VPN_REMOTE defined as 'se-sto.pvdata.host'
qbittorrent_1  | 2021-11-25 05:41:44.579525 [INFO] VPN_PORT defined as '3389'
qbittorrent_1  | 2021-11-25 05:41:44.607083 [INFO] VPN_PROTOCOL set as 'udp', since WireGuard is always udp.
qbittorrent_1  | 2021-11-25 05:41:44.635767 [INFO] VPN_DEVICE_TYPE set as 'wg0', since WireGuard will always be wg0.
qbittorrent_1  | 2021-11-25 05:41:44.665922 [INFO] LAN_NETWORK defined as '192.168.1.1/23'
qbittorrent_1  | 2021-11-25 05:41:44.700450 [WARNING] NAME_SERVERS not defined (via -e NAME_SERVERS), defaulting to CloudFlare and Google name servers
qbittorrent_1  | 2021-11-25 05:41:44.734154 [INFO] Adding 1.1.1.1 to resolv.conf
qbittorrent_1  | 2021-11-25 05:41:44.769606 [INFO] Adding 8.8.8.8 to resolv.conf
qbittorrent_1  | 2021-11-25 05:41:44.800787 [INFO] Adding 1.0.0.1 to resolv.conf
qbittorrent_1  | 2021-11-25 05:41:44.834113 [INFO] Adding 8.8.4.4 to resolv.conf
qbittorrent_1  | 2021-11-25 05:41:44.865415 [INFO] PUID not defined. Defaulting to root user
qbittorrent_1  | 2021-11-25 05:41:44.897634 [INFO] PGID not defined. Defaulting to root group
qbittorrent_1  | 2021-11-25 05:41:44.925502 [INFO] Starting WireGuard...
qbittorrent_1  | Warning: `/config/wireguard/wg0.conf' is world accessible
qbittorrent_1  | [#] ip link add wg0 type wireguard
qbittorrent_1  | [#] wg setconf wg0 /dev/fd/63
qbittorrent_1  | [#] ip -4 address add 10.34.42.31/16 dev wg0
qbittorrent_1  | [#] ip link set mtu 1420 up dev wg0
qbittorrent_1  | [#] resolvconf -a wg0 -m 0 -x
qbittorrent_1  | [#] wg set wg0 fwmark 51820
qbittorrent_1  | [#] ip -6 route add ::/0 dev wg0 table 51820
qbittorrent_1  | Error: IPv6 is disabled on nexthop device.
qbittorrent_1  | [#] resolvconf -d wg0 -f
qbittorrent_1  | [#] ip link delete dev wg0
qbittorrent_1  | 2021-11-25 05:42:45.694638 [INFO] VPN_ENABLED defined as 'yes'
qbittorrent_1  | 2021-11-25 05:42:45.726439 [INFO] The container is currently running iptables v1.8.7 (nf_tables).
qbittorrent_1  | 2021-11-25 05:42:45.757465 [INFO] LEGACY_IPTABLES is set to ''
qbittorrent_1  | 2021-11-25 05:42:45.789405 [INFO] Not making any changes to iptables version
qbittorrent_1  | 2021-11-25 05:42:45.821368 [INFO] VPN_TYPE defined as 'wireguard'
qbittorrent_1  | 2021-11-25 05:42:45.857406 [INFO] WireGuard config file is found at /config/wireguard/wg0.conf
qbittorrent_1  | dos2unix: converting file /config/wireguard/wg0.conf to Unix format...
qbittorrent_1  | 2021-11-25 05:42:45.890564 [INFO] VPN remote line defined as 'se-sto.pvdata.host:3389'
qbittorrent_1  | 2021-11-25 05:42:45.924775 [INFO] VPN_REMOTE defined as 'se-sto.pvdata.host'
qbittorrent_1  | 2021-11-25 05:42:45.955284 [INFO] VPN_PORT defined as '3389'
qbittorrent_1  | 2021-11-25 05:42:45.981950 [INFO] VPN_PROTOCOL set as 'udp', since WireGuard is always udp.
qbittorrent_1  | 2021-11-25 05:42:46.012103 [INFO] VPN_DEVICE_TYPE set as 'wg0', since WireGuard will always be wg0.
qbittorrent_1  | 2021-11-25 05:42:46.044754 [INFO] LAN_NETWORK defined as '192.168.1.1/23'
qbittorrent_1  | 2021-11-25 05:42:46.076959 [WARNING] NAME_SERVERS not defined (via -e NAME_SERVERS), defaulting to CloudFlare and Google name servers
qbittorrent_1  | 2021-11-25 05:42:46.112845 [INFO] Adding 1.1.1.1 to resolv.conf
qbittorrent_1  | 2021-11-25 05:42:46.144920 [INFO] Adding 8.8.8.8 to resolv.conf
qbittorrent_1  | 2021-11-25 05:42:46.179017 [INFO] Adding 1.0.0.1 to resolv.conf
qbittorrent_1  | 2021-11-25 05:42:46.212531 [INFO] Adding 8.8.4.4 to resolv.conf
qbittorrent_1  | 2021-11-25 05:42:46.245981 [INFO] PUID not defined. Defaulting to root user
qbittorrent_1  | 2021-11-25 05:42:46.277825 [INFO] PGID not defined. Defaulting to root group
qbittorrent_1  | 2021-11-25 05:42:46.309848 [INFO] Starting WireGuard...
qbittorrent_1  | Warning: `/config/wireguard/wg0.conf' is world accessible
qbittorrent_1  | [#] ip link add wg0 type wireguard
qbittorrent_1  | [#] wg setconf wg0 /dev/fd/63
qbittorrent_1  | [#] ip -4 address add 10.34.42.31/16 dev wg0
qbittorrent_1  | [#] ip link set mtu 1420 up dev wg0
qbittorrent_1  | [#] resolvconf -a wg0 -m 0 -x
qbittorrent_1  | [#] wg set wg0 fwmark 51820
qbittorrent_1  | [#] ip -6 route add ::/0 dev wg0 table 51820
qbittorrent_1  | Error: IPv6 is disabled on nexthop device.
qbittorrent_1  | [#] resolvconf -d wg0 -f
qbittorrent_1  | [#] ip link delete dev wg0
qbittorrent_1  | 2021-11-25 05:43:47.083848 [INFO] VPN_ENABLED defined as 'yes'
qbittorrent_1  | 2021-11-25 05:43:47.117195 [INFO] The container is currently running iptables v1.8.7 (nf_tables).
qbittorrent_1  | 2021-11-25 05:43:47.149242 [INFO] LEGACY_IPTABLES is set to ''
qbittorrent_1  | 2021-11-25 05:43:47.181559 [INFO] Not making any changes to iptables version
qbittorrent_1  | 2021-11-25 05:43:47.214995 [INFO] VPN_TYPE defined as 'wireguard'
qbittorrent_1  | 2021-11-25 05:43:47.250352 [INFO] WireGuard config file is found at /config/wireguard/wg0.conf
qbittorrent_1  | dos2unix: converting file /config/wireguard/wg0.conf to Unix format...
qbittorrent_1  | 2021-11-25 05:43:47.283138 [INFO] VPN remote line defined as 'se-sto.pvdata.host:3389'
qbittorrent_1  | 2021-11-25 05:43:47.312870 [INFO] VPN_REMOTE defined as 'se-sto.pvdata.host'
qbittorrent_1  | 2021-11-25 05:43:47.342599 [INFO] VPN_PORT defined as '3389'
qbittorrent_1  | 2021-11-25 05:43:47.369498 [INFO] VPN_PROTOCOL set as 'udp', since WireGuard is always udp.
qbittorrent_1  | 2021-11-25 05:43:47.397372 [INFO] VPN_DEVICE_TYPE set as 'wg0', since WireGuard will always be wg0.
qbittorrent_1  | 2021-11-25 05:43:47.426073 [INFO] LAN_NETWORK defined as '192.168.1.1/23'
qbittorrent_1  | 2021-11-25 05:43:47.456247 [WARNING] NAME_SERVERS not defined (via -e NAME_SERVERS), defaulting to CloudFlare and Google name servers
qbittorrent_1  | 2021-11-25 05:43:47.493335 [INFO] Adding 1.1.1.1 to resolv.conf
qbittorrent_1  | 2021-11-25 05:43:47.524121 [INFO] Adding 8.8.8.8 to resolv.conf
qbittorrent_1  | 2021-11-25 05:43:47.558282 [INFO] Adding 1.0.0.1 to resolv.conf
qbittorrent_1  | 2021-11-25 05:43:47.593502 [INFO] Adding 8.8.4.4 to resolv.conf
qbittorrent_1  | 2021-11-25 05:43:47.624512 [INFO] PUID not defined. Defaulting to root user
qbittorrent_1  | 2021-11-25 05:43:47.656373 [INFO] PGID not defined. Defaulting to root group
qbittorrent_1  | 2021-11-25 05:43:47.689108 [INFO] Starting WireGuard...
qbittorrent_1  | Warning: `/config/wireguard/wg0.conf' is world accessible
qbittorrent_1  | [#] ip link add wg0 type wireguard
qbittorrent_1  | [#] wg setconf wg0 /dev/fd/63
qbittorrent_1  | [#] ip -4 address add 10.34.42.31/16 dev wg0
qbittorrent_1  | [#] ip link set mtu 1420 up dev wg0
qbittorrent_1  | [#] resolvconf -a wg0 -m 0 -x
qbittorrent_1  | [#] wg set wg0 fwmark 51820
qbittorrent_1  | [#] ip -6 route add ::/0 dev wg0 table 51820
qbittorrent_1  | Error: IPv6 is disabled on nexthop device.
qbittorrent_1  | [#] resolvconf -d wg0 -f
qbittorrent_1  | [#] ip link delete dev wg0
qbittorrent_1  | 2021-11-25 05:44:48.480912 [INFO] VPN_ENABLED defined as 'yes'
qbittorrent_1  | 2021-11-25 05:44:48.513664 [INFO] The container is currently running iptables v1.8.7 (nf_tables).
qbittorrent_1  | 2021-11-25 05:44:48.545473 [INFO] LEGACY_IPTABLES is set to ''
qbittorrent_1  | 2021-11-25 05:44:48.576234 [INFO] Not making any changes to iptables version
qbittorrent_1  | 2021-11-25 05:44:48.609460 [INFO] VPN_TYPE defined as 'wireguard'
qbittorrent_1  | 2021-11-25 05:44:48.645440 [INFO] WireGuard config file is found at /config/wireguard/wg0.conf
qbittorrent_1  | dos2unix: converting file /config/wireguard/wg0.conf to Unix format...
qbittorrent_1  | 2021-11-25 05:44:48.675862 [INFO] VPN remote line defined as 'se-sto.pvdata.host:3389'
qbittorrent_1  | 2021-11-25 05:44:48.705300 [INFO] VPN_REMOTE defined as 'se-sto.pvdata.host'
qbittorrent_1  | 2021-11-25 05:44:48.733745 [INFO] VPN_PORT defined as '3389'
qbittorrent_1  | 2021-11-25 05:44:48.761161 [INFO] VPN_PROTOCOL set as 'udp', since WireGuard is always udp.
qbittorrent_1  | 2021-11-25 05:44:48.789277 [INFO] VPN_DEVICE_TYPE set as 'wg0', since WireGuard will always be wg0.
qbittorrent_1  | 2021-11-25 05:44:48.819242 [INFO] LAN_NETWORK defined as '192.168.1.1/23'
qbittorrent_1  | 2021-11-25 05:44:48.849551 [WARNING] NAME_SERVERS not defined (via -e NAME_SERVERS), defaulting to CloudFlare and Google name servers
qbittorrent_1  | 2021-11-25 05:44:48.883873 [INFO] Adding 1.1.1.1 to resolv.conf
qbittorrent_1  | 2021-11-25 05:44:48.915310 [INFO] Adding 8.8.8.8 to resolv.conf
qbittorrent_1  | 2021-11-25 05:44:48.949166 [INFO] Adding 1.0.0.1 to resolv.conf
qbittorrent_1  | 2021-11-25 05:44:48.978271 [INFO] Adding 8.8.4.4 to resolv.conf
qbittorrent_1  | 2021-11-25 05:44:49.010454 [INFO] PUID not defined. Defaulting to root user
qbittorrent_1  | 2021-11-25 05:44:49.043504 [INFO] PGID not defined. Defaulting to root group
qbittorrent_1  | 2021-11-25 05:44:49.074876 [INFO] Starting WireGuard...
qbittorrent_1  | Warning: `/config/wireguard/wg0.conf' is world accessible
qbittorrent_1  | [#] ip link add wg0 type wireguard
qbittorrent_1  | [#] wg setconf wg0 /dev/fd/63
qbittorrent_1  | [#] ip -4 address add 10.34.42.31/16 dev wg0
qbittorrent_1  | [#] ip link set mtu 1420 up dev wg0
qbittorrent_1  | [#] resolvconf -a wg0 -m 0 -x
qbittorrent_1  | [#] wg set wg0 fwmark 51820
qbittorrent_1  | [#] ip -6 route add ::/0 dev wg0 table 51820
qbittorrent_1  | Error: IPv6 is disabled on nexthop device.
qbittorrent_1  | [#] resolvconf -d wg0 -f
qbittorrent_1  | [#] ip link delete dev wg0
docker_qbittorrent_1 exited with code 2
temelj@nektar:~/Documents/docker$ 

synology Failed to initialize nft: Protocol not supported

This looks great, thank you for sharing your work! Hope I didn't do something stupid, but I get this error starting up the container on a Synology NAS. Any ideas would be welcome!

2021-09-17 16:05:10.421479 [INFO] VPN_ENABLED defined as 'yes'
iptables/1.8.2 Failed to initialize nft: Protocol not supported

Please consider adding CREATE_TUN_DEVICE

I'm using docker swarm to deploy. So for me to add devices is not a possibility. Would it be possible to added CREATE_TUN_DEVICE true or false and when true you create the device in the containers?

2021-11-25 03:40:35 [montreal411] Peer Connection Initiated with [AF_INET]199.36.223.142:1198
2021-11-25 03:40:35 ERROR: Cannot open TUN/TAP dev /dev/net/tun: No such file or directory (errno=2)
2021-11-25 03:40:35 Exiting due to fatal error

Non-VPN home IP being leaked while configured for Wireguard

Using the Torrent feature on https://ipleak.net/ my home's IP from my ISP is being shown to their service even though wireguard is configured in my container. Any help would be appreciated.

Here is my docker-compose yaml:

 qbittorrentvpn:
    container_name: qbittorrentvpn
    image: dyonr/qbittorrentvpn
    ports:
      - "8080:8080"
      - "8999:8999"
      - "8999:8999/udp"
    environment:
      - PUID=1000
      - PGID=1000
      - UMASK=002
      - TZ=Asia/Kolkata
      - VPN_ENABLED=true
      - VPN_TYPE=wireguard
      - LAN_NETWORK=192.168.50.0/24
    volumes:
      - '/home/${USER}/server/configs/qbittorrentvpn:/config'
      - '/home/${USER}/server/torrents:/data/torrents'
    restart: unless-stopped

my wg0.conf:

[Interface]
PrivateKey = <REDACTED>
Address = 100.99.97.58/32
DNS = 10.255.255.1

[Peer]
PublicKey = <REDACTED>
AllowedIPs = 0.0.0.0/0
Endpoint = tpa-349-wg.whiskergalaxy.com:443
PresharedKey = <REDACTED>

docker logs from qbittorrentvpn container:

2021-10-06 08:12:36.655760 [INFO] VPN_ENABLED defined as 'true'
2021-10-06 08:12:36.689328 [INFO] The container is currently running iptables v1.8.7 (nf_tables).
2021-10-06 08:12:36.724333 [INFO] LEGACY_IPTABLES is set to ''
2021-10-06 08:12:36.757147 [INFO] Not making any changes to iptables version
2021-10-06 08:12:36.790734 [INFO] VPN_TYPE defined as 'wireguard'
2021-10-06 08:12:36.831503 [INFO] WireGuard config file is found at /config/wireguard/wg0.conf
dos2unix: converting file /config/wireguard/wg0.conf to Unix format...
2021-10-06 08:12:36.864433 [INFO] VPN remote line defined as 'tpa-349-wg.whiskergalaxy.com:443'
2021-10-06 08:12:36.897126 [INFO] VPN_REMOTE defined as 'tpa-349-wg.whiskergalaxy.com'
2021-10-06 08:12:36.930869 [INFO] VPN_PORT defined as '443'
2021-10-06 08:12:36.961279 [INFO] VPN_PROTOCOL set as 'udp', since WireGuard is always udp.
2021-10-06 08:12:36.997857 [INFO] VPN_DEVICE_TYPE set as 'wg0', since WireGuard will always be wg0.
2021-10-06 08:12:37.033696 [INFO] LAN_NETWORK defined as '192.168.50.0/24'
2021-10-06 08:12:37.076921 [INFO] NAME_SERVERS defined as '10.255.255.1'
2021-10-06 08:12:37.117722 [INFO] Adding 10.255.255.1 to resolv.conf
2021-10-06 08:12:37.161101 [WARNING] ENABLE_SSL is set to , SSL is not enabled. This could cause issues with logging if other apps use the same Cookie name (SID).
2021-10-06 08:12:37.190377 [WARNING] If you manage the SSL config yourself, you can ignore this.
2021-10-06 08:12:37.216665 [INFO] A group with PGID 1000 does not exist, adding a group called 'qbittorrent' with PGID 1000
2021-10-06 08:12:37.337114 [INFO] An user with PUID 1000 does not exist, adding an user called 'qbittorrent user' with PUID 1000
2021-10-06 08:12:37.603700 [INFO] UMASK defined as '002'
2021-10-06 08:12:37.630390 [INFO] Starting qBittorrent daemon...
Logging to /config/qBittorrent/data/logs/qbittorrent.log.
2021-10-06 08:12:38.665436 [INFO] qBittorrent PID: 111
2021-10-06 08:12:38.670756 [INFO] Started qBittorrent daemon successfully...
2021-10-06 08:12:38.693101 [INFO] HEALTH_CHECK_HOST is not set. For now using default host one.one.one.one
2021-10-06 08:12:38.717224 [INFO] HEALTH_CHECK_INTERVAL is not set. For now using default interval of 300
2021-10-06 08:12:38.741498 [INFO] HEALTH_CHECK_SILENT is not set. Because this variable is not set, it will be supressed by default
2021-10-06 08:12:38.823955 [INFO] Network is up
2021-10-06 08:17:38.910910 [INFO] Network is up
2021-10-06 08:22:39.000769 [INFO] Network is up
2021-10-06 08:27:39.161346 [INFO] Network is up
2021-10-06 08:32:39.250337 [INFO] Network is up
2021-10-06 08:37:39.438757 [INFO] Network is up

[Docs] Wireguard with IPv6

When wireguard has IPv6 enabled, the IPv6 range has to be added to -e "LAN_NETWORK and a parameter passed into docker:
--sysctl net.ipv6.conf.all.disable_ipv6=0 otherwise the container will stop with error RTNETLINK answers permission denied

chown at startup takes a very long time to complete

Observed behaviour / steps to reproduce:

  1. Have a big /downloads folder
  2. Start the container
  3. Observe the chown process takes a very long time to complete (more than an hour for several TB)

Expected behaviour:

The chown should only be applied to the files not already with the correct owner.

Proposed solution:

Replace the following line:

chown -R ${PUID}:${PGID} /downloads

by a find command as proposed in https://unix.stackexchange.com/questions/245274/chown-only-where-needed-speedup-chown:
find /downloads -not -user ${PUID} -execdir chown ${PUID}:${PGID} {} \+
or equivalent.

Have an ARM release for raspberry pi?

Great work! The current architecture is linux/amd64 which won't run on a raspberry pi 4. Could you release a docker image that's raspberry pi compatible? Will make for a great energy-efficient/green setup.

Also some observations:

WebUI port is only accessible from the host and not on the LAN

Hi, I saw some issues similar to mine. I am not sure if the issue is exactly the same though.

My issue is that I can access the WebUI just fine via traefik and also from the host itself or from the container but if I try to access it from an other machine on the network curl QBITTORRENT_IP:8081 will timeout.

  qbittorrent:
    container_name: qbittorrent
    environment:
      - PUID=1000
      - PGID=1001
      - VPN_ENABLED=yes
      - VPN_TYPE=wireguard
      - LAN_NETWORK=192.168.0.0/24
      - ADDITIONAL_PORTS=8081,8999
      - HEALTH_CHECK_HOST=one.one.one.one
      - HEALTH_CHECK_SILENT=1
    image: dyonr/qbittorrentvpn:rc_2_0
    labels:
      - "traefik.enable=true"
      - "traefik.http.routers.qbittorrent.entrypoints=websecure"
      - "traefik.http.routers.qbittorrent.rule=Host(`qbittorrent.whatever.com`)"
      - "traefik.http.routers.qbittorrent.tls.certresolver=le"
      - "traefik.http.services.qbittorrent.loadbalancer.server.port=8081"
    networks:
      - default
    ports:
      - 8081:8081
      - 8999:8999
    privileged: true
    restart: unless-stopped
    sysctls:
      - net.ipv6.conf.all.disable_ipv6=1
    volumes:
      - ./etc/qbittorrent:/config

Is there anything I can try?
Is it a known issue?

dos2unix: problems renaming

dos2unix: problems renaming '/config/openvpn/d2utmpB6lt2C' to '/config/openvpn/be.ovpn': Device or resource busy
qbittorrent    |           output file remains in '/config/openvpn/d2utmpB6lt2C'
qbittorrent    | dos2unix: problems converting file /config/openvpn/be.ovpn

what is dos2unix trying to achieve?
it can't overwrite the config since I'm also using the same config in other containers.
how can i disable dos2unix?
or maybe change dos2unix that it only converts to a temp file inside the container?

Torrents error / permission denied on the mkdir command

I'm a total newb when it comes to docker admittingly, but I've verified my UID & GID via the id command in the console.

I updated those values in the docker config for qbittorrentvpn, but I keep getting permission denied errors.

(W) 2021-06-21T00:02:41 - File error alert. Torrent: "Yellowstone.2018.S03.1080p.BluRay.x264-BORDURE". File: "/mnt/user/data/torrents/Yellowstone.2018.S03.1080p.BluRay.x264-BORDURE[rartv]/Yellowstone.2018.S03E07.1080p.BluRay.x264-BORDURE.mkv". Reason: Yellowstone.2018.S03.1080p.BluRay.x264-BORDURE[rartv] mkdir (/mnt/user/data/torrents/Yellowstone.2018.S03.1080p.BluRay.x264-BORDURE[rartv]/Yellowstone.2018.S03E07.1080p.BluRay.x264-BORDURE.mkv) error: Permission denied

I'm completely at a loss of what to do as I've verified my save path and another container created the file structure without issue.

I can't get proxy to work on one and running into this error on this one. Please help.

Edit: Changing the UID & GID both to zero in the settings seems to have fixed the problem. Seems odd the user I have created isn't working.

HEALTH_CHECK_SILENT not suppressing regardless of value

Wanted to first thank you for creating this fork, it is definitely a game changer. Great work!

Assuming the intention to suppress was to stop these messages at the end of each interval, no matter what value is provided (default, 0, 1) the message is not suppressed.

Here is a log for when I did not set an environment variable for HEALTH_CHECK_SILENT:

2021-12-22 06:38:36.085616 [INFO] qBittorrent PID: 223
2021-12-22 06:38:36.087547 [INFO] Started qBittorrent daemon successfully...
2021-12-22 06:38:36.100236 [INFO] HEALTH_CHECK_HOST is not set. For now using default host one.one.one.one
2021-12-22 06:38:36.114154 [INFO] HEALTH_CHECK_INTERVAL is not set. For now using default interval of 300
2021-12-22 06:38:36.127609 [INFO] HEALTH_CHECK_SILENT is not set. Because this variable is not set, it will be supressed by default
2021-12-22 06:38:36.220405 [INFO] Network is up
2021-12-22 06:43:36.313618 [INFO] Network is up
2021-12-22 06:48:36.405902 [INFO] Network is up
2021-12-22 06:53:36.496220 [INFO] Network is up
2021-12-22 06:58:36.584698 [INFO] Network is up

I had similar unsuppressed output for when I explicitly set HEALTH_CHECK_SILENT=1, with the exception of the line 5th line on it not being set.

Log for HEALTH_CHECK_SILENT=0:

2021-12-22 07:09:21.284612 [INFO] qBittorrent PID: 268
2021-12-22 07:09:21.286616 [INFO] Started qBittorrent daemon successfully...
2021-12-22 07:09:21.298624 [INFO] HEALTH_CHECK_HOST is not set. For now using default host one.one.one.one
2021-12-22 07:09:21.312407 [INFO] HEALTH_CHECK_INTERVAL is not set. For now using default interval of 300
2021-12-22 07:09:21.402373 [INFO] Network is up
2021-12-22 07:14:21.694591 [INFO] Network is up

This same HEALTH_CHECK_SILENT functionality does suppress messages by default on your docker-Jackettvpn fork.

IPv6 through Wireguard not working and DNS Leaks

2 Issues:

(1) No IPv6 Connectivity: My regular ISP does not support IPv6 yet. But, my Wireguard VPN does. I've used it to torrent before and I was able to connect to IPv6-only trackers and peers. With the settings above, and even after attempting some small modifications, I can't seem to connect to the IPv6 network. Notice the Error: inet6 address is expected rather than "172.22.0.1" in the docker-compose up output. What does that mean?

(2) DNS Leaks: This container seems to make DNS requests through the host. My expectation was that they would be handled, even though as plaintext DNS requests, through the VPN/Wireguard. This isn't a big deal for me because I'm running Pi-hole on the host. But, is this intended behavior?

Here's information you may need:

Host information (everything is updated):

Linux 5.4.0-80-generic #90-Ubuntu SMP x86_64 GNU/Linux
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu Focal Fossa"

wg0.conf:

[Interface]
PrivateKey = <private-key>
Address = 10.0.0.1/32, fd27:1ea8:5dc:fcbe::ac01/128
ListenPort = 12345

[Peer]
PublicKey = <public-key>
AllowedIPs = 0.0.0.0/0, ::/0
Endpoint = vpn-domain.com:1122

docker-compose.yml:

version: '3.3'
services:
    qbittorrentvpn_cont:
        privileged: true
        ports:
            - '45678:45678'
            - '45678:45678/udp'
            - '7727:8080'
        container_name: qb
        volumes:
            - '/home/serveruser/Downloads/:/downloads'
            - '/home/serveruser/qbittorrentvpn_cont/config:/config'
        environment:
            - VPN_ENABLED=yes
            - VPN_TYPE=wireguard
            - STRICT_PORT_FORWARD=yes
            - LAN_NETWORK=192.168.1.0/24,fd27:1ea8:5dc:fcbe::ac00/120
            - NAME_SERVERS=1.1.1.2,2606:4700:4700::1112
            - HEALTH_CHECK_HOST=one.one.one.one
            - HEALTH_CHECK_INTERVAL=300
            - HEALTH_CHECK_SILENT=0
            - DEBUG=true
            - WEBUI_PORT=7727
            - UMASK=001
            - PUID=1000
            - PGID=1000
        sysctls:
            - net.ipv6.conf.all.disable_ipv6=0
        restart: "unless-stopped"
        image: dyonr/qbittorrentvpn

docker exec qb cat /etc/resolv.conf:

nameserver 127.0.0.11
options ndots:0
nameserver 1.1.1.2
nameserver 2606:4700:4700::1112

Some output from when running "docker-compose up":

qb                | 2021-08-06 06:35:32.953354 [INFO] VPN_ENABLED defined as 'yes'
qb                | 2021-08-06 06:35:32.976251 [INFO] The container is currently running iptables v1.8.2 (nf_tables).
qb                | 2021-08-06 06:35:32.998320 [INFO] LEGACY_IPTABLES is set to ''
qb                | 2021-08-06 06:35:33.021861 [INFO] Not making any changes to iptables version
qb                | 2021-08-06 06:35:33.044865 [INFO] VPN_TYPE defined as 'wireguard'
qb                | 2021-08-06 06:35:33.071143 [INFO] WireGuard config file is found at /config/wireguard/wg0.conf
qb                | dos2unix: converting file /config/wireguard/wg0.conf to Unix format...
qb                | 2021-08-06 06:35:33.095809 [INFO] VPN remote line defined as 'vpn-domain.com:1122'
qb                | 2021-08-06 06:35:33.119784 [INFO] VPN_REMOTE defined as 'vpn-domain.com'
qb                | 2021-08-06 06:35:33.143185 [INFO] VPN_PORT defined as '1122'
qb                | 2021-08-06 06:35:33.165819 [INFO] VPN_PROTOCOL set as 'udp', since WireGuard is always udp.
qb                | 2021-08-06 06:35:33.187355 [INFO] VPN_DEVICE_TYPE set as 'wg0', since WireGuard will always be wg0.
qb                | 2021-08-06 06:35:33.210000 [INFO] LAN_NETWORK defined as '192.168.1.0/24,fd27:1ea8:5dc:fcbe::ac00/120'
qb                | 2021-08-06 06:35:33.233593 [INFO] NAME_SERVERS defined as '1.1.1.2,2606:4700:4700::1112'
qb                | 2021-08-06 06:35:33.256785 [INFO] Adding 1.1.1.2 to resolv.conf
qb                | 2021-08-06 06:35:33.279397 [INFO] Adding 2606:4700:4700::1112 to resolv.conf
qb                | 2021-08-06 06:35:33.300515 [INFO] Starting WireGuard...
qb                | Warning: `/config/wireguard/wg0.conf' is world accessible
qb                | [#] ip link add wg0 type wireguard
qb                | [#] wg setconf wg0 /dev/fd/63
qb                | [#] ip -4 address add 10.0.0.1/32 dev wg0
qb                | [#] ip -6 address add fd27:1ea8:5dc:fcbe::ac01/128 dev wg0
qb                | [#] ip link set mtu 1280 up dev wg0
qb                | [#] wg set wg0 fwmark 51820
qb                | [#] ip -6 route add ::/0 dev wg0 table 51820
qb                | [#] ip -6 rule add not fwmark 51820 table 51820
qb                | [#] ip -6 rule add table main suppress_prefixlength 0
qb                | [#] ip6tables-restore -n
qb                | [#] ip -4 route add 0.0.0.0/0 dev wg0 table 51820
qb                | [#] ip -4 rule add not fwmark 51820 table 51820
qb                | [#] ip -4 rule add table main suppress_prefixlength 0
qb                | [#] sysctl -q net.ipv4.conf.all.src_valid_mark=1
qb                | [#] iptables-restore -n
qb                | 2021-08-06 06:35:33.817575 [DEBUG] Docker interface defined as eth0
qb                | 2021-08-06 06:35:33.841243 [DEBUG] Docker IP defined as 172.22.0.2
qb                | 2021-08-06 06:35:33.865606 [DEBUG] Docker netmask defined as 255.255.0.0
qb                | 2021-08-06 06:35:33.893783 [INFO] Docker network defined as 172.22.0.0/16
qb                | 2021-08-06 06:35:33.919157 [INFO] Adding 192.168.1.0/24 as route via docker eth0
qb                | 2021-08-06 06:35:33.943946 [INFO] Adding fd27:1ea8:5dc:fcbe::ac00/120 as route via docker eth0
qb                | Error: inet6 address is expected rather than "172.22.0.1".
qb                | 2021-08-06 06:35:33.965799 [INFO] ip route defined as follows...
qb                | --------------------
qb                | default via 172.22.0.1 dev eth0
qb                | 192.168.1.0/24 via 172.22.0.1 dev eth0
qb                | 172.22.0.0/16 dev eth0 proto kernel scope link src 172.22.0.2
qb                | --------------------
qb                | 2021-08-06 06:35:33.988060 [DEBUG] Modules currently loaded for kernel
qb                | Module                  Size  Used by
qb                | xt_connmark            16384  4
qb                | xt_mark                16384  2
qb                | nft_counter            16384  6
qb                | xt_comment             16384  0
qb                | nft_compat             20480  8
qb                | nf_tables             139264  22 nft_compat,nft_counter
qb                | rfcomm                 81920  4
qb                | xt_nat                 16384  15
qb                | veth                   28672  0
qb                | nf_conntrack_netlink    45056  0
qb                | nfnetlink              16384  6 nft_compat,nf_conntrack_netlink,nf_tables
qb                | xfrm_user              36864  1
qb                | xfrm_algo              16384  1 xfrm_user
qb                | br_netfilter           28672  0
qb                | bridge                172032  1 br_netfilter
qb                | stp                    16384  1 bridge
qb                | llc                    16384  2 bridge,stp
qb                | aufs                  262144  0
qb                | ip6table_nat           16384  1
qb                | iptable_nat            16384  3
qb                | xt_MASQUERADE          20480  12
qb                | nf_nat                 40960  4 ip6table_nat,xt_nat,iptable_nat,xt_MASQUERADE
qb                | wireguard             212992  0
qb                | ip6_udp_tunnel         16384  1 wireguard
qb                | udp_tunnel             16384  1 wireguard
qb                | cmac                   16384  2
qb                | overlay               114688  3
qb                | algif_hash             16384  1
qb                | algif_skcipher         16384  1
qb                | af_alg                 24576  6 algif_hash,algif_skcipher
qb                | bnep                   24576  2
qb                | nls_iso8859_1          16384  1
qb                | snd_hda_codec_cirrus    20480  1
qb                | snd_hda_codec_generic    81920  1 snd_hda_codec_cirrus
qb                | ledtrig_audio          16384  1 snd_hda_codec_generic
qb                | snd_hda_codec_hdmi     61440  1
qb                | snd_hda_intel          53248  0
qb                | snd_intel_dspcfg       28672  1 snd_hda_intel
qb                | intel_rapl_msr         20480  0
qb                | snd_hda_codec         135168  4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_cirrus
qb                | snd_hda_core           90112  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_cirrus
qb                | intel_rapl_common      24576  1 intel_rapl_msr
qb                | snd_hwdep              20480  1 snd_hda_codec
qb                | snd_pcm               106496  4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
qb                | snd_seq_midi           20480  0
qb                | snd_seq_midi_event     16384  1 snd_seq_midi
qb                | snd_rawmidi            36864  1 snd_seq_midi
qb                | snd_seq                69632  2 snd_seq_midi,snd_seq_midi_event
qb                | btusb                  57344  0
qb                | btrtl                  24576  1 btusb
qb                | x86_pkg_temp_thermal    20480  0
qb                | btbcm                  16384  1 btusb
qb                | intel_powerclamp       20480  0
qb                | snd_seq_device         16384  3 snd_seq,snd_seq_midi,snd_rawmidi
qb                | snd_timer              36864  2 snd_seq,snd_pcm
qb                | btintel                24576  1 btusb
qb                | bluetooth             548864  31 btrtl,btintel,btbcm,bnep,btusb,rfcomm
qb                | ecdh_generic           16384  1 bluetooth
qb                | snd                    90112  10 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_timer,snd_pcm,snd_rawmidi
qb                | ecc                    28672  1 ecdh_generic
qb                | applesmc               20480  0
qb                | coretemp               20480  0
qb                | mei_hdcp               24576  0
qb                | soundcore              16384  1 snd
qb                | wl                   6455296  0
qb                | input_leds             16384  0
qb                | kvm_intel             282624  0
qb                | input_polldev          20480  1 applesmc
qb                | mei_me                 40960  1
qb                | kvm                   663552  1 kvm_intel
qb                | cfg80211              704512  1 wl
qb                | mei                   106496  3 mei_hdcp,mei_me
qb                | rapl                   20480  0
qb                | intel_cstate           20480  0
qb                | mac_hid                16384  0
qb                | nf_log_ipv6            16384  5
qb                | ip6t_REJECT            16384  1
qb                | nf_reject_ipv6         20480  1 ip6t_REJECT
qb                | xt_hl                  16384  22
qb                | ip6t_rt                20480  3
qb                | nf_log_ipv4            16384  5
qb                | nf_log_common          16384  2 nf_log_ipv4,nf_log_ipv6
qb                | ipt_REJECT             16384  1
qb                | nf_reject_ipv4         16384  1 ipt_REJECT
qb                | xt_LOG                 20480  10
qb                | xt_limit               16384  13
qb                | xt_addrtype            16384  8
qb                | xt_tcpudp              20480  119
qb                | xt_conntrack           16384  19
qb                | nf_conntrack          139264  6 xt_conntrack,nf_nat,xt_nat,nf_conntrack_netlink,xt_connmark,xt_MASQUERADE
qb                | nf_defrag_ipv6         24576  1 nf_conntrack
qb                | nf_defrag_ipv4         16384  1 nf_conntrack
qb                | sch_fq_codel           20480  2
qb                | ip6table_filter        16384  1
qb                | ip6_tables             32768  54 ip6table_filter,ip6table_nat
qb                | iptable_filter         16384  1
qb                | bpfilter               32768  0
qb                | msr                    16384  0
qb                | parport_pc             40960  0
qb                | ppdev                  24576  0
qb                | lp                     20480  0
qb                | parport                53248  3 parport_pc,lp,ppdev
qb                | ip_tables              32768  10 iptable_filter,iptable_nat
qb                | x_tables               40960  19 ip6table_filter,xt_conntrack,iptable_filter,nft_compat,xt_LOG,xt_tcpudp,xt_addrtype,xt_nat,ip6t_rt,xt_comment,ip6_tables,ipt_REJECT,xt_connmark,ip_tables,xt_limit,xt_hl,xt_MASQUERADE,ip6t_REJECT,xt_mark
qb                | autofs4                45056  2
qb                | btrfs                1261568  0
qb                | xor                    24576  1 btrfs
qb                | zstd_compress         167936  1 btrfs
qb                | raid6_pq              114688  1 btrfs
qb                | libcrc32c              16384  3 nf_conntrack,nf_nat,btrfs
qb                | dm_crypt               40960  1
qb                | dm_mirror              24576  0
qb                | dm_region_hash         20480  1 dm_mirror
qb                | dm_log                 20480  2 dm_region_hash,dm_mirror
qb                | hid_appleir            16384  0
qb                | hid_generic            16384  0
qb                | usbhid                 57344  0
qb                | hid                   131072  3 usbhid,hid_generic,hid_appleir
qb                | crct10dif_pclmul       16384  1
qb                | crc32_pclmul           16384  0
qb                | ghash_clmulni_intel    16384  0
qb                | i915                 1990656  1
qb                | aesni_intel           372736  5
qb                | i2c_algo_bit           16384  1 i915
qb                | crypto_simd            16384  1 aesni_intel
qb                | cryptd                 24576  4 crypto_simd,ghash_clmulni_intel
qb                | drm_kms_helper        184320  1 i915
qb                | glue_helper            16384  1 aesni_intel
qb                | syscopyarea            16384  1 drm_kms_helper
qb                | ahci                   40960  3
qb                | lpc_ich                24576  0
qb                | thunderbolt           167936  0
qb                | i2c_i801               32768  0
qb                | libahci                32768  1 ahci
qb                | sysfillrect            16384  1 drm_kms_helper
qb                | sysimgblt              16384  1 drm_kms_helper
qb                | fb_sys_fops            16384  1 drm_kms_helper
qb                | sdhci_pci              53248  0
qb                | cqhci                  28672  1 sdhci_pci
qb                | tg3                   172032  0
qb                | drm                   491520  3 drm_kms_helper,i915
qb                | sdhci                  65536  1 sdhci_pci
qb                | video                  49152  1 i915
qb                | uas                    28672  0
qb                | usb_storage            77824  1 uas
qb                | 2021-08-06 06:35:34.087204 [INFO] iptables defined as follows...
qb                | --------------------
qb                | # Warning: iptables-legacy tables present, use iptables-legacy to see them
qb                | -P INPUT DROP
qb                | -P FORWARD ACCEPT
qb                | -P OUTPUT DROP
qb                | -A INPUT -i wg0 -j ACCEPT
qb                | -A INPUT -s 172.22.0.0/16 -d 172.22.0.0/16 -j ACCEPT
qb                | -A INPUT -i eth0 -p udp -m udp --sport 1122 -j ACCEPT
qb                | -A INPUT -i eth0 -p tcp -m tcp --dport 8080 -j ACCEPT
qb                | -A INPUT -i eth0 -p tcp -m tcp --sport 8080 -j ACCEPT
qb                | -A INPUT -p icmp -m icmp --icmp-type 0 -j ACCEPT
qb                | -A INPUT -i lo -j ACCEPT
qb                | -A OUTPUT -o wg0 -j ACCEPT
qb                | -A OUTPUT -s 172.22.0.0/16 -d 172.22.0.0/16 -j ACCEPT
qb                | -A OUTPUT -o eth0 -p udp -m udp --dport 1122 -j ACCEPT
qb                | -A OUTPUT -o eth0 -p tcp -m tcp --dport 8080 -j ACCEPT
qb                | -A OUTPUT -o eth0 -p tcp -m tcp --sport 8080 -j ACCEPT
qb                | -A OUTPUT -p icmp -m icmp --icmp-type 8 -j ACCEPT
qb                | -A OUTPUT -o lo -j ACCEPT
qb                | --------------------
qb                | 2021-08-06 06:35:34.116563 [WARNING] ENABLE_SSL is set to , SSL is not enabled. This could cause issues with logging if other apps use the same Cookie name (SID).
qb                | 2021-08-06 06:35:34.136992 [WARNING] If you manage the SSL config yourself, you can ignore this.
qb                | 2021-08-06 06:35:34.159639 [INFO] A group with PGID 1000 does not exist, adding a group called 'qbittorrent' with PGID 1000
qb                | 2021-08-06 06:35:34.567451 [INFO] An user with PUID 1000 does not exist, adding an user called 'qbittorrent user' with PUID 1000
qb                | 2021-08-06 06:35:35.203655 [INFO] UMASK defined as '001'
qb                | 2021-08-06 06:35:35.228318 [INFO] Starting qBittorrent daemon...
qb                | Logging to /config/qBittorrent/data/logs/qbittorrent.log.
qb                | 2021-08-06 06:35:36.258990 [INFO] qBittorrent PID: 233
qb                | 2021-08-06 06:35:36.261327 [INFO] Started qBittorrent daemon successfully...
qb                | 2021-08-06 06:35:36.491684 [INFO] Network is up

Stuck in a loop

Using this container for the first time, at it doesn't seem to boot, despite having the correct
parameters in the run command.

Logs just stuck in a loop here. Doesnt get as far as creating the qBittorrent directory in /config:

_**`2020-12-07 16:45:54.460913 [INFO] Starting WireGuard...

Warning: `/config/wireguard/wg0.conf' is world accessible

wg-quick: `wg0' is not a WireGuard interface

2020-12-07 16:45:54.507782 WireGuard is down already

Warning: `/config/wireguard/wg0.conf' is world accessible

[#] ip link add wg0 type wireguard

RTNETLINK answers: Operation not supported

Unable to access interface: Protocol not supported

[#] ip link delete dev wg0

Cannot find device "wg0"`**_

qbittorrent-nox failing to start with the latest docker image.

Watchtower just updated me to the latest image from DockerHub. I'm not seeing new commits since last month, so I assume this is just a qBittorrent version increment. What I'm seeing when running the new image is qbittorrent-nox is never starting. Interestingly, the container log indicates that it is running (while not having a PID):

  • 2021-10-31 20:38:44.655173 [INFO] Starting qBittorrent daemon...
  • Logging to /config/qBittorrent/data/logs/qbittorrent.log.
  • 2021-10-31 20:38:45.705398 [INFO] qBittorrent PID:
  • 2021-10-31 20:38:45.724647 [INFO] Started qBittorrent daemon successfully...

May be a logic problem in that PID check.

Anyhow, the most telling part is in the qbittorrent.log file. The new lines (post-update) are these:

  • /usr/local/bin/qbittorrent-nox: error while loading shared libraries: libQt5Sql.so.5: cannot open shared object file: No such file or directory
  • /usr/local/bin/qbittorrent-nox: error while loading shared libraries: libQt5Sql.so.5: cannot open shared object file: No such file or directory
  • /usr/local/bin/qbittorrent-nox: error while loading shared libraries: libQt5Sql.so.5: cannot open shared object file: No such file or directory

I suspect that may be one line per attempt to start. These lines are not present elsewhere in the log file before updating, so I suspect this is where the problem lies. Please let me know if there's anything else I should look at or other info that might be helpful.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.