The web gui don't work

If you run qBittorrent in / with Docker.
Post Reply
Pietrogramma1
Newbie
Newbie
Posts: 1
Joined: Sat Nov 27, 2021 10:06 pm

The web gui don't work

Post by Pietrogramma1 »

Hi everybosy, I have installed qBittorrent_VPN on my Open Media Vault via docker. For this scope I used the follow stack:
---
version: "2"
services:
qbittorrentvpn:
image: markusmcnugen/qbittorrentvpn
container_name: qbittorrentvpn
privileged: true
environment:
- VPN_USERNAME=******
- VPN_PASSWORD=*****
- PUID=998 #optional
- PGID=100 #optional
- WEBUI_PORT_ENV=8080 #optional
- INCOMING_PORT_ENV=6881 #optional
- VPN_ENABLED=yes
- LAN_NETWORK=192.168.1.1
- NAME_SERVERS=8.8.8.8,8.8.4.4
ports:
- 8080:8080
- 6881:6881
- 9881:6881/udp
volumes:
- /srv/dev-disk-by-label-Server/config/QBittorrentVPN:/config
- /srv/dev-disk-by-label-Server/qbittorrent:/downloads
restart: unless-stopped

until yesterday everything worked fine, then I turned off the NAS and when I turned it on I could no longer access the qbittorrent web gui. I paste the log file which I hope will help to understand what the problem may be.
Hello and thank you

Code: Select all

-P OUTPUT DROP,
-A INPUT -i tun0 -j ACCEPT,
-A INPUT -s 192.168.112.0/20 -d 192.168.112.0/20 -j ACCEPT,
-A INPUT -i eth0 -p udp -m udp --sport 1198 -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 -s 192.168.1.1/32 -i eth0 -p tcp -m tcp --dport 8999 -j ACCEPT,
-A INPUT -p icmp -m icmp --icmp-type 0 -j ACCEPT,
-A INPUT -i lo -j ACCEPT,
-A OUTPUT -o tun0 -j ACCEPT,
-A OUTPUT -s 192.168.112.0/20 -d 192.168.112.0/20 -j ACCEPT,
-A OUTPUT -o eth0 -p udp -m udp --dport 1198 -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 -d 192.168.1.1/32 -o eth0 -p tcp -m tcp --sport 8999 -j ACCEPT,
-A OUTPUT -p icmp -m icmp --icmp-type 8 -j ACCEPT,
-A OUTPUT -o lo -j ACCEPT,
--------------------,
Adding 100 group,
groupadd: GID '100' already exists,
Adding 998 user,
2021-11-27 19:05:31.502469 [warn] UMASK not defined (via -e UMASK), defaulting to '002',
2021-11-27 19:05:31.573170 [info] Starting qBittorrent daemon...,
Logging to /config/qBittorrent/data/logs/qbittorrent-daemon.log.,
2021-11-27 19:05:32.660907 [info] Started qBittorrent daemon successfully...,
2021-11-27 19:05:32.685732 [info] qBittorrent PID: 188,
2021-11-27 19:07:49.520219 [info] VPN_ENABLED defined as 'yes',
2021-11-27 19:07:49.577849 [info] OpenVPN config file (ovpn extension) is located at /config/openvpn/sweden.ovpn,
dos2unix: converting file /config/openvpn/sweden.ovpn to Unix format...,
2021-11-27 19:07:49.748747 [info] VPN remote line defined as 'sweden.privacy.network 1198',
2021-11-27 19:07:49.801202 [info] VPN_REMOTE defined as 'sweden.privacy.network',
2021-11-27 19:07:49.850403 [info] VPN_PORT defined as '1198',
2021-11-27 19:07:49.899547 [info] VPN_PROTOCOL defined as 'udp',
2021-11-27 19:07:49.949506 [info] VPN_DEVICE_TYPE defined as 'tun0',
2021-11-27 19:07:50.003833 [info] LAN_NETWORK defined as '192.168.1.1',
2021-11-27 19:07:50.054047 [info] NAME_SERVERS defined as '8.8.8.8,8.8.4.4',
2021-11-27 19:07:50.118533 [info] VPN_OPTIONS not defined (via -e VPN_OPTIONS),
2021-11-27 19:07:50.200393 [info] Adding 8.8.8.8 to resolv.conf,
2021-11-27 19:07:50.263323 [info] Adding 8.8.4.4 to resolv.conf,
2021-11-27 19:07:50.317974 [info] Starting OpenVPN...,
Sat Nov 27 19:07:50 2021 WARNING: file 'credentials.conf' is group or others accessible,
Sat Nov 27 19:07:50 2021 OpenVPN 2.4.7 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Jul 19 2021,
Sat Nov 27 19:07:50 2021 library versions: OpenSSL 1.1.1f  31 Mar 2020, LZO 2.10,
Sat Nov 27 19:07:50 2021 TCP/UDP: Preserving recently used remote address: [AF_INET]195.246.120.72:1198,
Sat Nov 27 19:07:50 2021 UDP link local: (not bound),
Sat Nov 27 19:07:50 2021 UDP link remote: [AF_INET]195.246.120.72:1198,
Sat Nov 27 19:07:50 2021 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this,
Sat Nov 27 19:07:50 2021 [stockholm402] Peer Connection Initiated with [AF_INET]195.246.120.72:1198,
Sat Nov 27 19:07:51 2021 OpenVPN ROUTE6: OpenVPN needs a gateway parameter for a --route-ipv6 option and no default was specified by either --route-ipv6-gateway or --ifconfig-ipv6 options,
Sat Nov 27 19:07:51 2021 OpenVPN ROUTE: failed to parse/resolve route for host/network: 2000::/3,
Sat Nov 27 19:07:51 2021 TUN/TAP device tun0 opened,
Sat Nov 27 19:07:51 2021 /sbin/ip link set dev tun0 up mtu 1500,
Sat Nov 27 19:07:51 2021 /sbin/ip addr add dev tun0 10.33.112.201/24 broadcast 10.33.112.255,
Sat Nov 27 19:07:51 2021 WARNING: OpenVPN was configured to add an IPv6 route over tun0. However, no IPv6 has been configured for this interface, therefore the route installation may fail or may not work as expected.,
Sat Nov 27 19:07:51 2021 Initialization Sequence Completed,
2021-11-27 19:07:55.424190 [info] WebUI port defined as ,
2021-11-27 19:07:55.495299 [info] LAN Network defined as 192.168.1.1,
2021-11-27 19:07:55.571101 [info] Default gateway defined as 192.168.112.1,
2021-11-27 19:07:55.634839 [info] ip route defined as follows...,
--------------------,
0.0.0.0/1 via 10.33.112.1 dev tun0 ,
default via 192.168.112.1 dev eth0 ,
10.33.112.0/24 dev tun0 proto kernel scope link src 10.33.112.201 ,
128.0.0.0/1 via 10.33.112.1 dev tun0 ,
192.168.1.1 via 192.168.112.1 dev eth0 ,
192.168.112.0/20 dev eth0 proto kernel scope link src 192.168.112.2 ,
195.246.120.72 via 192.168.112.1 dev eth0 ,
--------------------,
2021-11-27 19:07:55.735927 [info] Docker network defined as 192.168.112.0/20,
2021-11-27 19:07:55.885304 [info] iptables defined as follows...,
--------------------,
-P INPUT DROP,
-P FORWARD ACCEPT,
-P OUTPUT DROP,
-A INPUT -i tun0 -j ACCEPT,
-A INPUT -s 192.168.112.0/20 -d 192.168.112.0/20 -j ACCEPT,
-A INPUT -i eth0 -p udp -m udp --sport 1198 -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 -s 192.168.1.1/32 -i eth0 -p tcp -m tcp --dport 8999 -j ACCEPT,
-A INPUT -p icmp -m icmp --icmp-type 0 -j ACCEPT,
-A INPUT -i lo -j ACCEPT,
-A OUTPUT -o tun0 -j ACCEPT,
-A OUTPUT -s 192.168.112.0/20 -d 192.168.112.0/20 -j ACCEPT,
-A OUTPUT -o eth0 -p udp -m udp --dport 1198 -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 -d 192.168.1.1/32 -o eth0 -p tcp -m tcp --sport 8999 -j ACCEPT,
-A OUTPUT -p icmp -m icmp --icmp-type 8 -j ACCEPT,
-A OUTPUT -o lo -j ACCEPT,
--------------------,
Adding 100 group,
groupadd: GID '100' already exists,
Adding 998 user,
useradd: user 'qbittorent' already exists,
2021-11-27 19:07:55.997489 [warn] UMASK not defined (via -e UMASK), defaulting to '002',
2021-11-27 19:07:56.067254 [info] Starting qBittorrent daemon...,
Logging to /config/qBittorrent/data/logs/qbittorrent-daemon.log.,
2021-11-27 19:07:57.126572 [info] qBittorrent PID: 181,
2021-11-27 19:07:57.150816 [info] Started qBittorrent daemon successfully...
gderf
Newbie
Newbie
Posts: 18
Joined: Mon Apr 26, 2021 3:26 pm

Re: The web gui don't work

Post by gderf »

You got your answer in the OMV forum. Set LAN_NETWORK=192.168.1.0/24
Post Reply