MajorTomG Posted October 29, 2020 Share Posted October 29, 2020 Hi, New here but came looking for the same thing as b3lc. I've just changed to "dyonr/qbittorrentvpn:v4_2_x", disabled HTTPS in the "Web UI" settings, and I've been able to connect from Radarr v3. Thank you. Download in progress too. 1 Quote Link to comment
rbh00723 Posted November 8, 2020 Share Posted November 8, 2020 So I'm not sure what I'm doing wrong I put the .opvn file into the appdata/qbittorrentvpn/openvpn 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 Quote Link to comment
Dyon Posted November 8, 2020 Author Share Posted November 8, 2020 3 minutes ago, rbh00723 said: So I'm not sure what I'm doing wrong I put the .opvn file into the appdata/qbittorrentvpn/openvpn 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 Ah, this is because there is a space in the filename. Please remove the space from the filename, so rename it to 'CAToronto.ovpn' for example. I'll fix this later, for now you can just rename the file 1 Quote Link to comment
rbh00723 Posted November 8, 2020 Share Posted November 8, 2020 okay @Dyon now what did I do wrong?? dos2unix: converting file /config/openvpn/CAToronto.ovpn to Unix format... 2020-11-08 16:22:46.588105 [INFO] VPN remote line defined as 'ca-toronto.privateinternetaccess.com 1198' 2020-11-08 16:22:46.605509 [INFO] VPN_REMOTE defined as 'ca-toronto.privateinternetaccess.com' 2020-11-08 16:22:46.622703 [INFO] VPN_PORT defined as '1198' 2020-11-08 16:22:46.640564 [INFO] VPN_PROTOCOL defined as 'udp' 2020-11-08 16:22:46.658958 [INFO] VPN_DEVICE_TYPE defined as 'tun0' 2020-11-08 16:22:46.675810 [INFO] LAN_NETWORK defined as '192.168.0.0/24' 2020-11-08 16:22:46.692700 [INFO] NAME_SERVERS defined as '1.1.1.1,1.0.0.1' 2020-11-08 16:22:46.709863 [INFO] VPN_OPTIONS not defined (via -e VPN_OPTIONS) 2020-11-08 16:22:46.726904 [INFO] Adding 1.1.1.1 to resolv.conf 2020-11-08 16:22:46.744001 [INFO] Adding 1.0.0.1 to resolv.conf 2020-11-08 16:22:46.760464 [INFO] Starting OpenVPN... Sun Nov 8 16:22:46 2020 WARNING: file 'credentials.conf' is group or others accessible Sun Nov 8 16:22:46 2020 OpenVPN 2.4.7 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Feb 20 2019 Sun Nov 8 16:22:46 2020 library versions: OpenSSL 1.1.1d 10 Sep 2019, LZO 2.10 Sun Nov 8 16:22:46 2020 TCP/UDP: Preserving recently used remote address: [AF_INET]66.115.142.130:1198 Sun Nov 8 16:22:46 2020 UDP link local: (not bound) Sun Nov 8 16:22:46 2020 UDP link remote: [AF_INET]66.115.142.130:1198 Sun Nov 8 16:23:46 2020 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity) Sun Nov 8 16:23:46 2020 TLS Error: TLS handshake failed Sun Nov 8 16:23:46 2020 SIGUSR1[soft,tls-error] received, process restarting Also I'm Really sorry do you need any other files or anything Thanks for helpin out a noob Quote Link to comment
Dyon Posted November 8, 2020 Author Share Posted November 8, 2020 4 minutes ago, rbh00723 said: okay @Dyon now what did I do wrong?? <log removed for visibility> Also I'm Really sorry do you need any other files or anything Thanks for helpin out a noob I see you are using Private Internet Access, that one is an odd one I believe. This is a comment from Binhex's VPN Containers: Quote OpenVPN Please note this Docker image does not include the required OpenVPN configuration file and certificates. These will typically be downloaded from your VPN providers website (look for OpenVPN configuration files), and generally are zipped. PIA users - The URL to download the OpenVPN configuration files and certs is:- https://www.privateinternetaccess.com/openvpn/openvpn-nextgen.zip Once you have downloaded the zip (normally a zip as they contain multiple ovpn files) then extract it to /config/openvpn/ folder (if that folder doesn't exist then start and stop the docker container to force the creation of the folder). If there are multiple ovpn files then please delete the ones you don't want to use (normally filename follows location of the endpoint) leaving just a single ovpn file and the certificates referenced in the ovpn file (certificates will normally have a crt and/or pem extension). So in short, I think this means that you need to do this: Download this: https://www.privateinternetaccess.com/openvpn/openvpn-nextgen.zip Copy the ca.rsa.2048.crt and crl.rsa.2048.pem to the same folder as the CAToronto.ovpn Restart the container Quote Link to comment
rbh00723 Posted November 8, 2020 Share Posted November 8, 2020 2 minutes ago, Dyon said: I see you are using Private Internet Access, that one is an odd one I believe. This is a comment from Binhex's VPN Containers: So in short, I think this means that you need to do this: Download this: https://www.privateinternetaccess.com/openvpn/openvpn-nextgen.zip Copy the ca.rsa.2048.crt and crl.rsa.2048.pem to the same folder as the CAToronto.ovpn Restart the container hmmm....I do only have the ca.rsa.2048 file in my conf dir thanks for the help. So you know I did search around a bit on forum first b4 writing the post Thanks Quote Link to comment
Dyon Posted November 8, 2020 Author Share Posted November 8, 2020 Just now, rbh00723 said: hmmm....I do only have the ca.rsa.2048 file in my conf dir thanks for the help. So you know I did search around a bit on forum first b4 writing the post Thanks No problem! Sometimes it is just easier to ask something than to search hours for the answer you are looking for 😄 Quote Link to comment
Quintanium Posted November 25, 2020 Share Posted November 25, 2020 Minor correction on github on the wireguard portion that I've noticed: How to use WireGuard The container will fail to boot if VPN_ENABLED is set and there is no valid .conf file present in the /config/wireguard directory. Drop a .conf file from your VPN provider into /config/wireguard and start the container again. The file must have the name wg0.confg. It should be wg0.conf (no g). Quote Link to comment
Dyon Posted November 25, 2020 Author Share Posted November 25, 2020 25 minutes ago, Quintanium said: Minor correction on github on the wireguard portion that I've noticed: How to use WireGuard The container will fail to boot if VPN_ENABLED is set and there is no valid .conf file present in the /config/wireguard directory. Drop a .conf file from your VPN provider into /config/wireguard and start the container again. The file must have the name wg0.confg. It should be wg0.conf (no g). Thanks for letting me know! I've updated the readme 😄 Quote Link to comment
tmor2 Posted November 28, 2020 Share Posted November 28, 2020 (1) I cannot connect to webGUI. Error states: "Unable to connect. [Browser] can’t establish a connection to the server at 10.10.20.2:8089." (2) Also log shows: [DATE REMOVED] 12:22:39 [DATE REMOVED] /sbin/ip -6 addr add [REMOVED ADDRESS]/64 dev tun0 RTNETLINK answers: Permission denied [DATE REMOVED] 12:22:39 [DATE REMOVED] Linux ip -6 addr add failed: external program exited with error status: 2 [DATE REMOVED] 12:22:39 [DATE REMOVED] Exiting due to fatal error Can someone help resolve this problem? I installed the docker image with settings: Network type: Bridge VPN_ENABLED: Yes VPN_TYPE: openvpn VPN_USERNAME: ******* VPN_PASSWORD: ******* LAN_NETWORK: 192.168.0.0/24 Downloads Path: [path selected] WEBUI_PORT: 8089 (used different port from default 8080) PUID: 99 PGID: 100 Hide more settings ...(these were all left deafult) Correct .ovpn file was put in app folder. LOGS: untitled.txt Quote Link to comment
Dyon Posted November 28, 2020 Author Share Posted November 28, 2020 2 minutes ago, tmor2 said: (1) I cannot connect to webGUI. Error states: "Unable to connect. [Browser] can’t establish a connection to the server at 10.10.20.2:8089." (2) Also log shows: [DATE REMOVED] 12:22:39 [DATE REMOVED] /sbin/ip -6 addr add [REMOVED ADDRESS]/64 dev tun0 RTNETLINK answers: Permission denied [DATE REMOVED] 12:22:39 [DATE REMOVED] Linux ip -6 addr add failed: external program exited with error status: 2 [DATE REMOVED] 12:22:39 [DATE REMOVED] Exiting due to fatal error Can someone help resolve this problem? I installed the docker image with settings: Network type: Bridge VPN_ENABLED: Yes VPN_TYPE: openvpn VPN_USERNAME: ******* VPN_PASSWORD: ******* LAN_NETWORK: 192.168.0.0/24 Downloads Path: [path selected] WEBUI_PORT: 8089 (used different port from default 8080) PUID: 99 PGID: 100 Hide more settings ...(these were all left deafult) Correct .ovpn file was put in app folder. LOGS: untitled.txtUnavailable Did you run it privileged? Quote Link to comment
rbh00723 Posted November 28, 2020 Share Posted November 28, 2020 Did you run it privileged?What about his LAN address? Shouldn't it be 10.10.20.0/24Sent from my SM-N975U using Tapatalk Quote Link to comment
tmor2 Posted November 28, 2020 Share Posted November 28, 2020 4 hours ago, Dyon said: Did you run it privileged? How do I do that? Quote Link to comment
tmor2 Posted November 28, 2020 Share Posted November 28, 2020 1 hour ago, rbh00723 said: What about his LAN address? Shouldn't it be 10.10.20.0/24 Sent from my SM-N975U using Tapatalk Tried 10.10.20.0/24 Same problem. Quote Link to comment
Dyon Posted November 28, 2020 Author Share Posted November 28, 2020 14 minutes ago, tmor2 said: How do I do that? If you Edit the Docker, you will see a slider to enable privilleged; Quote Link to comment
tmor2 Posted November 29, 2020 Share Posted November 29, 2020 1 hour ago, Dyon said: If you Edit the Docker, you will see a slider to enable privilleged; Does not help. Issue persists. Privileged was turned on by default at install time. Quote Link to comment
2112 Posted January 8, 2021 Share Posted January 8, 2021 I am getting the below error. Is the config folder under the boot folder or /mnt/user/appdata/qbittorrentvpn/? [ERROR] No OpenVPN config file found in /config/openvpn/. Please download one from your VPN provider and restart this container. Make sure the file extension is '.ovpn' Quote Link to comment
Dyon Posted January 8, 2021 Author Share Posted January 8, 2021 7 minutes ago, 2112 said: I am getting the below error. Is the config folder under the boot folder or /mnt/user/appdata/qbittorrentvpn/? [ERROR] No OpenVPN config file found in /config/openvpn/. Please download one from your VPN provider and restart this container. Make sure the file extension is '.ovpn' Did you place it at /mnt/user/appdata/qbittorrentvpn/openvpn/config.ovpn ? Quote Link to comment
tmor2 Posted January 15, 2021 Share Posted January 15, 2021 (edited) Hi, I am able to download and install the app, starting works. Here are issues: There are no config files at all under UNRAID->appdata->qbittorentvpn. I see only one folder titled "openvpn" with 2 files, password file and .ovpn file from my VPN provider. There are no other folders. Usually, I would expect some app-specific configuration files. In terminal window, when typing "curl ifconfig.io", error message states: bash: curl: command not found (this error is unique to this app. no other docker app has this problem) WebGUI cannot be launched MY network is 10.10.20.0/24...I tried using both default 192.168.0.0/24 and 10.10.20.0.24 with no difference How can these issues be solved? Error Log: 3rd log from the the bottom of error log file (see attachment) indicates that some permission was denied. Help is appreciated. error message.txt Edited January 15, 2021 by tmor2 Quote Link to comment
Dyon Posted January 15, 2021 Author Share Posted January 15, 2021 7 minutes ago, tmor2 said: Hi, I am able to download and install the app, starting works. Here are issues: There are no config files at all under UNRAID->appdata->qbittorentvpn. I see only one folder titled "openvpn" with 2 files, password file and .ovpn file from my VPN provider. There are no other folders. Usually, I would expect some app-specific configuration files. In terminal window, when typing "curl ifconfig.io", error message states: bash: curl: command not found (this error is unique to this app. no other docker app has this problem) WebGUI cannot be launched MY network is 10.10.20.0/24...I tried using both default 192.168.0.0/24 and 10.10.20.0.24 with no difference How can these issues be solved? Error Log: 3rd log from the the bottom of error log file (see attachment) indicates that some permission was denied. Help is appreciated. error message.txt 8.26 kB · 1 download Currently, your Docker has no connection because it has no OpenVPN config. Because of this you can not launch the webui. 1. In your Unraid, you need to add the OpenVPN config file to the following path: /mnt/user/appdata/qbittorrentvpn/openvpn/config.ovpn You should not add a password file here, but add it to the config of the Docker, at VPN_USERNAME and VPN_PASSWORD. 2. Curl is not installed with the Docker. If you Docker has a network connection you can run `apt update && apt install -y curl`. 3. Because you have no connection, the WebUI is unavailable. 4. 10.10.20.0/24 should be fine. Quote Link to comment
tmor2 Posted January 15, 2021 Share Posted January 15, 2021 (edited) 9 minutes ago, Dyon said: Currently, your Docker has no connection because it has no OpenVPN config. Because of this you can not launch the webui. 1. In your Unraid, you need to add the OpenVPN config file to the following path: /mnt/user/appdata/qbittorrentvpn/openvpn/config.ovpn You should not add a password file here, but add it to the config of the Docker, at VPN_USERNAME and VPN_PASSWORD. 2. Curl is not installed with the Docker. If you Docker has a network connection you can run `apt update && apt install -y curl`. 3. Because you have no connection, the WebUI is unavailable. 4. 10.10.20.0/24 should be fine. Hi, thanks. Let me clarify: 1. I did so, as stated in my original post. See screen shot attached below. I did not manually add password file. I entered username/password at VPN_USERNAME and VPN_PASSWORD after downloading and during docker setup. Just to be safe, I verified that the number of VPN connections is within limits set by my VPN provider. 2. Will do. thx. 3. See 1) 4. Ok Edited January 16, 2021 by tmor2 Quote Link to comment
Dyon Posted January 16, 2021 Author Share Posted January 16, 2021 2 minutes ago, tmor2 said: Hi, thanks. Let me clarify: 1. I did so, as stated in my original post. See screen shot attached below. I did not manually add password file. I entered username/password at VPN_USERNAME and VPN_PASSWORD after downloading and during docker setup. 2. Will do. thx. 3. See 1) 4. Ok I think your OpenVPN config might has some lines regarding IPv6. This is my .ovpn for example, your will be different since you have a different provider, but check if there is anything related to IPv6: client dev tun proto udp remote remote.host.com 443 nobind auth-user-pass resolv-retry infinite auth SHA512 cipher AES-256-CBC comp-lzo verb 2 mute-replay-warnings remote-cert-tls server persist-key persist-tun key-direction 1 Quote Link to comment
tmor2 Posted January 16, 2021 Share Posted January 16, 2021 (edited) 6 minutes ago, Dyon said: I think your OpenVPN config might has some lines regarding IPv6. This is my .ovpn for example, your will be different since you have a different provider, but check if there is anything related to IPv6: client dev tun proto udp remote remote.host.com 443 nobind auth-user-pass resolv-retry infinite auth SHA512 cipher AES-256-CBC comp-lzo verb 2 mute-replay-warnings remote-cert-tls server persist-key persist-tun key-direction 1 Yes it does, see below. How does this need to be modified? client dev tun resolv-retry infinite nobind persist-key persist-tun verb 3 remote-cert-tls server ping 10 ping-restart 60 sndbuf 524288 rcvbuf 524288 cipher AES-256-CBC tls-cipher TLS-DHE-RSA-WITH-AES-256-GCM-SHA384:TLS-DHE-RSA-WITH-AES-256-CBC-SHA proto udp auth-user-pass credentials.conf reneg-sec 0 tun-ipv6 redirect-gateway ipv6 fast-io remote-random remote [MASKED VPN server address] [MASKED port] remote [MASKED VPN server address] [MASKED port] <ca> -----BEGIN CERTIFICATE----- [MASKED certificate details] -----END CERTIFICATE----- </ca> Edited January 16, 2021 by tmor2 Quote Link to comment
Dyon Posted January 16, 2021 Author Share Posted January 16, 2021 2 minutes ago, tmor2 said: Yes it does, see below. How does this need to be modified? client dev tun resolv-retry infinite nobind persist-key persist-tun verb 3 remote-cert-tls server ping 10 ping-restart 60 sndbuf 524288 rcvbuf 524288 cipher AES-256-CBC tls-cipher TLS-DHE-RSA-WITH-AES-256-GCM-SHA384:TLS-DHE-RSA-WITH-AES-256-CBC-SHA proto udp auth-user-pass credentials.conf reneg-sec 0 tun-ipv6 redirect-gateway ipv6 fast-io remote-random remote [MASKED VPN server address] [MASKED port] remote [MASKED VPN server address] [MASKED port] <ca> -----BEGIN CERTIFICATE----- [MASKED certificate details] -----END CERTIFICATE----- </ca> Try this removing these two lines: tun-ipv6 redirect-gateway ipv6 Quote Link to comment
tmor2 Posted January 16, 2021 Share Posted January 16, 2021 4 minutes ago, Dyon said: Try this removing these two lines: tun-ipv6 redirect-gateway ipv6 It didn't work. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.