Jump to content
binhex

[Support] binhex - qBittorrentVPN

255 posts in this topic Last Reply

Recommended Posts

Overview: Support for Docker image arch-qbittorrentvpn in the binhex repo.

Application: qBittorrent - https://www.qbittorrent.org/ 

Docker Hub: https://hub.docker.com/r/binhex/arch-qbittorrentvpn/

GitHub: https://github.com/binhex/arch-qbittorrentvpn

Documentationhttps://github.com/binhex/documentation

 

If you appreciate my work, then please consider buying me a beer 😁

 

btn_donate_SM.gif&key=57f6b617e37a194c35

 

For other Docker support threads and requests, news and Docker template support for the binhex repository please use the "General" thread here

Edited by binhex

Share this post


Link to post

Hi Binhex

 

Deluge is too heavy and rtorrent's scheduler is frustratingly not reliable so I gave this a try today, installed the container, ran once, copied my openvpn folder from rtorrentvpn and restarted.

 

Init looks OK, VPN looks up but the qbittorrent web UI doesn't come up.  I tried disabling VPN and privoxy but same result  I must be missing something in the parameters.  

Am I correct when I say the WEBUI_PORT is for the web UI inside the container and should remain at 8080 since I have container port 8080 mapped to 8085 ?

I used "reproxy0" as the network interface, a custom interface I use for reverse procy but bridge behaves the same

root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='binhex-qbittorrentvpn' --net='reproxy0' --privileged=true -e TZ="America/New_York" -e HOST_OS="Unraid" -e 'VPN_ENABLED'='yes' -e 'VPN_USER'='**user**' -e 'VPN_PASS'='**pw**' -e 'VPN_PROV'='custom' -e 'VPN_OPTIONS'='' -e 'STRICT_PORT_FORWARD'='yes' -e 'ENABLE_PRIVOXY'='yes' -e 'WEBUI_PORT'='8080' -e 'LAN_NETWORK'='192.168.1.0/24' -e 'NAME_SERVERS'='209.222.18.222,37.235.1.174,1.1.1.1,8.8.8.8,209.222.18.218,37.235.1.177,1.0.0.1,8.8.4.4' -e 'DEBUG'='true' -e 'UMASK'='000' -e 'PUID'='99' -e 'PGID'='100' -p '6881:6881/tcp' -p '6881:6881/udp' -p '8085:8080/tcp' -p '8228:8118/tcp' -v '/mnt/cache/cache_only/downloads/':'/data':'rw' -v '/mnt/cache/cache_only/appdata/binhex-qbittorrentvpn':'/config':'rw' 'binhex/arch-qbittorrentvpn' 
500d1ecafac65f2f5e1364be8bd06870245d676e80c994a4c260c0848db6854c

 

 

Edited by Gog
removing logs

Share this post


Link to post
12 hours ago, Gog said:

Hi Binhex

 

Deluge is too heavy and rtorrent's scheduler is frustratingly not reliable so I gave this a try today, installed the container, ran once, copied my openvpn folder from rtorrentvpn and restarted.

 

Init looks OK, VPN looks up but the qbittorrent web UI doesn't come up.  I tried disabling VPN and privoxy but same result  I must be missing something in the parameters.  

Am I correct when I say the WEBUI_PORT is for the web UI inside the container and should remain at 8080 since I have container port 8080 mapped to 8085 ?

I used "reproxy0" as the network interface, a custom interface I use for reverse procy but bridge behaves the same


root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='binhex-qbittorrentvpn' --net='reproxy0' --privileged=true -e TZ="America/New_York" -e HOST_OS="Unraid" -e 'VPN_ENABLED'='yes' -e 'VPN_USER'='**user**' -e 'VPN_PASS'='**pw**' -e 'VPN_PROV'='custom' -e 'VPN_OPTIONS'='' -e 'STRICT_PORT_FORWARD'='yes' -e 'ENABLE_PRIVOXY'='yes' -e 'WEBUI_PORT'='8080' -e 'LAN_NETWORK'='192.168.1.0/24' -e 'NAME_SERVERS'='209.222.18.222,37.235.1.174,1.1.1.1,8.8.8.8,209.222.18.218,37.235.1.177,1.0.0.1,8.8.4.4' -e 'DEBUG'='true' -e 'UMASK'='000' -e 'PUID'='99' -e 'PGID'='100' -p '6881:6881/tcp' -p '6881:6881/udp' -p '8085:8080/tcp' -p '8228:8118/tcp' -v '/mnt/cache/cache_only/downloads/':'/data':'rw' -v '/mnt/cache/cache_only/appdata/binhex-qbittorrentvpn':'/config':'rw' 'binhex/arch-qbittorrentvpn' 
500d1ecafac65f2f5e1364be8bd06870245d676e80c994a4c260c0848db6854c

This is supervisor.log with VPN enabled


Created by...
___.   .__       .__                   
\_ |__ |__| ____ |  |__   ____ ___  ___
 | __ \|  |/    \|  |  \_/ __ \\  \/  /
 | \_\ \  |   |  \   Y  \  ___/ >    < 
 |___  /__|___|  /___|  /\___  >__/\_ \
     \/        \/     \/     \/      \/
   https://hub.docker.com/u/binhex/

2018-11-11 15:58:06.167202 [info] System information Linux 500d1ecafac6 4.18.15-unRAID #1 SMP Thu Oct 18 16:39:44 PDT 2018 x86_64 GNU/Linux
2018-11-11 15:58:06.198008 [info] PUID defined as '99'
2018-11-11 15:58:06.296303 [info] PGID defined as '100'
2018-11-11 15:58:06.370595 [info] UMASK defined as '000'
2018-11-11 15:58:06.390485 [info] Permissions already set for volume mappings
2018-11-11 15:58:06.421415 [info] VPN_ENABLED defined as 'yes'
2018-11-11 15:58:06.455628 [info] OpenVPN config file (ovpn extension) is located at /config/openvpn/ibVPN_P2P_-_Netherlands_Rotterdam.ovpn
dos2unix: converting file /config/openvpn/ibVPN_P2P_-_Netherlands_Rotterdam.ovpn to Unix format...
2018-11-11 15:58:06.488139 [info] VPN remote line defined as 'remote nl8.ibvpn.com 1196 udp'
2018-11-11 15:58:06.507031 [info] VPN_REMOTE defined as 'nl8.ibvpn.com'
2018-11-11 15:58:06.527010 [info] VPN_PORT defined as '1196'
2018-11-11 15:58:06.551200 [info] VPN_PROTOCOL defined as 'udp'
2018-11-11 15:58:06.570227 [info] VPN_DEVICE_TYPE defined as 'tap0'
2018-11-11 15:58:06.588873 [info] VPN_PROV defined as 'custom'
2018-11-11 15:58:06.607592 [info] LAN_NETWORK defined as '192.168.1.0/24'
2018-11-11 15:58:06.626279 [info] NAME_SERVERS defined as '209.222.18.222,37.235.1.174,1.1.1.1,8.8.8.8,209.222.18.218,37.235.1.177,1.0.0.1,8.8.4.4'
2018-11-11 15:58:06.645044 [info] VPN_USER defined as '**user**'
2018-11-11 15:58:06.663699 [info] VPN_PASS defined as '**pw**'
2018-11-11 15:58:06.682553 [info] VPN_OPTIONS not defined (via -e VPN_OPTIONS)
2018-11-11 15:58:06.701180 [info] ENABLE_PRIVOXY defined as 'yes'
2018-11-11 15:58:06.720052 [info] WEBUI_PORT defined as '8080'
2018-11-11 15:58:06.740928 [info] Starting Supervisor...
2018-11-11 15:58:07,203 INFO Included extra file "/etc/supervisor/conf.d/qbittorrent.conf" during parsing
2018-11-11 15:58:07,203 INFO Set uid to user 0 succeeded
2018-11-11 15:58:07,207 INFO supervisord started with pid 8
2018-11-11 15:58:08,209 INFO spawned: 'start-script' with pid 147
2018-11-11 15:58:08,210 INFO spawned: 'watchdog-script' with pid 148
2018-11-11 15:58:08,211 INFO spawned: 'privoxy-script' with pid 149
2018-11-11 15:58:08,211 INFO reaped unknown pid 9
2018-11-11 15:58:08,215 DEBG 'start-script' stdout output:
[info] VPN is enabled, beginning configuration of VPN
[debug] Environment variables defined as follows
BASH=/bin/bash
BASHOPTS=cmdhist:complete_fullquote:extquote:force_fignore:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath
BASH_ALIASES=()
BASH_ARGC=()
BASH_ARGV=()
BASH_CMDS=()
BASH_LINENO=([0]="0")
BASH_SOURCE=([0]="/root/start.sh")
BASH_VERSINFO=([0]="4" [1]="4" [2]="23" [3]="1" [4]="release" [5]="x86_64-unknown-linux-gnu")
BASH_VERSION='4.4.23(1)-release'
DEBUG=true
DIRSTACK=()
ENABLE_PRIVOXY=yes
EUID=0
GROUPS=()
HOME=/home/nobody
HOSTNAME=500d1ecafac6

2018-11-11 15:58:08,215 INFO success: start-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2018-11-11 15:58:08,215 INFO success: watchdog-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2018-11-11 15:58:08,215 INFO success: privoxy-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2018-11-11 15:58:08,215 DEBG 'start-script' stdout output:
HOSTTYPE=x86_64
HOST_OS=Unraid
IFS=$' \t\n'
LANG=en_GB.UTF-8
LAN_NETWORK=192.168.1.0/24
MACHTYPE=x86_64-unknown-linux-gnu
NAME_SERVERS=209.222.18.222,37.235.1.174,1.1.1.1,8.8.8.8,209.222.18.218,37.235.1.177,1.0.0.1,8.8.4.4
OPTERR=1
OPTIND=1
OSTYPE=linux-gnu
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PGID=100
PIPESTATUS=([0]="0")
PPID=8
PS4='+ '
PUID=99
PWD=/
SHELL=/bin/bash
SHELLOPTS=braceexpand:hashall:interactive-comments
SHLVL=1
STRICT_PORT_FORWARD=yes
SUPERVISOR_ENABLED=1
SUPERVISOR_GROUP_NAME=start-script
SUPERVISOR_PROCESS_NAME=start-script
TERM=xterm
TZ=America/New_York
UID=0
UMASK=000
VPN_CONFIG=/config/openvpn/ibVPN_P2P_-_Netherlands_Rotterdam.ovpn
VPN_DEVICE_TYPE=tap0
VPN_ENABLED=yes
VPN_OPTIONS=
VPN_PASS=**pw**
VPN_PORT=1196
VPN_PROTOCOL=udp
VPN_PROV=custom
VPN_REMOTE=nl8.ibvpn.com
VPN_USER=**user**
WEBUI_PORT=8080
_='[debug] Environment variables defined as follows'
[debug] Directory listing of files in /config/openvpn as follows

2018-11-11 15:58:08,215 DEBG 'privoxy-script' stdout output:
[debug] Waiting for valid IP address from tunnel...

2018-11-11 15:58:08,215 DEBG 'watchdog-script' stdout output:
[info] qBittorrent config file already exists, skipping copy

2018-11-11 15:58:08,215 DEBG 'watchdog-script' stdout output:
[info] Removing session lock file (if it exists)...

2018-11-11 15:58:08,220 DEBG 'watchdog-script' stderr output:
dos2unix: converting file /config/qBittorrent/config/qBittorrent.conf to Unix format...

2018-11-11 15:58:08,220 DEBG 'start-script' stdout output:
total 16
drwxrwxr-x 2 nobody users  123 Nov 11 15:58 .
drwxrwxr-x 5 nobody users   95 Nov 11 15:58 ..
-rwxrwxr-x 1 nobody users   34 Nov 11 10:23 credentials.conf
-rwxrwxr-x 1 nobody users 2097 Nov 11 15:58 ibVPN_P2P_-_Netherlands_Rotterdam.ovpn
-rwxrwxr-x 1 nobody users 1922 Aug 15 07:56 update-resolv-conf
-rwxrwxr-x 1 nobody users   33 Aug 15 07:56 user_pass.txt

2018-11-11 15:58:08,225 DEBG 'start-script' stdout output:
[warn] Username contains characters which could cause authentication issues, please consider changing this if possible

2018-11-11 15:58:08,225 DEBG 'watchdog-script' stdout output:
[debug] Waiting for valid IP address from tunnel...

2018-11-11 15:58:08,242 DEBG 'start-script' stdout output:
[debug] Contents of ovpn file /config/openvpn/ibVPN_P2P_-_Netherlands_Rotterdam.ovpn as follows...

2018-11-11 15:58:08,243 DEBG 'start-script' stdout output:
remote nl8.ibvpn.com 1196 udp
fragment 1300
explicit-exit-notify 3
auth-user-pass credentials.conf
route-metric 512
route 0.0.0.0 0.0.0.0
auth RSA-SHA512
dev tap
server-poll-timeout 20
client
nobind
resolv-retry infinite
auth-retry nointeract
persist-key
cipher AES-256-CBC
mute-replay-warnings
comp-lzo
verb 3
mute 20
remote-cert-tls server
route-delay 2
script-security 3
<ca>
-----BEGIN CERTIFICATE-----
MIIExDCCA6ygAwIBAgIJAOK5j4WoRJ9rMA0GCSqGSIb3DQEBCwUAMIGcMQswCQYD
VQQGEwJSTzELMAkGA1UECBMCTVMxEzARBgNVBAcTClRpcmd1TXVyZXMxEjAQBgNV
BAoTCUFtcGx1c25ldDEOMAwGA1UECxMFaWJWUE4xFTATBgNVBAMTDEFtcGx1c25l
dCBDQTEQMA4GA1UEKRMHRWFzeVJTQTEeMBwGCSqGSIb3DQEJARYPYWRtaW5AaWJ2
cG4uY29tMB4XDTE3MDEyNzA5MzkzMloXDTM3MDEyMjA5MzkzMlowgZwxCzAJBgNV
BAYTAlJPMQswCQYDVQQIEwJNUzETMBEGA1UEBxMKVGlyZ3VNdXJlczESMBAGA1UE
ChMJQW1wbHVzbmV0MQ4wDAYDVQQLEwVpYlZQTjEVMBMGA1UEAxMMQW1wbHVzbmV0
IENBMRAwDgYDVQQpEwdFYXN5UlNBMR4wHAYJKoZIhvcNAQkBFg9hZG1pbkBpYnZw
bi5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC+VcGhbC3ucctM
3pPPPslKVeMF9vCtx3yYReC34dFmg+38aj9fr/rQoQfLwAP67V77xHzlysz0tHlH
huaAJ0pzgaOo/s/R5ecvvc7w/8Pxc81CiVKh5WNWqbanMvpTt+SIFi5OuoYAlfEa
Js2K0DJ5fFSmOYxSEb5JRrxmR5i7ZUbtWFbVDNJ6ppxE/SCIyL/PLxadEEawQPV1
OS/ZU8AM93+7I8G/cbttyFCpsFGM1sTU6WVJctbJkpabs5HzYiPxY+UMjnYq7g9z
CfEi3uM4h356abLKybyvo3D1daDoM0GoTdrVf6acN8//UB1yO0x2fuY2szuhV14n
X0tA9MexAgMBAAGjggEFMIIBATAdBgNVHQ4EFgQUZolsRPiX5gLUaXRviFVe8Dr+
mPwwgdEGA1UdIwSByTCBxoAUZolsRPiX5gLUaXRviFVe8Dr+mPyhgaKkgZ8wgZwx
CzAJBgNVBAYTAlJPMQswCQYDVQQIEwJNUzETMBEGA1UEBxMKVGlyZ3VNdXJlczES
MBAGA1UEChMJQW1wbHVzbmV0MQ4wDAYDVQQLEwVpYlZQTjEVMBMGA1UEAxMMQW1w
bHVzbmV0IENBMRAwDgYDVQQpEwdFYXN5UlNBMR4wHAYJKoZIhvcNAQkBFg9hZG1p
bkBpYnZwbi5jb22CCQDiuY+FqESfazAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEB
CwUAA4IBAQAFqpJWtCOeNoK7sX+YvjxbqEonEZ8J6phtLsCUlopH65lu0fyPY62z
t8FV9YPyJpQ1SBkW6OWRwDrP2rdhYg1MFzSZ0KtHUHP/Mw2YD6eA8kXP6Bn4qJAm
r3ATzewN6zc6ykuezOmP+xtN2pIxlCKhP/R895O9lx5vPj3bOkmihV6j1YL53bjt
qDmxOCDWQfb+GrKJZvMi883ZH+EXKT1wXkJoxZsk0i3YPxXYjxZav3R10Bimq/eI
dGhJorVfaddtAsqOvtlWH+eXX/QQHn71AwdmYoJXXQBFXlNphlUzeS8oQJLjoqbN
ols881AMLD8k5X+BrM5Jogtz+Fs+vW4F
-----END CERTIFICATE-----
</ca>

2018-11-11 15:58:08,263 DEBG 'start-script' stdout output:
[info] Default route for container is 172.18.0.1

2018-11-11 15:58:08,266 DEBG 'start-script' stdout output:
[info] Adding 209.222.18.222 to /etc/resolv.conf

2018-11-11 15:58:08,268 DEBG 'start-script' stdout output:
[info] Adding 37.235.1.174 to /etc/resolv.conf

2018-11-11 15:58:08,271 DEBG 'start-script' stdout output:
[info] Adding 1.1.1.1 to /etc/resolv.conf

2018-11-11 15:58:08,273 DEBG 'start-script' stdout output:
[info] Adding 8.8.8.8 to /etc/resolv.conf

2018-11-11 15:58:08,276 DEBG 'start-script' stdout output:
[info] Adding 209.222.18.218 to /etc/resolv.conf

2018-11-11 15:58:08,279 DEBG 'start-script' stdout output:
[info] Adding 37.235.1.177 to /etc/resolv.conf

2018-11-11 15:58:08,281 DEBG 'start-script' stdout output:
[info] Adding 1.0.0.1 to /etc/resolv.conf

2018-11-11 15:58:08,284 DEBG 'start-script' stdout output:
[info] Adding 8.8.4.4 to /etc/resolv.conf

2018-11-11 15:58:08,367 DEBG 'start-script' stdout output:
[info] Remote VPN endpoint resolves to the following A record(s)...
85.17.72.113

2018-11-11 15:58:08,386 DEBG 'start-script' stdout output:
[debug] Show name servers defined for container

2018-11-11 15:58:08,387 DEBG 'start-script' stdout output:
nameserver 209.222.18.222
nameserver 37.235.1.174
nameserver 1.1.1.1
nameserver 8.8.8.8
nameserver 209.222.18.218
nameserver 37.235.1.177
nameserver 1.0.0.1
nameserver 8.8.4.4

2018-11-11 15:58:08,387 DEBG 'start-script' stdout output:
[debug] Show name resolution for VPN endpoint nl8.ibvpn.com

2018-11-11 15:58:08,670 DEBG 'start-script' stdout output:
;; ->>HEADER<<- opcode: QUERY, rcode: NOERROR, id: 17731
;; flags: qr rd ra ; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 
;; QUESTION SECTION:
;; nl8.ibvpn.com.	IN	A

;; ANSWER SECTION:
nl8.ibvpn.com.	300	IN	A	85.17.72.113

;; AUTHORITY SECTION:

;; ADDITIONAL SECTION:

;; Query time: 281 msec
;; SERVER: 37.235.1.174
;; WHEN: Sun Nov 11 15:58:08 2018
;; MSG SIZE  rcvd: 47

2018-11-11 15:58:08,670 DEBG 'start-script' stdout output:
[debug] Show contents of hosts file

2018-11-11 15:58:08,670 DEBG 'start-script' stdout output:
127.0.0.1	localhost
::1	localhost ip6-localhost ip6-loopback
fe00::0	ip6-localnet
ff00::0	ip6-mcastprefix
ff02::1	ip6-allnodes
ff02::2	ip6-allrouters
172.18.0.3	500d1ecafac6
85.17.72.113    nl8.ibvpn.com

2018-11-11 15:58:08,673 DEBG 'start-script' stdout output:
[info] Adding 192.168.1.0/24 as route via docker eth0

2018-11-11 15:58:08,674 DEBG 'start-script' stdout output:
[info] ip route defined as follows...
--------------------

2018-11-11 15:58:08,674 DEBG 'start-script' stdout output:
default via 172.18.0.1 dev eth0 
172.18.0.0/16 dev eth0 proto kernel scope link src 172.18.0.3 
192.168.1.0/24 via 172.18.0.1 dev eth0 

2018-11-11 15:58:08,674 DEBG 'start-script' stdout output:
--------------------

2018-11-11 15:58:08,674 DEBG 'start-script' stdout output:
[debug] Modules currently loaded for kernel

2018-11-11 15:58:08,676 DEBG 'start-script' stdout output:
Module                  Size  Used by
md_mod                 49152  9
iptable_mangle         16384  2
tun                    36864  32
veth                   16384  0
xt_nat                 16384  68
macvlan                20480  0
ipt_MASQUERADE         16384  21
iptable_nat            16384  12
nf_conntrack_ipv4      16384  117
nf_defrag_ipv4         16384  1 nf_conntrack_ipv4
nf_nat_ipv4            16384  2 ipt_MASQUERADE,iptable_nat
iptable_filter         16384  2
ip_tables              24576  6 iptable_filter,iptable_nat,iptable_mangle
nf_nat                 24576  2 nf_nat_ipv4,xt_nat
xfs                   663552  6
reiserfs              212992  4
ipmi_devintf           16384  0
igb                   167936  0
i2c_algo_bit           16384  1 igb
x86_pkg_temp_thermal    16384  0
intel_powerclamp       16384  0
coretemp               16384  0
ipmi_ssif              24576  0
kvm_intel             196608  0
kvm                   364544  1 kvm_intel
crct10dif_pclmul       16384  0
crc32_pclmul           16384  0
crc32c_intel           24576  0
ghash_clmulni_intel    16384  0
pcbc                   16384  0
aesni_intel           200704  0
aes_x86_64             20480  1 aesni_intel
crypto_simd            16384  1 aesni_intel
cryptd                 20480  3 crypto_simd,ghash_clmulni_intel,aesni_intel
glue_helper            16384  1 aesni_intel
intel_cstate           16384  0
intel_uncore          102400  0
mpt3sas               221184  7
intel_rapl_perf        16384  0
ahci                   40960  2
sata_mv                32768  2
libahci                28672  1 ahci
i2c_i801               24576  0
i2c_core               40960  4 i2c_algo_bit,igb,i2c_i801,ipmi_ssif
raid_class             16384  1 mpt3sas
scsi_transport_sas     32768  1 mpt3sas
ie31200_edac           16384  0
video                  40960  0
thermal                20480  0
button                 16384  0
pcc_cpufreq            16384  0
fan                    16384  0
backlight              16384  1 video
ipmi_si                53248  0

2018-11-11 15:58:08,678 DEBG 'start-script' stdout output:
iptable_mangle         16384  2
ip_tables              24576  6 iptable_filter,iptable_nat,iptable_mangle

2018-11-11 15:58:08,678 DEBG 'start-script' stdout output:
[info] iptable_mangle support detected, adding fwmark for tables

2018-11-11 15:58:08,685 DEBG 'start-script' stdout output:
[debug] Docker interface defined as eth0

2018-11-11 15:58:08,688 DEBG 'start-script' stdout output:
[debug] Docker IP defined as 172.18.0.3

2018-11-11 15:58:08,690 DEBG 'start-script' stdout output:
[debug] Docker netmask defined as 255.255.0.0

2018-11-11 15:58:08,696 DEBG 'start-script' stdout output:
[info] Docker network defined as    172.18.0.0/16

2018-11-11 15:58:08,781 DEBG 'start-script' stdout output:
[info] iptables defined as follows...
--------------------

2018-11-11 15:58:08,782 DEBG 'start-script' stdout output:
-P INPUT DROP
-P FORWARD ACCEPT
-P OUTPUT DROP
-A INPUT -i tap0 -j ACCEPT
-A INPUT -s 172.18.0.0/16 -d 172.18.0.0/16 -j ACCEPT
-A INPUT -i eth0 -p udp -m udp --sport 1196 -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.0/24 -i eth0 -p tcp -m tcp --dport 8080 -j ACCEPT
-A INPUT -s 192.168.1.0/24 -d 172.18.0.0/16 -i eth0 -p tcp -j ACCEPT
-A INPUT -p icmp -m icmp --icmp-type 0 -j ACCEPT
-A INPUT -i lo -j ACCEPT
-A OUTPUT -o tap0 -j ACCEPT
-A OUTPUT -s 172.18.0.0/16 -d 172.18.0.0/16 -j ACCEPT
-A OUTPUT -o eth0 -p udp -m udp --dport 1196 -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.0/24 -o eth0 -p tcp -m tcp --sport 8080 -j ACCEPT
-A OUTPUT -s 172.18.0.0/16 -d 192.168.1.0/24 -o eth0 -p tcp -j ACCEPT
-A OUTPUT -p icmp -m icmp --icmp-type 8 -j ACCEPT
-A OUTPUT -o lo -j ACCEPT

2018-11-11 15:58:08,782 DEBG 'start-script' stdout output:
--------------------

2018-11-11 15:58:08,785 DEBG 'start-script' stdout output:
[debug] OpenVPN command line:- /usr/bin/openvpn --daemon --reneg-sec 0 --mute-replay-warnings --auth-nocache --setenv VPN_PROV 'custom' --setenv DEBUG 'true' --setenv VPN_DEVICE_TYPE 'tap0' --setenv VPN_REMOTE 'nl8.ibvpn.com' --script-security 2 --up /root/openvpnup.sh --up-delay --up-restart --writepid /root/openvpn.pid --remap-usr1 SIGHUP --log-append /dev/stdout --pull-filter ignore 'up' --pull-filter ignore 'down' --pull-filter ignore 'route-ipv6' --pull-filter ignore 'ifconfig-ipv6' --pull-filter ignore 'tun-ipv6' --pull-filter ignore 'persist-tun' --pull-filter ignore 'reneg-sec' --remote 85.17.72.113 1196 udp --remote-random --keepalive 10 60 --auth-user-pass credentials.conf --cd /config/openvpn --config '/config/openvpn/ibVPN_P2P_-_Netherlands_Rotterdam.ovpn'
[info] Starting OpenVPN...

2018-11-11 15:58:08,888 DEBG 'start-script' stdout output:
Sun Nov 11 15:58:08 2018 WARNING: file 'credentials.conf' is group or others accessible
Sun Nov 11 15:58:08 2018 OpenVPN 2.4.6 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Apr 24 2018
Sun Nov 11 15:58:08 2018 library versions: OpenSSL 1.1.1  11 Sep 2018, LZO 2.10

2018-11-11 15:58:08,889 DEBG 'start-script' stdout output:
Sun Nov 11 15:58:08 2018 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
[info] OpenVPN started

2018-11-11 15:58:08,889 DEBG 'start-script' stdout output:
[debug] Waiting for valid IP address from tunnel...

2018-11-11 15:58:08,889 DEBG 'start-script' stdout output:
Sun Nov 11 15:58:08 2018 TCP/UDP: Preserving recently used remote address: [AF_INET]85.17.72.113:1196
Sun Nov 11 15:58:08 2018 Socket Buffers: R=[212992->212992] S=[212992->212992]
Sun Nov 11 15:58:08 2018 UDP link local: (not bound)
Sun Nov 11 15:58:08 2018 UDP link remote: [AF_INET]85.17.72.113:1196

2018-11-11 15:58:08,981 DEBG 'start-script' stdout output:
Sun Nov 11 15:58:08 2018 TLS: Initial packet from [AF_INET]85.17.72.113:1196, sid=39580906 b13ba9cf

2018-11-11 15:58:09,079 DEBG 'start-script' stdout output:
Sun Nov 11 15:58:09 2018 VERIFY OK: depth=1, C=RO, ST=MS, L=TirguMures, O=Amplusnet, OU=ibVPN, CN=Amplusnet CA, name=EasyRSA, emailAddress=admin@ibvpn.com

2018-11-11 15:58:09,080 DEBG 'start-script' stdout output:
Sun Nov 11 15:58:09 2018 VERIFY KU OK
Sun Nov 11 15:58:09 2018 Validating certificate extended key usage
Sun Nov 11 15:58:09 2018 ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication
Sun Nov 11 15:58:09 2018 VERIFY EKU OK
Sun Nov 11 15:58:09 2018 VERIFY OK: depth=0, C=RO, ST=MS, L=TirguMures, O=Amplusnet, OU=ibVPN, CN=server, name=EasyRSA, emailAddress=admin@ibvpn.com

2018-11-11 15:58:09,282 DEBG 'start-script' stdout output:
Sun Nov 11 15:58:09 2018 Control Channel: TLSv1.2, cipher TLSv1.2 DHE-RSA-AES256-GCM-SHA384, 2048 bit RSA
Sun Nov 11 15:58:09 2018 [server] Peer Connection Initiated with [AF_INET]85.17.72.113:1196

2018-11-11 15:58:10,431 DEBG 'start-script' stdout output:
Sun Nov 11 15:58:10 2018 SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)

2018-11-11 15:58:10,522 DEBG 'start-script' stdout output:
Sun Nov 11 15:58:10 2018 PUSH: Received control message: 'PUSH_REPLY,route-gateway 194.35.115.129,ping 10,ping-restart 60,redirect-gateway def1,dhcp-option DNS 1.2.3.4,ifconfig 194.35.115.132 255.255.255.224'
Sun Nov 11 15:58:10 2018 OPTIONS IMPORT: timers and/or timeouts modified
Sun Nov 11 15:58:10 2018 OPTIONS IMPORT: --ifconfig/up options modified
Sun Nov 11 15:58:10 2018 OPTIONS IMPORT: route options modified
Sun Nov 11 15:58:10 2018 OPTIONS IMPORT: route-related options modified
Sun Nov 11 15:58:10 2018 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified

2018-11-11 15:58:10,522 DEBG 'start-script' stdout output:
Sun Nov 11 15:58:10 2018 Outgoing Data Channel: Cipher 'AES-256-CBC' initialized with 256 bit key
Sun Nov 11 15:58:10 2018 Outgoing Data Channel: Using 512 bit message hash 'SHA512' for HMAC authentication
Sun Nov 11 15:58:10 2018 Incoming Data Channel: Cipher 'AES-256-CBC' initialized with 256 bit key
Sun Nov 11 15:58:10 2018 Incoming Data Channel: Using 512 bit message hash 'SHA512' for HMAC authentication
Sun Nov 11 15:58:10 2018 ROUTE_GATEWAY 172.18.0.1/255.255.0.0 IFACE=eth0 HWADDR=02:42:ac:12:00:03

2018-11-11 15:58:10,522 DEBG 'start-script' stdout output:
Sun Nov 11 15:58:10 2018 TUN/TAP device tap0 opened

2018-11-11 15:58:10,522 DEBG 'start-script' stdout output:
Sun Nov 11 15:58:10 2018 TUN/TAP TX queue length set to 100
Sun Nov 11 15:58:10 2018 do_ifconfig, tt->did_ifconfig_ipv6_setup=0
Sun Nov 11 15:58:10 2018 /usr/bin/ip link set dev tap0 up mtu 1500

2018-11-11 15:58:10,523 DEBG 'start-script' stdout output:
Sun Nov 11 15:58:10 2018 /usr/bin/ip addr add dev tap0 194.35.115.132/27 broadcast 194.35.115.159

2018-11-11 15:58:10,524 DEBG 'start-script' stdout output:
Sun Nov 11 15:58:10 2018 /root/openvpnup.sh tap0 1500 1638 194.35.115.132 255.255.255.224 init

2018-11-11 15:58:10,527 DEBG 'start-script' stdout output:
[debug] Waiting for valid IP address from tunnel...

2018-11-11 15:58:10,528 DEBG 'start-script' stdout output:
[debug] Waiting for valid IP address from tunnel...

2018-11-11 15:58:10,583 DEBG 'privoxy-script' stdout output:
[debug] Valid IP address from tunnel acquired '194.35.115.132'
[info] Configuring Privoxy...

2018-11-11 15:58:10,591 DEBG 'watchdog-script' stdout output:
[debug] Valid IP address from tunnel acquired '194.35.115.132'
[info] qBittorrent listening interface IP 0.0.0.0 and VPN provider IP 194.35.115.132 different, marking for reconfigure

2018-11-11 15:58:10,594 DEBG 'watchdog-script' stdout output:
[info] qBittorrent not running

2018-11-11 15:58:10,599 DEBG 'privoxy-script' stdout output:
[info] All checks complete, starting Privoxy...

2018-11-11 15:58:10,605 DEBG 'privoxy-script' stderr output:
2018-11-11 15:58:10.605 149900dd0100 Info: Privoxy version 3.0.26
2018-11-11 15:58:10.605 149900dd0100 Info: Program name: /usr/bin/privoxy

2018-11-11 15:58:10,615 DEBG 'start-script' stdout output:
[debug] Valid IP address from tunnel acquired '194.35.115.132'

2018-11-11 15:58:10,634 DEBG 'start-script' stdout output:
[debug] Valid IP address from tunnel acquired '194.35.115.132'

2018-11-11 15:58:10,634 DEBG 'start-script' stdout output:
[debug] Valid IP address from tunnel acquired '194.35.115.132'
[debug] VPN provider custom is != pia, skipping incoming port detection

2018-11-11 15:58:10,634 DEBG 'start-script' stdout output:
[debug] Attempting to get external IP using Name Server 'ns1.google.com'...

2018-11-11 15:58:10,636 DEBG 'start-script' stdout output:
Error: could not find any address for the name: `ns1.google.com'

2018-11-11 15:58:10,638 DEBG 'start-script' stdout output:
[debug] Failed to get external IP using Name Server 'ns1.google.com', trying 'resolver1.opendns.com'...

2018-11-11 15:58:10,640 DEBG 'start-script' stdout output:
Error: could not find any address for the name: `resolver1.opendns.com'

2018-11-11 15:58:10,642 DEBG 'start-script' stdout output:
[debug] Failed to get external IP using Name Server 'resolver1.opendns.com', trying 'http://checkip.amazonaws.com'...

2018-11-11 15:58:10,677 DEBG 'start-script' stdout output:
[debug] Failed to get external IP using Web Server 'http://checkip.amazonaws.com', trying 'http://whatismyip.akamai.com'...

2018-11-11 15:58:10,682 DEBG 'start-script' stdout output:
[debug] Failed to get external IP using Web Server 'http://whatismyip.akamai.com', trying 'https://showextip.azurewebsites.net'...

2018-11-11 15:58:10,688 DEBG 'start-script' stdout output:
[debug] Failed to get external IP using Web Server 'https://showextip.azurewebsites.net'
[warn] Cannot determine external IP address, exhausted retries setting to tunnel IP '194.35.115.132'

2018-11-11 15:58:10,695 DEBG 'watchdog-script' stdout output:
[debug] External IP address from tunnel is '194.35.115.132'

2018-11-11 15:58:10,695 DEBG 'watchdog-script' stdout output:
[info] Removing session lock file (if it exists)...

2018-11-11 15:58:10,696 DEBG 'watchdog-script' stdout output:
[info] Attempting to start qBittorrent...

2018-11-11 15:58:10,948 DEBG 'watchdog-script' stdout output:
[info] qBittorrent process started
[info] Waiting for qBittorrent process to start listening on port 8080...

2018-11-11 15:58:11,055 DEBG 'watchdog-script' stdout output:
[debug] VPN IP is 194.35.115.132
[debug] qBittorrent IP is 0.0.0.0

2018-11-11 15:58:12,039 DEBG 'start-script' stdout output:
Sun Nov 11 15:58:12 2018 /usr/bin/ip route add 85.17.72.113/32 via 172.18.0.1

2018-11-11 15:58:12,040 DEBG 'start-script' stdout output:
Sun Nov 11 15:58:12 2018 /usr/bin/ip route add 0.0.0.0/1 via 194.35.115.129

2018-11-11 15:58:12,041 DEBG 'start-script' stdout output:
Sun Nov 11 15:58:12 2018 /usr/bin/ip route add 128.0.0.0/1 via 194.35.115.129

2018-11-11 15:58:12,041 DEBG 'start-script' stdout output:
Sun Nov 11 15:58:12 2018 /usr/bin/ip route add 0.0.0.0/0 metric 512 via 194.35.115.129

2018-11-11 15:58:12,042 DEBG 'start-script' stdout output:
Sun Nov 11 15:58:12 2018 Initialization Sequence Completed

2018-11-11 15:58:41,060 DEBG 'watchdog-script' stdout output:
[debug] Waiting for valid IP address from tunnel...

2018-11-11 15:58:41,174 DEBG 'watchdog-script' stdout output:
[debug] Valid IP address from tunnel acquired '194.35.115.132'
[info] qBittorrent listening interface IP 0.0.0.0 and VPN provider IP 194.35.115.132 different, marking for reconfigure

2018-11-11 15:58:41,176 DEBG 'watchdog-script' stdout output:
[info] qBittorrent running

2018-11-11 15:58:41,177 DEBG 'watchdog-script' stdout output:
[debug] External IP address from tunnel is '194.35.115.132'

2018-11-11 15:58:41,177 DEBG 'watchdog-script' stdout output:
[debug] VPN IP is 194.35.115.132
[debug] qBittorrent IP is 0.0.0.0

2018-11-11 15:59:11,182 DEBG 'watchdog-script' stdout output:
[debug] Waiting for valid IP address from tunnel...

2018-11-11 15:59:11,296 DEBG 'watchdog-script' stdout output:
[debug] Valid IP address from tunnel acquired '194.35.115.132'
[info] qBittorrent listening interface IP 0.0.0.0 and VPN provider IP 194.35.115.132 different, marking for reconfigure

2018-11-11 15:59:11,298 DEBG 'watchdog-script' stdout output:
[info] qBittorrent running

2018-11-11 15:59:11,299 DEBG 'watchdog-script' stdout output:
[debug] External IP address from tunnel is '194.35.115.132'

2018-11-11 15:59:11,299 DEBG 'watchdog-script' stdout output:
[debug] VPN IP is 194.35.115.132
[debug] qBittorrent IP is 0.0.0.0

2018-11-11 15:59:41,304 DEBG 'watchdog-script' stdout output:
[debug] Waiting for valid IP address from tunnel...

2018-11-11 15:59:41,418 DEBG 'watchdog-script' stdout output:
[debug] Valid IP address from tunnel acquired '194.35.115.132'
[info] qBittorrent listening interface IP 0.0.0.0 and VPN provider IP 194.35.115.132 different, marking for reconfigure

2018-11-11 15:59:41,420 DEBG 'watchdog-script' stdout output:
[info] qBittorrent running

2018-11-11 15:59:41,421 DEBG 'watchdog-script' stdout output:
[debug] External IP address from tunnel is '194.35.115.132'

2018-11-11 15:59:41,421 DEBG 'watchdog-script' stdout output:
[debug] VPN IP is 194.35.115.132
[debug] qBittorrent IP is 0.0.0.0

2018-11-11 16:00:11,425 DEBG 'watchdog-script' stdout output:
[debug] Waiting for valid IP address from tunnel...

2018-11-11 16:00:11,539 DEBG 'watchdog-script' stdout output:
[debug] Valid IP address from tunnel acquired '194.35.115.132'
[info] qBittorrent listening interface IP 0.0.0.0 and VPN provider IP 194.35.115.132 different, marking for reconfigure

2018-11-11 16:00:11,542 DEBG 'watchdog-script' stdout output:
[info] qBittorrent running

2018-11-11 16:00:11,542 DEBG 'watchdog-script' stdout output:
[debug] External IP address from tunnel is '194.35.115.132'

2018-11-11 16:00:11,542 DEBG 'watchdog-script' stdout output:
[debug] VPN IP is 194.35.115.132
[debug] qBittorrent IP is 0.0.0.0

2018-11-11 16:00:41,547 DEBG 'watchdog-script' stdout output:
[debug] Waiting for valid IP address from tunnel...

2018-11-11 16:00:41,661 DEBG 'watchdog-script' stdout output:
[debug] Valid IP address from tunnel acquired '194.35.115.132'
[info] qBittorrent listening interface IP 0.0.0.0 and VPN provider IP 194.35.115.132 different, marking for reconfigure

2018-11-11 16:00:41,663 DEBG 'watchdog-script' stdout output:
[info] qBittorrent running

2018-11-11 16:00:41,664 DEBG 'watchdog-script' stdout output:
[debug] External IP address from tunnel is '194.35.115.132'

2018-11-11 16:00:41,664 DEBG 'watchdog-script' stdout output:
[debug] VPN IP is 194.35.115.132
[debug] qBittorrent IP is 0.0.0.0

2018-11-11 16:01:11,669 DEBG 'watchdog-script' stdout output:
[debug] Waiting for valid IP address from tunnel...

2018-11-11 16:01:11,783 DEBG 'watchdog-script' stdout output:
[debug] Valid IP address from tunnel acquired '194.35.115.132'
[info] qBittorrent listening interface IP 0.0.0.0 and VPN provider IP 194.35.115.132 different, marking for reconfigure

2018-11-11 16:01:11,785 DEBG 'watchdog-script' stdout output:
[info] qBittorrent running

2018-11-11 16:01:11,785 DEBG 'watchdog-script' stdout output:
[debug] External IP address from tunnel is '194.35.115.132'

2018-11-11 16:01:11,786 DEBG 'watchdog-script' stdout output:
[debug] VPN IP is 194.35.115.132
[debug] qBittorrent IP is 0.0.0.0

2018-11-11 16:01:41,790 DEBG 'watchdog-script' stdout output:
[debug] Waiting for valid IP address from tunnel...

2018-11-11 16:01:41,904 DEBG 'watchdog-script' stdout output:
[debug] Valid IP address from tunnel acquired '194.35.115.132'
[info] qBittorrent listening interface IP 0.0.0.0 and VPN provider IP 194.35.115.132 different, marking for reconfigure

2018-11-11 16:01:41,906 DEBG 'watchdog-script' stdout output:
[info] qBittorrent running

2018-11-11 16:01:41,907 DEBG 'watchdog-script' stdout output:
[debug] External IP address from tunnel is '194.35.115.132'

2018-11-11 16:01:41,907 DEBG 'watchdog-script' stdout output:
[debug] VPN IP is 194.35.115.132
[debug] qBittorrent IP is 0.0.0.0

2018-11-11 16:02:11,912 DEBG 'watchdog-script' stdout output:
[debug] Waiting for valid IP address from tunnel...

2018-11-11 16:02:12,026 DEBG 'watchdog-script' stdout output:
[debug] Valid IP address from tunnel acquired '194.35.115.132'
[info] qBittorrent listening interface IP 0.0.0.0 and VPN provider IP 194.35.115.132 different, marking for reconfigure

2018-11-11 16:02:12,028 DEBG 'watchdog-script' stdout output:
[info] qBittorrent running

2018-11-11 16:02:12,029 DEBG 'watchdog-script' stdout output:
[debug] External IP address from tunnel is '194.35.115.132'

2018-11-11 16:02:12,029 DEBG 'watchdog-script' stdout output:
[debug] VPN IP is 194.35.115.132
[debug] qBittorrent IP is 0.0.0.0

 

my first question is, have you changed any of the ports on the host side?, in particular port 8080?, if so you will need to do the following:-

Quote

 

Due to issues with CSRF and port mapping, should you require to alter the port for the webui you need to change both sides of the -p 8080 switch AND set the WEBUI_PORT variable to the new port.

For example, to set the port to 8090 you need to set -p 8090:8090 and -e WEBUI_PORT=8090

 

 

Share this post


Link to post
6 hours ago, binhex said:

For example, to set the port to 8090 you need to set -p 8090:8090 and -e WEBUI_PORT=8090

Binhex, thank you for your work on all of this. I'll send some coffee money over right away!

 

I've changed the Host Port 3 to 8091, and the WEBUI_PORT to 8091 however I'm still unable to browse to the container. I feel like I'm missing something simple.

 

Qbittorrentvpn.thumb.PNG.ab63679ae572174aba3ee966b79a1403.PNG

 

Here are the other ports on the box:

 

Qbittorrentvpnotherports.PNG.054e18edc81f22a703eba9d1bdfaa740.PNG

 

Thanks...

Share this post


Link to post
1 hour ago, bonedrums said:

ve changed the Host Port 3 to 8091, and the WEBUI_PORT to 8091 however I'm still unable to browse to the container. I feel like I'm missing something simple.

Yeah the secret sauce here is that not only do you need to change the host side port but you also have to change the container side port too to match. so this is a bit more tricky with the unraid web ui, as unraid rightly stops users doing this as you normally don't want to change the container port side but for this particular container we have to.

 

So in order to get around this you need to edit the container and then use the link down the bottom shown as "Add another Path, Port, Variable, Label or Device", select "config type" as "port" then put in the port number you want for both the "container port" and "host port" and then click "add".

 

So now you have added the additional port you can now remove the old port, as this will now clash on the host port if you have already altered it.

 

Remember - Make sure to set the  webui_port to the same value and then click on "apply" button to apply the changes.

 

Finally open up your favourite browser and point it at the http://<host ip address>:<port of your choice>

Share this post


Link to post

Oh and thanks for the donation, always appreciated.

Sent from my SM-G935F using Tapatalk

Share this post


Link to post

Does this handle extraction of rar files? Having huge issues with deluge and not keeping set plugins

Sent from my Pixel 2 XL using Tapatalk

Share this post


Link to post
16 hours ago, binhex said:

my first question is, have you changed any of the ports on the host side?, in particular port 8080?, if so you will need to do the following:-

 

Shit, I swear I read that readme...  works now, thanks

Share this post


Link to post

Am I the only one having issues with the web login? admin/adminadmin does not work for me

Share this post


Link to post
Am I the only one having issues with the web login? admin/adminadmin does not work for me
No issue for me. I'm one build behind though, havent updated today.

Sent from my SM-G930W8 using Tapatalk

Share this post


Link to post
1 hour ago, Gog said:

No issue for me. I'm one build behind though, havent updated today.

Sent from my SM-G930W8 using Tapatalk
 

the last update was nothign to do with authentication, tested and working fine for me with username admin, password adminadmin

 

@ZataH watch out for chrome auto inserting cached credentials, so delete anything that is in the login box and manually enter it, also watch out for caps lock being on, it is of course case sensitive.

Share this post


Link to post
10 minutes ago, binhex said:

the last update was nothign to do with authentication, tested and working fine for me with username admin, password adminadmin

 

@ZataH watch out for chrome auto inserting cached credentials, so delete anything that is in the login box and manually enter it, also watch out for caps lock being on, it is of course case sensitive.

I have tried in 3 different browsers

image.png.0ebc7e9f2da2eeb9d987e5c3b8c15fdc.png

Share this post


Link to post
21 minutes ago, ZataH said:

I have tried in 3 different browsers

image.png.0ebc7e9f2da2eeb9d987e5c3b8c15fdc.png

ok lets go reset the config file then:-

 

1. delete the file /config/qBittorrent/config/qBittorrent.conf

2. restart container

3. try logging in again.

Share this post


Link to post
Does this handle extraction of rar files? Having huge issues with deluge and not keeping set plugins

Sent from my Pixel 2 XL using Tapatalk


Unrar is included but I've not tested it's ability to extract rar files, give it a try and let me know.

Sent from my SM-G935F using Tapatalk

Share this post


Link to post
1 hour ago, binhex said:

ok lets go reset the config file then:-

 

1. delete the file /config/qBittorrent/config/qBittorrent.conf

2. restart container

3. try logging in again.

Still the same. I also tried to delete all appdata earlier with same result. 

Share this post


Link to post
27 minutes ago, ZataH said:

Still the same. I also tried to delete all appdata earlier with same result. 

hmm im not sure what else to suggest, i just pulled the latest image down, pointed it at a blank folder for config and it came up and i was able to login with no issue using the defaults, just to double check:-

 

the username is 'admin' <- without the quotes

the password is 'adminadmin' <- without the quotes

 

 

 

Share this post


Link to post
17 hours ago, binhex said:

Yeah the secret sauce here is that not only do you need to change the host side port but you also have to change the container side port too to match. so this is a bit more tricky with the unraid web ui, as unraid rightly stops users doing this as you normally don't want to change the container port side but for this particular container we have to.

  

 So in order to get around this you need to edit the container and then use the link down the bottom shown as "Add another Path, Port, Variable, Label or Device", select "config type" as "port" then put in the port number you want for both the "container port" and "host port" and then click "add".

  

So now you have added the additional port you can now remove the old port, as this will now clash on the host port if you have already altered it.

  

Remember - Make sure to set the  webui_port to the same value and then click on "apply" button to apply the changes.

 

 Finally open up your favourite browser and point it at the http://<host ip address>:<port of your choice>

Thanks so much, also glad to support :)

 

I couldn't get this to work so I ended up changing the conflicting container port (SABNZBD from 8080 to 9091) and reinstalled the container and it worked. Thanks again sir!

Share this post


Link to post
1 hour ago, binhex said:

hmm im not sure what else to suggest, i just pulled the latest image down, pointed it at a blank folder for config and it came up and i was able to login with no issue using the defaults, just to double check:-

 

the username is 'admin' <- without the quotes

the password is 'adminadmin' <- without the quotes

 

 

 

Yes, tried with both copy/paste and write it my self. 

I even tried pasting a password string into the config file from another site, but with same result. 

Not sure why it is failing. 

Share this post


Link to post
5 minutes ago, ZataH said:

Not sure why it is failing. 

you and me both!, ok can you paste the contents of the file /config/qBittorrent/config/qBittorrent.conf

Share this post


Link to post
21 minutes ago, binhex said:

you and me both!, ok can you paste the contents of the file /config/qBittorrent/config/qBittorrent.conf

[AutoRun]
enabled=false
program=

[Preferences]
Bittorrent\AddTrackers=false
Connection\PortRangeMin=21898
Connection\UPnP=false
General\UseRandomPort=false
WebUI\Address=*
WebUI\CSRFProtection=false
WebUI\LocalHostAuth=false
WebUI\Port=8080
WebUI\ServerDomains=*
WebUI\UseUPnP=false

 

Share this post


Link to post
42 minutes ago, ZataH said:

[AutoRun]
enabled=false
program=

[Preferences]
Bittorrent\AddTrackers=false
Connection\PortRangeMin=21898
Connection\UPnP=false
General\UseRandomPort=false
WebUI\Address=*
WebUI\CSRFProtection=false
WebUI\LocalHostAuth=false
WebUI\Port=8080
WebUI\ServerDomains=*
WebUI\UseUPnP=false

 

that looks fine to me, im out of suggestions for now im afraid 😞

Share this post


Link to post

try this in your config file with

user: gog

password: goggog

WebUI\Address=*
WebUI\CSRFProtection=true
WebUI\ClickjackingProtection=true
WebUI\HTTPS\Enabled=false
WebUI\LocalHostAuth=true
WebUI\Password_ha1=@ByteArray(66457a3bb2f3598da106d0f03998d8b8)
WebUI\Port=8085
WebUI\ServerDomains=*
WebUI\UseUPnP=true
WebUI\Username=gog

 

Share this post


Link to post

BTW, has someone managed to enable the save directory based on the category?

Share this post


Link to post

Thanks for developing this container. I'm trying to use Privoxy, but constantly getting "Proxy is not responding" messages when testing it with Chrome. 

 

Log Below:

 

Created by...
___. .__ .__
\_ |__ |__| ____ | |__ ____ ___ ___
| __ \| |/ \| | \_/ __ \\ \/ /
| \_\ \ | | \ Y \ ___/ > <
|___ /__|___| /___| /\___ >__/\_ \
\/ \/ \/ \/ \/
https://hub.docker.com/u/binhex/

2018-11-13 21:48:00.699660 [info] System information Linux 27cb18cb1c3d 4.18.17-unRAID #1 SMP Sun Nov 4 08:16:44 PST 2018 x86_64 GNU/Linux
2018-11-13 21:48:00.749849 [info] PUID defined as '99'
2018-11-13 21:48:00.929923 [info] PGID defined as '100'
2018-11-13 21:48:01.172380 [info] UMASK defined as '000'
2018-11-13 21:48:01.218015 [info] Permissions already set for volume mappings
2018-11-13 21:48:01.268454 [info] VPN_ENABLED defined as 'yes'
2018-11-13 21:48:01.326128 [info] OpenVPN config file (ovpn extension) is located at /config/openvpn/XXXXX-XXXXXXXXXXXXX.ovpn
dos2unix: converting file /config/openvpn/XXXXX-XXXXXXXXXXXXX.ovpn to Unix format...
2018-11-13 21:48:01.400947 [info] VPN remote line defined as 'remote xxxxxxxxxxx.com 443'
2018-11-13 21:48:01.444842 [info] VPN_REMOTE defined as 'xxxxxxxxxxx.com'
2018-11-13 21:48:01.489940 [info] VPN_PORT defined as '443'
2018-11-13 21:48:01.545786 [info] VPN_PROTOCOL defined as 'udp'
2018-11-13 21:48:01.592086 [info] VPN_DEVICE_TYPE defined as 'tun0'
2018-11-13 21:48:01.640001 [info] VPN_PROV defined as 'custom'
2018-11-13 21:48:01.687777 [info] LAN_NETWORK defined as '192.168.1.0/24'
2018-11-13 21:48:01.734800 [info] NAME_SERVERS defined as '8.8.4.4'
2018-11-13 21:48:01.782309 [info] VPN_USER defined as 'XXXXXXXXXXX'
2018-11-13 21:48:01.828605 [info] VPN_PASS defined as 'XXXXXXXXXXX'
2018-11-13 21:48:01.876373 [info] VPN_OPTIONS not defined (via -e VPN_OPTIONS)
2018-11-13 21:48:01.924109 [info] ENABLE_PRIVOXY defined as 'yes'
2018-11-13 21:48:01.972317 [info] WEBUI_PORT defined as '8089'
2018-11-13 21:48:02.024303 [info] Starting Supervisor...
2018-11-13 21:48:02,574 INFO Included extra file "/etc/supervisor/conf.d/qbittorrent.conf" during parsing
2018-11-13 21:48:02,574 INFO Set uid to user 0 succeeded
2018-11-13 21:48:02,579 INFO supervisord started with pid 8
2018-11-13 21:48:03,582 INFO spawned: 'start-script' with pid 143
2018-11-13 21:48:03,585 INFO spawned: 'watchdog-script' with pid 144
2018-11-13 21:48:03,587 INFO spawned: 'privoxy-script' with pid 145
2018-11-13 21:48:03,587 INFO reaped unknown pid 9
2018-11-13 21:48:03,596 DEBG 'start-script' stdout output:
[info] VPN is enabled, beginning configuration of VPN

2018-11-13 21:48:03,597 INFO success: start-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2018-11-13 21:48:03,597 INFO success: watchdog-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2018-11-13 21:48:03,597 INFO success: privoxy-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2018-11-13 21:48:03,598 DEBG 'watchdog-script' stdout output:
[info] qBittorrent config file already exists, skipping copy
[info] Removing session lock file (if it exists)...

2018-11-13 21:48:03,602 DEBG 'watchdog-script' stderr output:
dos2unix:
2018-11-13 21:48:03,603 DEBG 'watchdog-script' stderr output:
converting file /config/qBittorrent/config/qBittorrent.conf to Unix format...

2018-11-13 21:48:03,613 DEBG 'start-script' stdout output:
[warn] Password contains characters which could cause authentication issues, please consider changing this if possible

2018-11-13 21:48:03,713 DEBG 'start-script' stdout output:
[info] Default route for container is 172.17.0.1

2018-11-13 21:48:03,720 DEBG 'start-script' stdout output:
[info] Adding XXXXXXXXXX to /etc/resolv.conf

2018-11-13 21:48:03,725 DEBG 'start-script' stdout output:
[info] Adding XXXXXXXXXXXXX to /etc/resolv.conf

2018-11-13 21:48:03,730 DEBG 'start-script' stdout output:
[info] Adding 1.1.1.1 to /etc/resolv.conf

2018-11-13 21:48:03,735 DEBG 'start-script' stdout output:
[info] Adding 8.8.8.8 to /etc/resolv.conf

2018-11-13 21:48:03,740 DEBG 'start-script' stdout output:
[info] Adding XXXXXXXXXXXXX to /etc/resolv.conf

2018-11-13 21:48:03,745 DEBG 'start-script' stdout output:
[info] Adding XXXXXXXXXXXX to /etc/resolv.conf

2018-11-13 21:48:03,750 DEBG 'start-script' stdout output:
[info] Adding 1.0.0.1 to /etc/resolv.conf

2018-11-13 21:48:03,756 DEBG 'start-script' stdout output:
[info] Adding 8.8.4.4 to /etc/resolv.conf

2018-11-13 21:48:04,067 DEBG 'start-script' stdout output:
[info] Adding 192.168.1.0/24 as route via docker eth0

2018-11-13 21:48:04,068 DEBG 'start-script' stdout output:
[info] ip route defined as follows...
--------------------

2018-11-13 21:48:04,070 DEBG 'start-script' stdout output:
default via 172.17.0.1 dev eth0
172.17.0.0/16 dev eth0 proto kernel scope link src 172.17.0.9
192.168.1.0/24 via 172.17.0.1 dev eth0

2018-11-13 21:48:04,070 DEBG 'start-script' stdout output:
--------------------

2018-11-13 21:48:04,076 DEBG 'start-script' stdout output:
iptable_mangle 16384 1
ip_tables 24576 3 iptable_filter,iptable_nat,iptable_mangle

2018-11-13 21:48:04,077 DEBG 'start-script' stdout output:
[info] iptable_mangle support detected, adding fwmark for tables

2018-11-13 21:48:04,108 DEBG 'start-script' stdout output:
[info] Docker network defined as 172.17.0.0/16

2018-11-13 21:48:04,215 DEBG 'start-script' stdout output:
[info] iptables defined as follows...
--------------------

2018-11-13 21:48:04,219 DEBG 'start-script' stdout output:
-P INPUT DROP
-P FORWARD ACCEPT
-P OUTPUT DROP
-A INPUT -i tun0 -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 443 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --dport 8089 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --sport 8089 -j ACCEPT
-A INPUT -s 192.168.1.0/24 -i eth0 -p tcp -m tcp --dport 8089 -j ACCEPT
-A INPUT -s 192.168.1.0/24 -d 172.17.0.0/16 -i eth0 -p tcp -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 172.17.0.0/16 -d 172.17.0.0/16 -j ACCEPT
-A OUTPUT -o eth0 -p udp -m udp --dport 443 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --dport 8089 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --sport 8089 -j ACCEPT
-A OUTPUT -d 192.168.1.0/24 -o eth0 -p tcp -m tcp --sport 8089 -j ACCEPT
-A OUTPUT -s 172.17.0.0/16 -d 192.168.1.0/24 -o eth0 -p tcp -j ACCEPT
-A OUTPUT -p icmp -m icmp --icmp-type 8 -j ACCEPT
-A OUTPUT -o lo -j ACCEPT

2018-11-13 21:48:04,219 DEBG 'start-script' stdout output:
--------------------

2018-11-13 21:48:04,220 DEBG 'start-script' stdout output:
[info] Starting OpenVPN...

2018-11-13 21:48:04,253 DEBG 'start-script' stdout output:
Tue Nov 13 21:48:04 2018 WARNING: --keysize is DEPRECATED and will be removed in OpenVPN 2.6

Tue Nov 13 21:48:04 2018 WARNING: --keysize is DEPRECATED and will be removed in OpenVPN 2.6


2018-11-13 21:48:04,254 DEBG 'start-script' stdout output:
Tue Nov 13 21:48:04 2018 WARNING: file 'credentials.conf' is group or others accessible

Tue Nov 13 21:48:04 2018 OpenVPN 2.4.6 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Apr 24 2018
Tue Nov 13 21:48:04 2018 library versions: OpenSSL 1.1.1 11 Sep 2018, LZO 2.10

2018-11-13 21:48:04,255 DEBG 'start-script' stdout output:
Tue Nov 13 21:48:04 2018 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
[info] OpenVPN started

2018-11-13 21:48:04,256 DEBG 'start-script' stdout output:
Tue Nov 13 21:48:04 2018 TCP/UDP: Preserving recently used remote address: [AF_INET]xx.xx.xx.50:443
Tue Nov 13 21:48:04 2018 Socket Buffers: R=[212992->212992] S=[212992->212992]
Tue Nov 13 21:48:04 2018 UDP link local: (not bound)
Tue Nov 13 21:48:04 2018 UDP link remote: [AF_INET]xx.xx.xx.50:443

2018-11-13 21:48:04,263 DEBG 'start-script' stdout output:
Tue Nov 13 21:48:04 2018 TLS: Initial packet from [AF_INET]xx.xx.xx.50:443, sid=a6d0612f f3f8f70c

2018-11-13 21:48:04,282 DEBG 'start-script' stdout output:
Tue Nov 13 21:48:04 2018 VERIFY OK: depth=1, C=US, ST=FL, L=Location, O=XXXXX, OU=XXXXX VPN, CN=XXXXX CA, emailAddress=support@XXXXX.com

2018-11-13 21:48:04,283 DEBG 'start-script' stdout output:
Tue Nov 13 21:48:04 2018 VERIFY X509NAME OK: C=US, ST=FL, L=Location, O=XXXXX, OU=XXXXX VPN, CN=xxxxxxxxxxx.com, emailAddress=support@XXXXX.com
Tue Nov 13 21:48:04 2018 VERIFY OK: depth=0, C=US, ST=FL, L=Location, O=XXXXX, OU=XXXXX VPN, CN=xxxxxxxxxxx.com, emailAddress=support@XXXXX.com

2018-11-13 21:48:04,335 DEBG 'start-script' stdout output:
Tue Nov 13 21:48:04 2018 Control Channel: TLSv1.2, cipher SSLv3 DHE-RSA-AES256-SHA, 2048 bit RSA
Tue Nov 13 21:48:04 2018 [xxxxxxxxxxx.com] Peer Connection Initiated with [AF_INET]xx.xx.xx.50:443

2018-11-13 21:48:05,360 DEBG 'start-script' stdout output:
Tue Nov 13 21:48:05 2018 SENT CONTROL [xxxxxxxxxxx.com]: 'PUSH_REQUEST' (status=1)

2018-11-13 21:48:05,368 DEBG 'start-script' stdout output:
Tue Nov 13 21:48:05 2018 PUSH: Received control message: 'PUSH_REPLY,redirect-gateway def1 bypass-dhcp,dhcp-option DNS XXXXXXX,dhcp-option DNS XXXXXXXXXXX,rcvbuf 493216,sndbuf 493216,explicit-exit-notify 5,comp-lzo no,route-gateway xx.xx.xx.1,topology subnet,ping 20,ping-restart 40,ifconfig xx.xx.xx.55 255.255.254.0,peer-id 9,cipher AES-256-GCM'

2018-11-13 21:48:05,369 DEBG 'start-script' stdout output:
Tue Nov 13 21:48:05 2018 OPTIONS IMPORT: timers and/or timeouts modified
Tue Nov 13 21:48:05 2018 OPTIONS IMPORT: explicit notify parm(s) modified
Tue Nov 13 21:48:05 2018 OPTIONS IMPORT: compression parms modified
Tue Nov 13 21:48:05 2018 OPTIONS IMPORT: --sndbuf/--rcvbuf options modified
Tue Nov 13 21:48:05 2018 Socket Buffers: R=[212992->986432] S=[212992->986432]
Tue Nov 13 21:48:05 2018 OPTIONS IMPORT: --ifconfig/up options modified
Tue Nov 13 21:48:05 2018 OPTIONS IMPORT: route options modified
Tue Nov 13 21:48:05 2018 OPTIONS IMPORT: route-related options modified
Tue Nov 13 21:48:05 2018 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
Tue Nov 13 21:48:05 2018 OPTIONS IMPORT: peer-id set
Tue Nov 13 21:48:05 2018 OPTIONS IMPORT: adjusting link_mtu to 1625
Tue Nov 13 21:48:05 2018 OPTIONS IMPORT: data channel crypto options modified
Tue Nov 13 21:48:05 2018 Data Channel: using negotiated cipher 'AES-256-GCM'
Tue Nov 13 21:48:05 2018 NCP: overriding user-set keysize with default
Tue Nov 13 21:48:05 2018 Outgoing Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
Tue Nov 13 21:48:05 2018 Incoming Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
Tue Nov 13 21:48:05 2018 ROUTE_GATEWAY 172.17.0.1/255.255.0.0 IFACE=eth0 HWADDR=XXXXXXXXXXXXXXX
Tue Nov 13 21:48:05 2018 TUN/TAP device tun0 opened
Tue Nov 13 21:48:05 2018 TUN/TAP TX queue length set to 100
Tue Nov 13 21:48:05 2018 do_ifconfig, tt->did_ifconfig_ipv6_setup=0

2018-11-13 21:48:05,370 DEBG 'start-script' stdout output:
Tue Nov 13 21:48:05 2018 /usr/bin/ip link set dev tun0 up mtu 1500

2018-11-13 21:48:05,371 DEBG 'start-script' stdout output:
Tue Nov 13 21:48:05 2018 /usr/bin/ip addr add dev tun0 xx.xx.xx.55/23 broadcast XXXXXXXXXX

2018-11-13 21:48:05,373 DEBG 'start-script' stdout output:
Tue Nov 13 21:48:05 2018 /root/openvpnup.sh tun0 1500 1553 xx.xx.xx.55 255.255.254.0 init

2018-11-13 21:48:05,377 DEBG 'start-script' stdout output:
Tue Nov 13 21:48:05 2018 /usr/bin/ip route add xx.xx.xx.50/32 via 172.17.0.1

2018-11-13 21:48:05,379 DEBG 'start-script' stdout output:
Tue Nov 13 21:48:05 2018 /usr/bin/ip route add 0.0.0.0/1 via xx.xx.xx.1

2018-11-13 21:48:05,381 DEBG 'start-script' stdout output:
Tue Nov 13 21:48:05 2018 /usr/bin/ip route add 128.0.0.0/1 via xx.xx.xx.1

2018-11-13 21:48:05,382 DEBG 'start-script' stdout output:
Tue Nov 13 21:48:05 2018 Initialization Sequence Completed

2018-11-13 21:48:05,471 DEBG 'privoxy-script' stdout output:
[info] Configuring Privoxy...

2018-11-13 21:48:05,475 DEBG 'watchdog-script' stdout output:
[info] qBittorrent listening interface IP 0.0.0.0 and VPN provider IP xx.xx.xx.55 different, marking for reconfigure

2018-11-13 21:48:05,481 DEBG 'watchdog-script' stdout output:
[info] qBittorrent not running

2018-11-13 21:48:05,548 DEBG 'start-script' stdout output:
[info] Successfully retrieved external IP address xx.xx.xx.50

2018-11-13 21:48:05,584 DEBG 'watchdog-script' stdout output:
[info] Removing session lock file (if it exists)...

2018-11-13 21:48:05,586 DEBG 'watchdog-script' stdout output:
[info] Attempting to start qBittorrent...

2018-11-13 21:48:05,655 DEBG 'watchdog-script' stdout output:
[info] qBittorrent process started
[info] Waiting for qBittorrent process to start listening on port 8089...

2018-11-13 21:48:07,183 DEBG 'privoxy-script' stdout output:
[info] All checks complete, starting Privoxy...

2018-11-13 21:48:07,185 DEBG 'privoxy-script' stderr output:
2018-11-13 21:48:07.185 152fa106b100 Info: Privoxy version 3.0.26

2018-11-13 21:48:07.185 152fa106b100 Info: Program name: /usr/bin/privoxy

2018-11-13 21:48:35,938 DEBG 'watchdog-script' stdout output:
[info] qBittorrent running

 

Share this post


Link to post

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.