MarkusMcNugen / docker-qBittorrentvpn

Docker container which runs a headless qBittorrent client with WebUI and optional OpenVPN
https://hub.docker.com/r/markusmcnugen/qbittorrentvpn/
GNU General Public License v3.0
175 stars 93 forks source link

Container not working with mullvad vpn #105

Open LordBurtz opened 3 years ago

LordBurtz commented 3 years ago

Hello, I dont get .ovpn files from mullvad, so I used their supplied "package". Contents: mullvad_ca.crt update-resolv-conf mullvad_de_fra.conf mullvad_userpass.txt Error: root:x:0:0:root:/root:/bin/bash Group root exists root:x:0:0:root:/root:/bin/bash User root exists in /etc/passwd 2021-09-29 19:42:43.523392 [warn] UMASK not defined (via -e UMASK), defaulting to '002' 2021-09-29 19:42:43.568856 [info] Starting qBittorrent daemon... Logging to /config/qBittorrent/data/logs/qbittorrent-daemon.log. 2021-09-29 19:42:44.633299 [info] Started qBittorrent daemon successfully... 2021-09-29 19:42:44.638775 [info] qBittorrent PID: 188 2021-09-29 19:48:43.639995 [info] VPN_ENABLED defined as 'yes' 2021-09-29 19:48:43.692384 [crit] No OpenVPN config file located in /config/openvpn/ (ovpn extension), please download from your VPN provider and then restart this container, exiting... 2021-09-29 19:50:25.329670 [info] VPN_ENABLED defined as 'yes' 2021-09-29 19:50:25.390856 [info] OpenVPN config file (ovpn extension) is located at /config/openvpn/mullvad_de_fra.ovpn dos2unix: converting file /config/openvpn/mullvad_de_fra.ovpn to Unix format... 2021-09-29 19:50:25.452828 [info] VPN remote line defined as 'de-fra-009.mullvad.net 1301' 2021-09-29 19:50:25.502954 [info] VPN_REMOTE defined as 'de-fra-009.mullvad.net' 2021-09-29 19:50:25.552470 [info] VPN_PORT defined as '1301' 2021-09-29 19:50:25.600728 [info] VPN_PROTOCOL defined as 'udp' 2021-09-29 19:50:25.647775 [info] VPN_DEVICE_TYPE defined as 'tun0' 2021-09-29 19:50:25.696731 [info] LAN_NETWORK defined as '192.168.188.0/24' 2021-09-29 19:50:25.743725 [info] NAME_SERVERS defined as '1.1.1.1,8.8.4.4' 2021-09-29 19:50:25.796314 [info] VPN_OPTIONS not defined (via -e VPN_OPTIONS) 2021-09-29 19:50:25.845682 [info] Adding 1.1.1.1 to resolv.conf 2021-09-29 19:50:25.894581 [info] Adding 8.8.4.4 to resolv.conf 2021-09-29 19:50:25.935689 [info] PUID not defined. Defaulting to root user 2021-09-29 19:50:25.979684 [info] PGID not defined. Defaulting to root group 2021-09-29 19:50:26.022415 [info] Starting OpenVPN... Wed Sep 29 19:50:26 2021 Note: option tun-ipv6 is ignored because modern operating systems do not need special IPv6 tun handling anymore. Wed Sep 29 19:50:26 2021 WARNING: file 'credentials.conf' is group or others accessible Wed Sep 29 19:50:26 2021 OpenVPN 2.4.7 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Sep 5 2019 Wed Sep 29 19:50:26 2021 library versions: OpenSSL 1.1.1f 31 Mar 2020, LZO 2.10 Wed Sep 29 19:50:26 2021 TCP/UDP: Preserving recently used remote address: [AF_INET]193.27.14.2:1301 Wed Sep 29 19:50:26 2021 Socket Buffers: R=[212992->425984] S=[212992->425984] Wed Sep 29 19:50:26 2021 UDP link local: (not bound) Wed Sep 29 19:50:26 2021 UDP link remote: [AF_INET]193.27.14.2:1301 Wed Sep 29 19:50:26 2021 TLS: Initial packet from [AF_INET]193.27.14.2:1301, sid=829798df 4c5a0782 Wed Sep 29 19:50:26 2021 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this Wed Sep 29 19:50:26 2021 VERIFY OK: depth=2, C=SE, ST=Gotaland, L=Gothenburg, O=Amagicom AB, OU=Mullvad, CN=Mullvad Root CA v2, emailAddress=security@mullvad.net Wed Sep 29 19:50:26 2021 VERIFY OK: depth=1, C=SE, ST=Gotaland, O=Amagicom AB, OU=Mullvad, CN=Mullvad Intermediate CA v3, emailAddress=security@mullvad.net Wed Sep 29 19:50:26 2021 VERIFY KU OK Wed Sep 29 19:50:26 2021 Validating certificate extended key usage Wed Sep 29 19:50:26 2021 ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication Wed Sep 29 19:50:26 2021 VERIFY EKU OK Wed Sep 29 19:50:26 2021 VERIFY OK: depth=0, C=SE, ST=Gotaland, O=Amagicom AB, OU=Mullvad, CN=de-fra-201.mullvad.net, emailAddress=security@mullvad.net Wed Sep 29 19:50:26 2021 WARNING: 'link-mtu' is used inconsistently, local='link-mtu 1557', remote='link-mtu 1558' Wed Sep 29 19:50:26 2021 WARNING: 'comp-lzo' is present in remote config but missing in local config, remote='comp-lzo' Wed Sep 29 19:50:26 2021 Control Channel: TLSv1.3, cipher TLSv1.3 TLS_CHACHA20_POLY1305_SHA256, 4096 bit RSA Wed Sep 29 19:50:26 2021 [de-fra-201.mullvad.net] Peer Connection Initiated with [AF_INET]193.27.14.2:1301 Wed Sep 29 19:50:27 2021 SENT CONTROL [de-fra-201.mullvad.net]: 'PUSH_REQUEST' (status=1) Wed Sep 29 19:50:27 2021 AUTH: Received control message: AUTH_FAILED,[INVALID_ACCOUNT] This is not a valid Mullvad account Wed Sep 29 19:50:27 2021 SIGTERM[soft,auth-failure] received, process exiting pls help

gakguei commented 3 years ago

You inserted wrong Mullvad VPN Id check your ID

adamlwgriffiths commented 2 years ago

You can get the Mullvad ovpn file from here: https://mullvad.net/en/account/#/openvpn-config/

You have to select "Android/Chrome OS" as the platform.