Hi there people. My aim is to have QBit running via a VPN. I have subscriptions to both PIA and Nord, have tried with both but to no avail.
I am mega new to both SSH and docker so I'm probably doing something very obviously wrong.
I've followed the instructions over here - I had no idea these were @Rusty 's guides, but makes sense now recognising the face!
I can SSH in fine, and install the QBit container fine.
The username and password I am using are the regular ones I use to log into the website and app etc.
It runs and gives the following log:
The last part of the log "Options error" seems odd to me as it has already opened the config file at the beginning of the process?
When I try to open the QBit local/admin page at 192.168.1.174:8080 (in Firefox) i get an error:
- via http: "The connection was reset: The connection to the server was reset while the page was loading."
- via https: "Secure Connection Failed: An error occurred during a connection to 192.168.1.174:8080. PR_END_OF_FILE_ERROR"
I have done the tun.ko testing part, making sure it runs on reboot etc and this seems fine (even if it did take me hours to work out i needed putty, and how to close the file once editing it...!).
curl ifconfig.me gives the error "Could not resolve host" so i think maybe the issue is with the ovpn cert I am using? Which is:
I am putting the ovpn file in "/docker/qbit/config/openvpn" which I think is correct given what i have defined the config folder as (and it seems to be getting read).
If anyone is able to shed some light on this it would be most appreciated. I am in well above my depth here!!
I am mega new to both SSH and docker so I'm probably doing something very obviously wrong.
I've followed the instructions over here - I had no idea these were @Rusty 's guides, but makes sense now recognising the face!
I can SSH in fine, and install the QBit container fine.
docker run --privileged -d --name=qbittorrent -v /volume1/docker/qbit/config/:/config -v /volume1/torr/:/downloads -e "VPN_ENABLED=yes" -e "VPN_USERNAME=myPIAusername" -e "VPN_PASSWORD=myPIApassword" -e "LAN_NETWORK=192.168.1.0/24" -e "NAME_SERVERS=8.8.8.8,8.8.4.4" -p 8080:8080 -p 8999:8999 -p 8999:8999/udp markusmcnugen/qbittorrentvpn
The username and password I am using are the regular ones I use to log into the website and app etc.
It runs and gives the following log:
Code:
date stream content
2021-11-26 13:33:26 stdout Use --help for more information.
2021-11-26 13:33:26 stdout Options error: In [CMD-LINE]:1: Error opening configuration file: /config/openvpn/uk-aes-256-cbc-udp-dns.ovpn
2021-11-26 13:33:26 stdout 2021-11-26 13:33:26.385118 [info] Starting OpenVPN...
2021-11-26 13:33:26 stdout 2021-11-26 13:33:26.349514 [info] PGID not defined. Defaulting to root group
2021-11-26 13:33:26 stdout 2021-11-26 13:33:26.312613 [info] PUID not defined. Defaulting to root user
2021-11-26 13:33:26 stdout 2021-11-26 13:33:26.277512 [info] Adding 8.8.4.4 to resolv.conf
2021-11-26 13:33:26 stdout 2021-11-26 13:33:26.241315 [info] Adding 8.8.8.8 to resolv.conf
2021-11-26 13:33:26 stdout 2021-11-26 13:33:26.204678 [info] VPN_OPTIONS not defined (via -e VPN_OPTIONS)
2021-11-26 13:33:26 stdout 2021-11-26 13:33:26.168158 [info] NAME_SERVERS defined as '8.8.8.8,8.8.4.4'
2021-11-26 13:33:26 stdout 2021-11-26 13:33:26.132110 [info] LAN_NETWORK defined as '192.168.1.0/24'
2021-11-26 13:33:26 stdout 2021-11-26 13:33:26.095738 [info] VPN_DEVICE_TYPE defined as 'tun0'
2021-11-26 13:33:26 stdout 2021-11-26 13:33:26.059533 [info] VPN_PROTOCOL defined as 'udp'
2021-11-26 13:33:26 stdout 2021-11-26 13:33:26.023264 [info] VPN_PORT defined as '1197'
2021-11-26 13:33:25 stdout 2021-11-26 13:33:25.986947 [info] VPN_REMOTE defined as 'uk-london.privacy.network'
2021-11-26 13:33:25 stdout 2021-11-26 13:33:25.950240 [info] VPN remote line defined as 'uk-london.privacy.network 1197'
2021-11-26 13:33:25 stderr dos2unix: converting file /config/openvpn/uk-aes-256-cbc-udp-dns.ovpn to Unix format...
2021-11-26 13:33:25 stdout 2021-11-26 13:33:25.866884 [info] OpenVPN config file (ovpn extension) is located at /config/openvpn/uk-aes-256-cbc-udp-dns.ovpn
2021-11-26 13:33:25 stdout 2021-11-26 13:33:25.801596 [info] VPN_ENABLED defined as 'yes'
The last part of the log "Options error" seems odd to me as it has already opened the config file at the beginning of the process?
When I try to open the QBit local/admin page at 192.168.1.174:8080 (in Firefox) i get an error:
- via http: "The connection was reset: The connection to the server was reset while the page was loading."
- via https: "Secure Connection Failed: An error occurred during a connection to 192.168.1.174:8080. PR_END_OF_FILE_ERROR"
I have done the tun.ko testing part, making sure it runs on reboot etc and this seems fine (even if it did take me hours to work out i needed putty, and how to close the file once editing it...!).
curl ifconfig.me gives the error "Could not resolve host" so i think maybe the issue is with the ovpn cert I am using? Which is:
client
dev tun
proto udp
remote uk-london.privacy.network 1197
resolv-retry infinite
nobind
persist-key
persist-tun
cipher aes-256-cbc
auth sha256
tls-client
remote-cert-tls server
auth-user-pass
compress
verb 1
reneg-sec 0
<crl-verify>
-----BEGIN X509 CRL-----
xxx
-----END X509 CRL-----
</crl-verify>
<ca>
-----BEGIN CERTIFICATE-----
xxx
-----END CERTIFICATE-----
</ca>
disable-occ
I am putting the ovpn file in "/docker/qbit/config/openvpn" which I think is correct given what i have defined the config folder as (and it seems to be getting read).
If anyone is able to shed some light on this it would be most appreciated. I am in well above my depth here!!