Hope this helps
supervisord.log
Created by...
___. .__ .__
\_ |__ |__| ____ | |__ ____ ___ ___
| __ \| |/ \| | \_/ __ \\ \/ /
| \_\ \ | | \ Y \ ___/ > <
|___ /__|___| /___| /\___ >__/\_ \
\/ \/ \/ \/ \/
https://hub.docker.com/u/binhex/
2017-08-13 23:21:41.071199 [info] Host is running unRAID
2017-08-13 23:21:41.089571 [info] System information Linux 6e3d6ed4dff2 4.9.30-unRAID #1 SMP PREEMPT Fri May 26 13:56:36 PDT 2017 x86_64 GNU/Linux
2017-08-13 23:21:41.110010 [info] PUID defined as '99'
2017-08-13 23:21:41.132709 [info] PGID defined as '100'
2017-08-13 23:21:41.163620 [info] UMASK defined as '000'
2017-08-13 23:21:41.185677 [info] Permissions already set for volume mappings
2017-08-13 23:21:41.213658 [info] VPN_ENABLED defined as 'yes'
2017-08-13 23:21:41.242142 [info] VPN config file (ovpn extension) is located at /config/openvpn/Netherlands.ovpn
dos2unix: converting file /config/openvpn/Netherlands.ovpn to Unix format...
2017-08-13 23:21:41.267883 [info] VPN remote line defined as 'nl.privateinternetaccess.com 1198'
2017-08-13 23:21:41.289354 [info] VPN_REMOTE defined as 'nl.privateinternetaccess.com'
2017-08-13 23:21:41.313156 [info] VPN_PORT defined as '1198'
2017-08-13 23:21:41.334032 [info] VPN_PROTOCOL defined as 'udp'
2017-08-13 23:21:41.355644 [info] VPN_DEVICE_TYPE defined as 'tun'
2017-08-13 23:21:41.375708 [info] VPN_PROV defined as 'pia'
2017-08-13 23:21:41.401162 [info] LAN_NETWORK defined as '10.1.10.0/24'
2017-08-13 23:21:41.419257 [info] NAME_SERVERS defined as '8.8.8.8,37.235.1.174,8.8.4.4,37.235.1.177'
2017-08-13 23:21:41.437292 [info] VPN_USER defined as 'redacted'
2017-08-13 23:21:41.457862 [info] VPN_PASS defined as 'redacted'
2017-08-13 23:21:41.476099 [warn] VPN_INCOMING_PORT not defined (via -e VPN_INCOMING_PORT), downloads may be slow
2017-08-13 23:21:41.498699 [info] VPN_OPTIONS defined as 'nl.privateinternetaccess.com'
2017-08-13 23:21:41.518157 [info] STRICT_PORT_FORWARD defined as 'yes'
2017-08-13 23:21:41.536087 [info] ENABLE_PRIVOXY defined as 'yes'
2017-08-13 23:21:41.552364 [info] Setting permissions on files/folders inside container...
2017-08-13 23:21:41.570900 [info] Starting Supervisor...
2017-08-13 23:21:41,727 CRIT Set uid to user 0
2017-08-13 23:21:41,727 INFO Included extra file "/etc/supervisor/conf.d/delugevpn.conf" during parsing
2017-08-13 23:21:41,728 INFO supervisord started with pid 7
2017-08-13 23:21:42,730 INFO spawned: 'start-script' with pid 131
2017-08-13 23:21:42,731 INFO spawned: 'deluge-script' with pid 132
2017-08-13 23:21:42,732 INFO spawned: 'deluge-web-script' with pid 133
2017-08-13 23:21:42,733 INFO spawned: 'privoxy-script' with pid 134
2017-08-13 23:21:42,733 INFO reaped unknown pid 8
2017-08-13 23:21:42,736 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=()
2017-08-13 23:21:42,736 INFO success: start-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2017-08-13 23:21:42,736 INFO success: deluge-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2017-08-13 23:21:42,736 INFO success: deluge-web-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2017-08-13 23:21:42,736 INFO success: privoxy-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2017-08-13 23:21:42,736 DEBG 'start-script' stdout output:
BASH_ARGC=()
BASH_ARGV=()
BASH_CMDS=()
BASH_LINENO=([0]="0")
BASH_SOURCE=([0]="/root/start.sh")
BASH_VERSINFO=([0]="4" [1]="4" [2]="12" [3]="1" [4]="release" [5]="x86_64-unknown-linux-gnu")
BASH_VERSION='4.4.12(1)-release'
DEBUG=true
DIRSTACK=()
ENABLE_PRIVOXY=yes
EUID=0
GROUPS=()
HOME=/home/nobody
HOSTNAME=6e3d6ed4dff2
HOSTTYPE=x86_64
HOST_OS=unRAID
IFS=$' \t\n'
LANG=en_GB.UTF-8
LAN_NETWORK=10.1.10.0/24
MACHTYPE=x86_64-unknown-linux-gnu
NAME_SERVERS=8.8.8.8,37.235.1.174,8.8.4.4,37.235.1.177
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=7
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/Netherlands.ovpn
VPN_DEVICE_TYPE=tun
VPN_ENABLED=yes
VPN_INCOMING_PORT=
VPN_OPTIONS=nl.privateinternetaccess.com
VPN_PASS=redacted
VPN_PORT=1198
VPN_PROTOCOL=udp
VPN_PROV=pia
VPN_REMOTE=nl.privateinternetaccess.com
VPN_USER=redacted
_='[debug] Environment variables defined as follows'
vpn_remote_line='nl.privateinternetaccess.com 1198'
[debug] Directory listing of files in /config/openvpn as follows
2017-08-13 23:21:42,737 DEBG 'deluge-script' stdout output:
[info] Deluge config file already exists, skipping copy
2017-08-13 23:21:42,737 DEBG 'deluge-script' stdout output:
[info] VPN is enabled, checking VPN tunnel local ip is valid
2017-08-13 23:21:42,737 DEBG 'deluge-script' stdout output:
[debug] Waiting for valid IP address from tunnel...
2017-08-13 23:21:42,740 DEBG 'start-script' stdout output:
total 16
drwxrwxr-x 1 nobody users 121 Aug 13 23:21 .
drwxrwxr-x 1 nobody users 318 Aug 13 23:21 ..
-rwxrwxr-x 1 nobody users 2025 Feb 6 2017 ca.rsa.2048.crt
-rwxrwxr-x 1 nobody users 24 Aug 13 23:21 credentials.conf
-rwxrwxr-x 1 nobody users 869 Feb 6 2017 crl.rsa.2048.pem
-rwxrwxr-x 1 nobody users 277 Aug 13 23:21 Netherlands.ovpn
2017-08-13 23:21:42,745 DEBG 'privoxy-script' stdout output:
[debug] Waiting for valid IP address from tunnel...
2017-08-13 23:21:42,753 DEBG 'start-script' stdout output:
[debug] Contents of ovpn file /config/openvpn/Netherlands.ovpn as follows...
2017-08-13 23:21:42,753 DEBG 'start-script' stdout output:
client
dev tun
proto udp
remote nl.privateinternetaccess.com 1198
resolv-retry infinite
nobind
persist-key
cipher aes-128-cbc
auth sha1
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-08-13 23:21:42,756 DEBG 'start-script' stdout output:
[info] Default route for container is 172.17.0.1
2017-08-13 23:21:42,758 DEBG 'start-script' stdout output:
[info] Adding 8.8.8.8 to /etc/resolv.conf
2017-08-13 23:21:42,760 DEBG 'start-script' stdout output:
[info] Adding 37.235.1.174 to /etc/resolv.conf
2017-08-13 23:21:42,762 DEBG 'start-script' stdout output:
[info] Adding 8.8.4.4 to /etc/resolv.conf
2017-08-13 23:21:42,764 DEBG 'start-script' stdout output:
[info] Adding 37.235.1.177 to /etc/resolv.conf
2017-08-13 23:21:42,822 DEBG 'start-script' stdout output:
[debug] Show name servers defined for container
2017-08-13 23:21:42,822 DEBG 'start-script' stdout output:
nameserver 8.8.8.8
nameserver 37.235.1.174
nameserver 8.8.4.4
nameserver 37.235.1.177
2017-08-13 23:21:42,822 DEBG 'start-script' stdout output:
[debug] Show name resolution for VPN endpoint nl.privateinternetaccess.com
2017-08-13 23:21:42,872 DEBG 'start-script' stdout output:
;; ->>HEADER<<- opcode: QUERY, rcode: NOERROR, id: 36644
;; flags: qr rd ra ; QUERY: 1, ANSWER: 13, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;; nl.privateinternetaccess.com. IN A
;; ANSWER SECTION:
nl.privateinternetaccess.com. 255 IN A 46.166.190.245
nl.privateinternetaccess.com. 255 IN A 46.166.137.219
nl.privateinternetaccess.com. 255 IN A 185.107.44.39
nl.privateinternetaccess.com. 255 IN A 46.166.190.225
nl.privateinternetaccess.com. 255 IN A 109.201.152.242
nl.privateinternetaccess.com. 255 IN A 46.166.188.229
nl.privateinternetaccess.com. 255 IN A 46.166.137.220
nl.privateinternetaccess.com. 255 IN A 109.201.154.205
nl.privateinternetaccess.com. 255 IN A 46.166.138.155
nl.privateinternetaccess.com. 255 IN A 46.166.186.238
nl.privateinternetaccess.com. 255 IN A 109.201.154.156
nl.privateinternetaccess.com. 255 IN A 46.166.137.231
nl.privateinternetaccess.com. 255 IN A 109.201.154.176
;; AUTHORITY SECTION:
;; ADDITIONAL SECTION:
;; Query time: 48 msec
;; SERVER: 8.8.8.8
;; WHEN: Sun Aug 13 23:21:42 2017
;; MSG SIZE rcvd: 254
2017-08-13 23:21:42,872 DEBG 'start-script' stdout output:
[debug] Show contents of hosts file
2017-08-13 23:21:42,872 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.9 6e3d6ed4dff2
109.201.154.176 nl.privateinternetaccess.com
2017-08-13 23:21:42,874 DEBG 'start-script' stdout output:
[info] Adding 10.1.10.0/24 as route via docker eth0
2017-08-13 23:21:42,875 DEBG 'start-script' stdout output:
[info] ip route defined as follows...
--------------------
2017-08-13 23:21:42,875 DEBG 'start-script' stdout output:
default via 172.17.0.1 dev eth0
10.1.10.0/24 via 172.17.0.1 dev eth0
172.17.0.0/16 dev eth0 proto kernel scope link src 172.17.0.9
2017-08-13 23:21:42,875 DEBG 'start-script' stdout output:
--------------------
[debug] Modules currently loaded for kernel
2017-08-13 23:21:42,876 DEBG 'start-script' stdout output:
Module Size Used by
tun 19304 0
md_mod 36700 2
xt_nat 1913 15
veth 4966 0
ipt_MASQUERADE 1277 16
nf_nat_masquerade_ipv4 1865 1 ipt_MASQUERADE
iptable_nat 1897 1
nf_conntrack_ipv4 5874 2
nf_nat_ipv4 4199 1 iptable_nat
iptable_filter 1706 2
ip_tables 9853 2 iptable_filter,iptable_nat
nf_nat 11145 3 xt_nat,nf_nat_masquerade_ipv4,nf_nat_ipv4
e1000e 143207 0
igb 128723 0
ptp 9308 2 igb,e1000e
pps_core 5928 1 ptp
i2c_algo_bit 4752 1 igb
x86_pkg_temp_thermal 4669 0
coretemp 5340 0
kvm_intel 160551 0
kvm 289949 1 kvm_intel
i2c_i801 11888 0
i2c_smbus 3041 1 i2c_i801
ahci 26326 4
i2c_core 20390 4 i2c_algo_bit,igb,i2c_i801,i2c_smbus
libahci 19716 1 ahci
video 27138 0
backlight 5833 1 video
2017-08-13 23:21:42,878 DEBG 'start-script' stdout output:
[warn] 'iptable_mangle' kernel module not available, you will not be able to connect to the applications Web UI or Privoxy outside of your LAN
[info] unRAID users: Please attempt to load the module by executing the following on your host:- '/sbin/modprobe iptable_mangle'
[info] Ubuntu users: Please attempt to load the module by executing the following on your host:- '/sbin/modprobe iptable_mangle'
[info] Synology users: Please attempt to load the module by executing the following on your host:- 'insmod /lib/modules/iptable_mangle.ko'
2017-08-13 23:21:42,881 DEBG 'start-script' stdout output:
[debug] Docker interface defined as eth0
2017-08-13 23:21:42,883 DEBG 'start-script' stdout output:
[debug] Docker IP defined as 172.17.0.9
2017-08-13 23:21:42,885 DEBG 'start-script' stdout output:
[debug] Docker netmask defined as 255.255.0.0
2017-08-13 23:21:42,889 DEBG 'start-script' stdout output:
[info] Docker network defined as 172.17.0.0/16
2017-08-13 23:21:42,917 DEBG 'start-script' stdout output:
[info] iptables defined as follows...
--------------------
2017-08-13 23:21:42,918 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 10.1.10.0/24 -i eth0 -p tcp -m tcp --dport 58846 -j ACCEPT
-A INPUT -s 10.1.10.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 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 10.1.10.0/24 -o eth0 -p tcp -m tcp --sport 58846 -j ACCEPT
-A OUTPUT -s 172.17.0.0/16 -d 10.1.10.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
2017-08-13 23:21:42,918 DEBG 'start-script' stdout output:
--------------------
2017-08-13 23:21:42,918 DEBG 'start-script' stdout output:
[debug] OpenVPN command line:- /usr/bin/openvpn --cd /config/openvpn --config '/config/openvpn/Netherlands.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 'nl.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 'nl.privateinternetaccess.com'
[info] Starting OpenVPN...
2017-08-13 23:21:42,921 DEBG 'start-script' stdout output:
Options error: Unrecognized option or missing or extra parameter(s) in [CMD-LINE]:1: auth-user-pass (2.4.1)
Use --help for more information.
2017-08-13 23:21:42,922 DEBG 'start-script' stdout output:
[info] OpenVPN started
2017-08-13 23:21:42,922 DEBG 'start-script' stdout output:
[debug] Waiting for valid IP address from tunnel...
2017-08-13 23:22:48,562 WARN received SIGTERM indicating exit request
2017-08-13 23:22:48,563 DEBG killing privoxy-script (pid 134) with signal SIGTERM
2017-08-13 23:22:48,563 INFO waiting for start-script, deluge-script, deluge-web-script, privoxy-script to die
2017-08-13 23:22:48,563 DEBG fd 26 closed, stopped monitoring <POutputDispatcher at 47209332544720 for <Subprocess at 47209333714240 with name privoxy-script in state STOPPING> (stderr)>
2017-08-13 23:22:48,563 DEBG fd 22 closed, stopped monitoring <POutputDispatcher at 47209332544576 for <Subprocess at 47209333714240 with name privoxy-script in state STOPPING> (stdout)>
2017-08-13 23:22:48,563 INFO stopped: privoxy-script (terminated by SIGTERM)
2017-08-13 23:22:48,563 DEBG received SIGCLD indicating a child quit
2017-08-13 23:22:48,563 DEBG killing deluge-web-script (pid 133) with signal SIGTERM
2017-08-13 23:22:48,563 DEBG fd 17 closed, stopped monitoring <POutputDispatcher at 47209332547024 for <Subprocess at 47209333714888 with name deluge-web-script in state STOPPING> (stdout)>
2017-08-13 23:22:48,563 DEBG fd 21 closed, stopped monitoring <POutputDispatcher at 47209332545440 for <Subprocess at 47209333714888 with name deluge-web-script in state STOPPING> (stderr)>
2017-08-13 23:22:48,564 INFO stopped: deluge-web-script (terminated by SIGTERM)
2017-08-13 23:22:48,564 DEBG received SIGCLD indicating a child quit
2017-08-13 23:22:48,564 DEBG killing deluge-script (pid 132) with signal SIGTERM
2017-08-13 23:22:48,564 DEBG fd 16 closed, stopped monitoring <POutputDispatcher at 47209333714168 for <Subprocess at 47209332583888 with name deluge-script in state STOPPING> (stderr)>
2017-08-13 23:22:48,564 DEBG fd 11 closed, stopped monitoring <POutputDispatcher at 47209333712080 for <Subprocess at 47209332583888 with name deluge-script in state STOPPING> (stdout)>
2017-08-13 23:22:48,564 INFO stopped: deluge-script (terminated by SIGTERM)
2017-08-13 23:22:48,564 DEBG received SIGCLD indicating a child quit
2017-08-13 23:22:48,564 DEBG killing start-script (pid 131) with signal SIGTERM
2017-08-13 23:22:48,564 DEBG fd 8 closed, stopped monitoring <POutputDispatcher at 47209333714456 for <Subprocess at 47209333714528 with name start-script in state STOPPING> (stdout)>
2017-08-13 23:22:48,564 DEBG fd 10 closed, stopped monitoring <POutputDispatcher at 47209333713952 for <Subprocess at 47209333714528 with name start-script in state STOPPING> (stderr)>
2017-08-13 23:22:48,564 INFO stopped: start-script (terminated by SIGTERM)
2017-08-13 23:22:48,564 DEBG received SIGCLD indicating a child quit