Ok if I leave the retry attempts expire I get the following: the web ui for deluge becomes available but I'm not sure if I'm connected via VPN and how I can connect via alternative server if ireland.pia is offered slow preformance.
--------------------------------------------------------------------------------------
2017-09-03 10:15:15,447 DEBG 'start-script' stdout output:[warn] Response code 000 from curl != 2xx[warn] Exit code 7 from curl != 0[info] 1 retries left[info] Retrying in 10 secs...2017-09-03 10:15:25,488 DEBG 'start-script' stdout output:[warn] Response code 000 from curl != 2xx, exausted retries exiting script...2017-09-03 10:15:25,490 DEBG 'start-script' stdout output:[warn] PIA endpoint 'ireland.privateinternetaccess.com' doesn't support port forwarding, DL/UL speeds will be slow[info] Please consider switching to an endpoint that does support port forwarding, shown below:-[info] ca-toronto.privateinternetaccess.com (CA Toronto)[info] ca.privateinternetaccess.com (CA Montreal)[info] nl.privateinternetaccess.com (Netherlands)[info] swiss.privateinternetaccess.com (Switzerland)[info] sweden.privateinternetaccess.com (Sweden)[info] france.privateinternetaccess.com (France)[info] ro.privateinternetaccess.com (Romania)[info] israel.privateinternetaccess.com (Israel)2017-09-03 10:15:26,176 DEBG 'deluge-script' stdout output:[info] Attempting to start Deluge...2017-09-03 10:15:26,900 DEBG 'deluge-script' stdout output:[info] Deluge listening interface currently defined as 10.48.10.6[info] Deluge listening interface will be changed to 10.7.10.6[info] Saving changes to Deluge config file /config/core.conf...2017-09-03 10:15:27,891 DEBG 'deluge-web-script' stdout output:[info] Starting Deluge webui...2017-09-03 10:15:28,829 DEBG 'deluge-script' stdout output:Setting random_port to False..Configuration value successfully updated.2017-09-03 10:15:29,685 DEBG 'deluge-script' stdout output:Setting listen_ports to (6890, 6890)..Configuration value successfully updated.2017-09-03 10:15:29,738 DEBG 'deluge-script' stdout output:[info] Deluge started
--------------------------------------------------------------------------------------
With debug mode enabled and credentials removed:
BASH_VERSINFO=([0]="4" [1]="4" [2]="12" [3]="1" [4]="release" [5]="x86_64-unknown-linux-gnu")
2017-09-03 10:24:30,707 DEBG 'start-script' stdout output:
BASH_VERSION='4.4.12(1)-release'
2017-09-03 10:24:30,708 DEBG 'start-script' stdout output:
DEBUG=true
DIRSTACK=()
ENABLE_PRIVOXY=no
EUID=0
)
HOME=/home/nobody
HOSTNAME=3be938536fcc
HOSTTYPE=x86_64
HOST_OS=unRAID
IFS=$' \t\n'
LANG=en_GB.UTF-8
LAN_NETWORK=192.168.0.0/24
MACHTYPE=x86_64-unknown-linux-gnu
NAME_SERVERS=209.222.18.222,37.235.1.174,8.8.8.8,209.222.18.218,37.235.1.177,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=5
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=Europe/London
UID=0
0
2017-09-03 10:24:30,709 DEBG 'start-script' stdout output:
VPN_CONFIG=/config/openvpn/Ireland.ovpn
VPN_DEVICE_TYPE=tun
VPN_ENABLED=yes
VPN_INCOMING_PORT=
VPN_OPTIONS=
VPN_PASS='vpn password'
VPN_PORT=1198
VPN_PROTOCOL=udp
VPN_PROV=pia
VPN_REMOTE=ireland.privateinternetaccess.com
VPN_USER='vpn username'
_='[debug] Environment variables defined as follows'
vpn_remote_line='ireland.privateinternetaccess.com 1198'
[debug] Directory listing of files in /config/openvpn as follows
2017-09-03 10:24:30,720 DEBG 'deluge-script' stdout output:
[info] Deluge config file already exists, skipping copy
2017-09-03 10:24:30,725 DEBG 'deluge-script' stdout output:
[info] VPN is enabled, checking VPN tunnel local ip is valid
2017-09-03 10:24:30,728 DEBG 'deluge-script' stdout output:
[debug] Waiting for valid IP address from tunnel...
2017-09-03 10:24:30,732 DEBG 'privoxy-script' stdout output:
[info] Privoxy set to disabled
2017-09-03 10:24:30,733 DEBG fd 26 closed, stopped monitoring <POutputDispatcher at 47284540382456 for <Subprocess at 47284539651280 with name privoxy-script in state RUNNING> (stderr)>
2017-09-03 10:24:30,734 DEBG fd 22 closed, stopped monitoring <POutputDispatcher at 47284540382384 for <Subprocess at 47284539651280 with name privoxy-script in state RUNNING> (stdout)>
2017-09-03 10:24:30,735 INFO exited: privoxy-script (exit status 0; expected)
2017-09-03 10:24:30,735 DEBG received SIGCLD indicating a child quit
2017-09-03 10:24:30,745 DEBG 'start-script' stdout output:
8
drwxrwxr-x 1 nobody users 4096 Sep 3 10:24 .
drwxrwxr-x 1 nobody users 4096 Sep 3 10:15 ..
-rwxrwxr-x 1 nobody users 295 Feb 6 2017 AU Melbourne.ovpn
-rwxrwxr-x 1 nobody users 285 Feb 6 2017 AU Sydney.ovpn
-rwxrwxr-x 1 nobody users 288 Feb 6 2017 Brazil.ovpn
-rwxrwxr-x 1 nobody users 284 Feb 6 2017 CA Montreal.ovpn
-rwxrwxr-x 1 nobody users 2025 Feb 6 2017 ca.rsa.2048.crt
-rwxrwxr-x 1 nobody users 292 Feb 6 2017 CA Toronto.ovpn
-rwxrwxr-x 1 nobody users 19 Sep 3 10:13 credentials.conf
-rwxrwxr-x 1 nobody users 869 Feb 6 2017 crl.rsa.2048.pem
-rwxrwxr-x 1 nobody users 289 Feb 6 2017 Denmark.ovpn
-rwxrwxr-x 1 nobody users 284 Feb 6 2017 Finland.ovpn
-rwxrwxr-x 1 nobody users 288 Feb 6 2017 France.ovpn
-rwxrwxr-x 1 nobody users 289 Feb 6 2017 Germany.ovpn
-rwxrwxr-x 1 nobody users 284 Feb 6 2017 Hong Kong.ovpn
-rwxrwxr-x 1 nobody users 284 Feb 6 2017 India.ovpn
-rwxrwxr-x 1 nobody users 282 Sep 3 10:24 Ireland.ovpn
-rwxrwxr-x 1 nobody users 288 Feb 6 2017 Israel.ovpn
-rwxrwxr-x 1 nobody users 287 Feb 6 2017 Italy.ovpn
-rwxrwxr-x 1 nobody users 287 Feb 6 2017 Japan.ovpn
-rwxrwxr-x 1 nobody users 288 Feb 6 2017 Mexico.ovpn
-rwxrwxr-x 1 nobody users 284 Feb 6 2017 Netherlands.ovpn
-rwxrwxr-x 1 nobody users 284 Feb 6 2017 New Zealand.ovpn
-rwxrwxr-x 1 nobody users 284 Feb 6 2017 Norway.ovpn
-rwxrwxr-x 1 nobody users 284 Feb 6 2017 Romania.ovpn
-rwxrwxr-x 1 nobody users 284 Feb 6 2017 Singapore.ovpn
-rwxrwxr-x 1 nobody users 284 Feb 6 2017 South Korea.ovpn
-rwxrwxr-x 1 nobody users 288 Feb 6 2017 Sweden.ovpn
-rwxrwxr-x 1 nobody users 287 Feb 6 2017 Switzerland.ovpn
-rwxrwxr-x 1 nobody users 288 Feb 6 2017 Turkey.ovpn
-rwxrwxr-x 1 nobody users 291 Feb 6 2017 UK London.ovpn
-rwxrwxr-x 1 nobody users 296 Feb 6 2017 UK Southampton.ovpn
-rwxrwxr-x 1 nobody users 295 Feb 6 2017 US California.ovpn
-rwxrwxr-x 1 nobody users 292 Feb 6 2017 US Chicago.ovpn
-rwxrwxr-x 1 nobody users 289 Feb 6 2017 US East.ovpn
-rwxrwxr-x 1 nobody users 292 Feb 6 2017 US Florida.ovpn
-rwxrwxr-x 1 nobody users 292 Feb 6 2017 US Midwest.ovpn
-rwxrwxr-x 1 nobody users 296 Feb 6 2017 US New York City.ovpn
-rwxrwxr-x 1 nobody users 292 Feb 6 2017 US Seattle.ovpn
-rwxrwxr-x 1 nobody users 298 Feb 6 2017 US Silicon Valley.ovpn
-rwxrwxr-x 1 nobody users 290 Feb 6 2017 US Texas.ovpn
-rwxrwxr-x 1 nobody users 289 Feb 6 2017 US West.ovpn
2017-09-03 10:24:30,775 DEBG 'start-script' stdout output:
[warn] Username contains characters which could cause authentication issues, please consider changing this if possible
2017-09-03 10:24:30,782 DEBG 'start-script' stdout output:
[warn] Password contains characters which could cause authentication issues, please consider changing this if possible
2017-09-03 10:24:30,799 DEBG 'start-script' stdout output:
[debug] Contents of ovpn file /config/openvpn/Ireland.ovpn as follows...
2017-09-03 10:24:30,801 DEBG 'start-script' stdout output:
client
dev tun
p
remote ireland.privateinternetaccess.com 1198
resolv-retry infinite
nobind
persist-key
cipher aes-128-cbc
1
tls-client
remote-cert-tls server
auth-user-pass credentials.conf
comp-lzo
verb 1
crl-verify crl.rsa.2048.pem
ca ca.rsa.2048.crt
disable-occ
2017-09-03 10:24:30,812 DEBG 'start-script' stdout output:
[info] Default route for container is 172.17.0.1
2017-09-03 10:24:30,818 DEBG 'start-script' stdout output:
[info] Adding 209.222.18.222 to /etc/resolv.conf
2017-09-03 10:24:30,825 DEBG 'start-script' stdout output:
[info] Adding 37.235.1.174 to /etc/resolv.conf
2017-09-03 10:24:30,832 DEBG 'start-script' stdout output:
[info] Adding 8.8.8.8 to /etc/resolv.conf
2017-09-03 10:24:30,839 DEBG 'start-script' stdout output:
[info] Adding 209.222.18.218 to /etc/resolv.conf
2017-09-03 10:24:30,845 DEBG 'start-script' stdout output:
[info] Adding 37.235.1.177 to /etc/resolv.conf
2017-09-03 10:24:30,851 DEBG 'start-script' stdout output:
[info] Adding 8.8.4.4 to /etc/resolv.conf
2017-09-03 10:24:31,045 DEBG 'start-script' stdout output:
[debug] Show name servers defined for container
2017-09-03 10:24:31,046 DEBG 'start-script' stdout output:
nameserver 209.222.18.222
nameserver 37.235.1.174
nameserver 8.8.8.8
nameserver 209.222.18.218
nameserver 37.235.1.177
nameserver 8.8.4.4
2017-09-03 10:24:31,047 DEBG 'start-script' stdout output:
[debug] Show name resolution for VPN endpoint ireland.privateinternetaccess.com
2017-09-03 10:24:31,176 DEBG 'start-script' stdout output:
;; ->>HEADER<<- opcode: QUERY, rcode: NOERROR, id: 10723
;; flags: qr rd ra ; QUERY: 1, ANSWER: 8, AUTHORITY: 4, ADDITIONAL: 0
;; QUESTION SECTION:
;; ireland.privateinternetaccess.com. IN A
;; ANSWER SECTION:
ireland.privateinternetaccess.com. 299 IN A 185.108.128.7
ireland.privateinternetaccess.com. 299 IN A 185.108.128.5
ireland.privateinternetaccess.com. 299 IN A 185.108.128.8
ireland.privateinternetaccess.com. 299 IN A 185.108.128.6
ireland.privateinternetaccess.com. 299 IN A 185.108.128.10
ireland.privateinternetaccess.com. 299 IN A 185.108.128.4
ireland.privateinternetaccess.com. 299 IN A 185.108.128.9
ireland.privateinternetaccess.com. 299 IN A 185.108.128.3
;; AUTHORITY SECTION:
privateinternetaccess.com. 15601 IN NS ns3.p28.dynect.net.
privateinternetaccess.com. 15601 IN NS ns4.p28.dynect.net.
privateinternetaccess.com. 15601 IN NS ns1.p28.dynect.net.
privateinternetaccess.com. 15601 IN NS ns2.p28.dynect.net.
;; ADDITIONAL SECTION:
;; Query time: 125 msec
;; SERVER: 209.222.18.222
;; WHEN: Sun Sep 3 10:24:31 2017
;; MSG SIZE rcvd: 265
2017-09-03 10:24:31,179 DEBG 'start-script' stdout output:
[debug] Show contents of hosts file
2017-09-03 10:24:31,181 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.17.0.4 3be938536fcc
185.108.128.7 ireland.privateinternetaccess.com
2017-09-03 10:24:31,190 DEBG 'start-script' stdout output:
[info] Adding 192.168.0.0/24 as route via docker eth0
2017-09-03 10:24:31,193 DEBG 'start-script' stdout output:
[info] ip route defined as follows...
--------------------
2017-09-03 10:24:31,194 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.4
192.168.0.0/24 via 172.17.0.1 dev eth0
2017-09-03 10:24:31,195 DEBG 'start-script' stdout output:
--------------------
[debug] Modules currently loaded for kernel
2017-09-03 10:24:31,199 DEBG 'start-script' stdout output:
Module Size Used by
xt_nat 1913 14
veth 4966 0
xt_CHECKSUM 1335 1
iptable_mangle 1658 2
ipt_REJECT 1521 2
nf_reject_ipv4 2483 1 ipt_REJECT
ebtable_filter 1903 0
ebtables 14552 1 ebtable_filter
vhost_net 9091 0
tun 19304 10 vhost_net
vhost 19681 1 vhost_net
macvtap 11622 1 vhost_net
macvlan 12389 1 macvtap
ipt_MASQUERADE 1277 12
nf_nat_masquerade_ipv4 1865 1 ipt_MASQUERADE
iptable_nat 1897 1
nf_conntrack_ipv4 5874 16
nf_nat_ipv4 4199 1 iptable_nat
iptable_filter 1706 2
ip_tables 9853 3 iptable_mangle,iptable_filter,iptable_nat
nf_nat 11145 3 xt_nat,nf_nat_masquerade_ipv4,nf_nat_ipv4
md_mod 36700 1
kvm_amd 2151758 0
kvm 289949 1 kvm_amd
k10temp 2996 0
i2c_piix4 9140 0
pata_atiixp 4691 0
i2c_core 20390 1 i2c_piix4
e1000e 143207 0
ptp 9308 1 e1000e
ahci 26326 2
pps_core 5928 1 ptp
libahci 19716 1 ahci
acpi_cpufreq 7054 0
2017-09-03 10:24:31,207 DEBG 'start-script' stdout output:
[info] iptable_mangle support detected, adding fwmark for tables
2017-09-03 10:24:31,223 DEBG 'start-script' stdout output:
[debug] Docker interface defined as eth0
2017-09-03 10:24:31,230 DEBG 'start-script' stdout output:
[debug] Docker IP defined as 172.17.0.4
2017-09-03 10:24:31,237 DEBG 'start-script' stdout output:
[debug] Docker netmask defined as 255.255.0.0
2017-09-03 10:24:31,253 DEBG 'start-script' stdout output:
[info] Docker network defined as 172.17.0.0/16
2017-09-03 10:24:31,370 DEBG 'start-script' stdout output:
[info] iptables defined as follows...
--------------------
2017-09-03 10:24:31,373 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 1198 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --dport 8112 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --sport 8112 -j ACCEPT
-A INPUT -s 192.168.0.0/24 -i eth0 -p tcp -m tcp --dport 58846 -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 1198 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --dport 8112 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --sport 8112 -j ACCEPT
-A OUTPUT -d 192.168.0.0/24 -o eth0 -p tcp -m tcp --sport 58846 -j ACCEPT
-A OUTPUT -p icmp -m icmp --icmp-type 8 -j ACCEPT
-A OUTPUT -o lo -j ACCEPT
2017-09-03 10:24:31,374 DEBG 'start-script' stdout output:
--------------------
2017-09-03 10:24:31,375 DEBG 'start-script' stdout output:
[debug] OpenVPN command line:- /usr/bin/openvpn --cd /config/openvpn --config '/config/openvpn/Ireland.ovpn' --daemon --reneg-sec 0 --mute-replay-warnings --auth-nocache --keepalive 10 60 --setenv VPN_PROV 'pia' --setenv DEBUG 'true' --setenv VPN_DEVICE_TYPE 'tun' --setenv VPN_REMOTE 'ireland.privateinternetaccess.com' --script-security 2 --up /root/openvpnup.sh --up-delay --up-restart --writepid /root/openvpn.pid --remap-usr1 SIGHUP --log-append /dev/stdout --setenv STRICT_PORT_FORWARD 'yes' --disable-occ --auth-user-pass credentials.conf
[info] Starting OpenVPN...
2017-09-03 10:24:31,400 DEBG 'start-script' stdout output:
Sun Sep 3 10:24:31 2017 WARNING: file 'credentials.conf' is group or others accessible
2017-09-03 10:24:31,400 DEBG 'start-script' stdout output:
Sun Sep 3 10:24:31 2017 OpenVPN 2.4.1 x86_64-unknown-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Mar 22 2017
2017-09-03 10:24:31,401 DEBG 'start-script' stdout output:
Sun Sep 3 10:24:31 2017 library versions: OpenSSL 1.1.0e 16 Feb 2017, LZO 2.10
2017-09-03 10:24:31,403 DEBG 'start-script' stdout output:
[info] OpenVPN started
2017-09-03 10:24:31,404 DEBG 'start-script' stdout output:
[debug] Waiting for valid IP address from tunnel...
2017-09-03 10:24:31,415 DEBG 'start-script' stdout output:
Sun Sep 3 10:24:31 2017 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
2017-09-03 10:24:31,421 DEBG 'start-script' stdout output:
Sun Sep 3 10:24:31 2017 TCP/UDP: Preserving recently used remote address: [AF_INET]185.108.128.7:1198
Sun Sep 3 10:24:31 2017 UDP link local: (not bound)
Sun Sep 3 10:24:31 2017 UDP link remote: [AF_INET]185.108.128.7:1198
2017-09-03 10:24:31,531 DEBG 'start-script' stdout output:
Sun Sep 3 10:24:31 2017 [1f03a4bc4932b1f1a3c92c3b944635b0] Peer Connection Initiated with [AF_INET]185.108.128.7:1198
2017-09-03 10:24:32,733 DEBG 'start-script' stdout output:
Sun Sep 3 10:24:32 2017 AUTH: Received control message: AUTH_FAILED
2017-09-03 10:24:32,734 DEBG 'start-script' stdout output:
Sun Sep 3 10:24:32 2017 SIGTERM[soft,auth-failure] received, process exiting