Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ___. .__ .__
- \_ |__ |__| ____ | |__ ____ ___ ___
- | __ \| |/ \| | \_/ __ \\ \/ /
- | \_\ \ | | \ Y \ ___/ > <
- |___ /__|___| /___| /\___ >__/\_ \
- \/ \/ \/ \/ \/
- https://hub.docker.com/u/binhex/
- 2017-05-26 23:17:22.175367 [info] System information Linux d168f21ad0aa 4.4.0-78-generic #99-Ubuntu SMP Thu Apr 27 15:29:09 UTC 2017 x86_64 GNU/Linux
- 2017-05-26 23:17:22.370156 [info] PUID defined as '0'
- 2017-05-26 23:17:25.164555 [info] PGID defined as '0'
- 2017-05-26 23:17:25.474553 [info] UMASK defined as '000'
- 2017-05-26 23:17:25.597398 [info] Permissions already set for volume mappings
- 2017-05-26 23:17:25.727193 [info] VPN_ENABLED defined as 'yes'
- 2017-05-26 23:17:25.848727 [info] VPN_PROV defined as 'pia'
- 2017-05-26 23:17:25.969268 [info] VPN_REMOTE defined as 'nl.privateinternetaccess.com'
- 2017-05-26 23:17:26.089169 [info] VPN_PORT defined as '1198'
- 2017-05-26 23:17:26.209696 [info] VPN_PROTOCOL defined as 'udp'
- 2017-05-26 23:17:26.334470 [info] LAN_NETWORK defined as '163.172.215.172/24'
- 2017-05-26 23:17:26.455915 [info] NAME_SERVERS defined as '8.8.8.8,8.8.4.4'
- 2017-05-26 23:17:26.578306 [info] VPN_USER defined as '****'
- 2017-05-26 23:17:26.698519 [info] VPN_PASS defined as '****'
- 2017-05-26 23:17:26.817997 [info] VPN_DEVICE_TYPE defined as 'tun'
- 2017-05-26 23:17:26.937759 [info] VPN_OPTIONS not defined (via -e VPN_OPTIONS)
- 2017-05-26 23:17:27.057611 [info] STRONG_CERTS defined as 'no'
- 2017-05-26 23:17:27.177373 [info] ENABLE_PRIVOXY defined as 'yes'
- 2017-05-26 23:17:27.287424 [info] Setting permissions on files/folders inside container...
- 2017-05-26 23:17:29,209 CRIT Set uid to user 0
- 2017-05-26 23:17:29,209 INFO Included extra file "/etc/supervisor/conf.d/delugevpn.conf" during parsing
- 2017-05-26 23:17:29,219 INFO supervisord started with pid 6
- 2017-05-26 23:17:30,223 INFO spawned: 'start-script' with pid 113
- 2017-05-26 23:17:30,227 INFO spawned: 'deluge-script' with pid 114
- 2017-05-26 23:17:30,232 INFO spawned: 'deluge-web-script' with pid 115
- 2017-05-26 23:17:30,236 INFO spawned: 'privoxy-script' with pid 116
- 2017-05-26 23:17:30,279 DEBG 'deluge-script' stdout output:
- [info] Deluge config file already exists, skipping copy
- 2017-05-26 23:17:30,280 INFO success: start-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
- 2017-05-26 23:17:30,281 INFO success: deluge-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
- 2017-05-26 23:17:30,281 INFO success: deluge-web-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
- 2017-05-26 23:17:30,282 INFO success: privoxy-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
- 2017-05-26 23:17:30,285 DEBG 'deluge-script' stdout output:
- [info] VPN is enabled, checking VPN tunnel local ip is valid
- 2017-05-26 23:17:30,287 DEBG 'deluge-script' stdout output:
- [debug] Waiting for valid IP address from tunnel...
- 2017-05-26 23:17:30,293 DEBG 'start-script' stdout output:
- [info] VPN is enabled, beginning configuration of VPN
- 2017-05-26 23:17:30,312 DEBG 'privoxy-script' stdout output:
- [debug] Waiting for valid IP address from tunnel...
- 2017-05-26 23:17:30,347 DEBG 'start-script' stdout output:
- [info] VPN default certs defined, copying to /config/openvpn/...
- 2017-05-26 23:17:30,356 DEBG 'start-script' stdout output:
- [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=()
- 2017-05-26 23:17:30,357 DEBG 'start-script' stdout output:
- 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=d168f21ad0aa
- HOSTTYPE=x86_64
- IFS=$' \t\n'
- LANG=en_GB.UTF-8
- LAN_NETWORK=163.172.215.172/24
- MACHTYPE=x86_64-unknown-linux-gnu
- NAME_SERVERS=8.8.8.8,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=0
- PIPESTATUS=([0]="0")
- PPID=6
- PS4='+ '
- PUID=0
- PWD=/
- SHELL=/bin/bash
- SHELLOPTS=braceexpand:hashall:interactive-comments
- SHLVL=1
- STRONG_CERTS=no
- SUPERVISOR_ENABLED=1
- SUPERVISOR_GROUP_NAME=start-script
- SUPERVISOR_PROCESS_NAME=start-script
- TERM=xterm
- UID=0
- UMASK=000
- VPN_CONFIG=/config/openvpn/openvpn.ovpn
- VPN_DEVICE_TYPE=tun
- VPN_ENABLED=yes
- VPN_OPTIONS=
- VPN_PASS=****
- VPN_PORT=1198
- VPN_PROTOCOL=udp
- VPN_PROV=pia
- VPN_REMOTE=nl.privateinternetaccess.com
- VPN_USER=****
- _='[debug] Environment variables defined as follows'
- exit_code_chmod=0
- exit_code_chown=0
- [debug] Directory listing of files in /config/openvpn as follows
- 2017-05-26 23:17:30,386 DEBG 'start-script' stdout output:
- total 24
- drwxrwxrwx 2 root root 4096 May 26 23:01 .
- drwxrwxr-x 8 root root 4096 May 26 23:01 ..
- -rwxrwxrwx 1 root root 2025 May 26 23:17 ca.rsa.2048.crt
- -rwxrwxrwx 1 root root 20 May 26 23:01 credentials.conf
- -rwxrwxrwx 1 root root 869 May 26 23:17 crl.rsa.2048.pem
- -rwxrwxrwx 1 root root 272 May 26 23:17 openvpn.ovpn
- 2017-05-26 23:17:30,387 DEBG 'start-script' stdout output:
- [info] VPN config file (ovpn extension) is located at /config/openvpn/openvpn.ovpn
- 2017-05-26 23:17:30,389 DEBG 'start-script' stderr output:
- dos2unix:
- 2017-05-26 23:17:30,390 DEBG 'start-script' stderr output:
- converting file /config/openvpn/openvpn.ovpn to Unix format...
- 2017-05-26 23:17:30,551 DEBG 'start-script' stdout output:
- [debug] Contents of ovpn file /config/openvpn/openvpn.ovpn as follows...
- 2017-05-26 23:17:30,553 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-05-26 23:17:30,576 DEBG 'start-script' stdout output:
- [info] Default route for container is 172.17.0.1
- 2017-05-26 23:17:30,588 DEBG 'start-script' stdout output:
- [info] Adding 8.8.8.8 to /etc/resolv.conf
- 2017-05-26 23:17:30,600 DEBG 'start-script' stdout output:
- [info] Adding 8.8.4.4 to /etc/resolv.conf
- [debug] Show name servers defined for container
- 2017-05-26 23:17:30,604 DEBG 'start-script' stdout output:
- nameserver 8.8.8.8
- nameserver 8.8.4.4
- 2017-05-26 23:17:30,606 DEBG 'start-script' stdout output:
- [debug] Show name resolution for VPN endpoint nl.privateinternetaccess.com
- 2017-05-26 23:17:30,652 DEBG 'start-script' stdout output:
- ;; ->>HEADER<<- opcode: QUERY, rcode: NOERROR, id: 7345
- ;; flags: qr rd ra ; QUERY: 1, ANSWER: 13, AUTHORITY: 0, ADDITIONAL: 0
- ;; QUESTION SECTION:
- ;; nl.privateinternetaccess.com. IN A
- ;; ANSWER SECTION:
- nl.privateinternetaccess.com. 284 IN A 46.166.188.224
- nl.privateinternetaccess.com. 284 IN A 46.166.188.235
- nl.privateinternetaccess.com. 284 IN A 109.201.154.142
- nl.privateinternetaccess.com. 284 IN A 109.201.154.157
- nl.privateinternetaccess.com. 284 IN A 109.201.154.199
- nl.privateinternetaccess.com. 284 IN A 109.201.152.229
- nl.privateinternetaccess.com. 284 IN A 46.166.190.211
- nl.privateinternetaccess.com. 284 IN A 46.166.137.228
- nl.privateinternetaccess.com. 284 IN A 109.201.152.230
- nl.privateinternetaccess.com. 284 IN A 46.166.190.235
- nl.privateinternetaccess.com. 284 IN A 109.201.154.192
- nl.privateinternetaccess.com. 284 IN A 46.166.186.240
- nl.privateinternetaccess.com. 284 IN A 46.166.137.234
- ;; AUTHORITY SECTION:
- ;; ADDITIONAL SECTION:
- ;; Query time: 5 msec
- ;; SERVER: 8.8.8.8
- ;; WHEN: Fri May 26 23:17:30 2017
- ;; MSG SIZE rcvd: 254
- 2017-05-26 23:17:30,721 DEBG 'start-script' stdout output:
- [info] Adding 163.172.215.172/24 as route via docker eth0
- 2017-05-26 23:17:30,726 DEBG 'start-script' stderr output:
- RTNETLINK answers: Invalid argument
- 2017-05-26 23:17:30,733 DEBG 'start-script' stdout output:
- [info] ip route defined as follows...
- --------------------
- 2017-05-26 23:17:30,736 DEBG 'start-script' stdout output:
- default via 172.17.0.1 dev eth0
- 2017-05-26 23:17:30,742 DEBG 'start-script' stdout output:
- 172.17.0.0/16 dev eth0 proto kernel scope link src 172.17.0.2
- 2017-05-26 23:17:30,744 DEBG 'start-script' stdout output:
- --------------------
- [debug] Modules currently loaded for kernel
- 2017-05-26 23:17:30,773 DEBG 'start-script' stdout output:
- Module Size Used by
- xt_mark 16384 0
- iptable_mangle 16384 0
- xt_nat 16384 4
- xt_tcpudp 16384 12
- veth 16384 0
- unix_diag 16384 0
- tcp_diag 16384 0
- inet_diag 20480 1 tcp_diag
- ipt_REJECT 16384 3
- nf_reject_ipv4 16384 1 ipt_REJECT
- xt_multiport 16384 1
- ipt_MASQUERADE 16384 5
- nf_nat_masquerade_ipv4 16384 1 ipt_MASQUERADE
- xfrm_user 32768 1
- xfrm_algo 16384 1 xfrm_user
- iptable_nat 16384 1
- nf_conntrack_ipv4 16384 2
- nf_defrag_ipv4 16384 1 nf_conntrack_ipv4
- nf_nat_ipv4 16384 1 iptable_nat
- xt_addrtype 16384 2
- iptable_filter 16384 1
- ip_tables 24576 3 iptable_filter,iptable_mangle,iptable_nat
- xt_conntrack 16384 1
- x_tables 36864 11 xt_mark,ip_tables,xt_tcpudp,ipt_MASQUERADE,xt_conntrack,xt_nat,xt_multiport,iptable_filter,ipt_REJECT,iptable_mangle,xt_addrtype
- nf_nat 24576 3 nf_nat_ipv4,xt_nat,nf_nat_masquerade_ipv4
- nf_conntrack 106496 5 nf_nat,nf_nat_ipv4,xt_conntrack,nf_nat_masquerade_ipv4,nf_conntrack_ipv4
- br_netfilter 24576 0
- bridge 126976 1 br_netfilter
- stp 16384 1 bridge
- llc 16384 2 stp,bridge
- aufs 217088 109
- quota_v2 16384 2
- quota_tree 20480 1 quota_v2
- intel_powerclamp 16384 0
- coretemp 16384 0
- kvm_intel 172032 0
- kvm 544768 1 kvm_intel
- irqbypass 16384 1 kvm
- crct10dif_pclmul 16384 0
- crc32_pclmul 16384 0
- ghash_clmulni_intel 16384 0
- aesni_intel 167936 0
- gpio_ich 16384 0
- ipmi_ssif 24576 0
- aes_x86_64 20480 1 aesni_intel
- lrw 16384 1 aesni_intel
- gf128mul 16384 1 lrw
- glue_helper 16384 1 aesni_intel
- ablk_helper 16384 1 aesni_intel
- cryptd 20480 3 ghash_clmulni_intel,aesni_intel,ablk_helper
- ipmi_msghandler 49152 1 ipmi_ssif
- lpc_ich 24576 0
- i2c_ismt 20480 0
- 8250_fintek 16384 0
- mac_hid 16384 0
- autofs4 40960 2
- igb 196608 0
- dca 16384 1 igb
- ptp 20480 1 igb
- pps_core 20480 1 ptp
- ahci 36864 3
- libahci 32768 1 ahci
- i2c_algo_bit 16384 1 igb
- fjes 28672 0
- 2017-05-26 23:17:30,797 DEBG 'start-script' stdout output:
- [warn] 'tun' kernel module not available, you will not be able to establish a VPN tunnel
- [info] unRAID users: Please attempt to load the module by executing the following on your host:- '/sbin/modprobe tun'
- [info] Ubuntu users: Please attempt to load the module by executing the following on your host:- '/sbin/modprobe tun'
- [info] Synology users: Please attempt to load the module by executing the following on your host:- 'insmod /lib/modules/tun.ko'
- 2017-05-26 23:17:30,816 DEBG 'start-script' stdout output:
- [info] iptable_mangle support detected, adding fwmark for tables
- 2017-05-26 23:17:30,870 DEBG 'start-script' stdout output:
- [debug] Docker interface defined as eth0
- 2017-05-26 23:17:30,932 DEBG 'start-script' stdout output:
- [debug] Docker IP defined as 172.17.0.2
- 2017-05-26 23:17:30,971 DEBG 'start-script' stdout output:
- [debug] Docker netmask defined as 255.255.0.0
- 2017-05-26 23:17:31,022 DEBG 'start-script' stdout output:
- [info] Docker network defined as 172.17.0.0/16
- 2017-05-26 23:17:31,406 DEBG 'start-script' stdout output:
- [info] iptables defined as follows...
- --------------------
- 2017-05-26 23:17:31,418 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 163.172.215.0/24 -i eth0 -p tcp -m tcp --dport 58846 -j ACCEPT
- -A INPUT -s 163.172.215.0/24 -d 172.17.0.0/16 -i eth0 -p tcp -j ACCEPT
- -A INPUT -p udp -m udp --sport 53 -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 163.172.215.0/24 -o eth0 -p tcp -m tcp --sport 58846 -j ACCEPT
- -A OUTPUT -s 172.17.0.0/16 -d 163.172.215.0/24 -o eth0 -p tcp -j ACCEPT
- -A OUTPUT -p udp -m udp --dport 53 -j ACCEPT
- -A OUTPUT -p icmp -m icmp --icmp-type 8 -j ACCEPT
- -A OUTPUT -o lo -j ACCEPT
- 2017-05-26 23:17:31,419 DEBG 'start-script' stdout output:
- --------------------
- 2017-05-26 23:17:31,420 DEBG 'start-script' stdout output:
- [debug] OpenVPN command line '/usr/bin/openvpn --cd /config/openvpn --config /config/openvpn/openvpn.ovpn --daemon --dev tun0 --remote nl.privateinternetaccess.com 1198 --proto udp --reneg-sec 0 --mute-replay-warnings --auth-nocache --keepalive 10 60 --setenv VPN_PROV pia --script-security 2 --up /root/openvpnup.sh --up-delay --up-restart --auth-user-pass credentials.conf --disable-occ --log-append /config/supervisord.log'
- [info] Starting OpenVPN...
- Fri May 26 23:17:31 2017 WARNING: file 'credentials.conf' is group or others accessible
- Fri May 26 23:17: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
- Fri May 26 23:17:31 2017 library versions: OpenSSL 1.1.0e 16 Feb 2017, LZO 2.10
- 2017-05-26 23:17:31,447 DEBG 'start-script' stdout output:
- [info] OpenVPN started
- [debug] Waiting for valid IP address from tunnel...
- Fri May 26 23:17:31 2017 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
- Fri May 26 23:17:31 2017 TCP/UDP: Preserving recently used remote address: [AF_INET]46.166.188.224:1198
- Fri May 26 23:17:31 2017 UDP link local: (not bound)
- Fri May 26 23:17:31 2017 UDP link remote: [AF_INET]46.166.188.224:1198
- Fri May 26 23:17:31 2017 [4fd0c2f7904900bce574bce9c192331b] Peer Connection Initiated with [AF_INET]46.166.188.224:1198
- Fri May 26 23:17:32 2017 TUN/TAP device tun0 opened
- Fri May 26 23:17:32 2017 do_ifconfig, tt->did_ifconfig_ipv6_setup=0
- Fri May 26 23:17:32 2017 /usr/bin/ip link set dev tun0 up mtu 1500
- Fri May 26 23:17:32 2017 /usr/bin/ip addr add dev tun0 local 10.13.10.6 peer 10.13.10.5
- Fri May 26 23:17:32 2017 /root/openvpnup.sh tun0 1500 1561 10.13.10.6 10.13.10.5 init
- [debug] Checking Internet connectivity...
- [debug] Checking Internet connectivity...
- Fri May 26 23:17:32 2017 Initialization Sequence Completed
- [debug] Successfully connected to hostname 'google.com' port '443'
- 2017-05-26 23:17:32,865 DEBG 'deluge-script' stdout output:
- [debug] Valid IP address from tunnel acquired '10.13.10.6'
- 2017-05-26 23:17:32,871 DEBG 'privoxy-script' stdout output:
- [debug] Valid IP address from tunnel acquired '10.13.10.6'
- 2017-05-26 23:17:32,872 DEBG 'privoxy-script' stdout output:
- [info] Configuring Privoxy...
- 2017-05-26 23:17:32,894 DEBG 'deluge-script' stdout output:
- [info] Deluge not running
- 2017-05-26 23:17:32,896 DEBG 'deluge-script' stdout output:
- [info] Deluge listening interface IP 0.0.0.0 and VPN provider IP 10.13.10.6 different, marking for reconfigure
- 2017-05-26 23:17:32,909 DEBG 'start-script' stdout output:
- [debug] Valid IP address from tunnel acquired '10.13.10.6'
- 2017-05-26 23:17:32,983 DEBG 'privoxy-script' stdout output:
- [info] All checks complete, starting Privoxy...
- 2017-05-26 23:17:32,985 DEBG 'privoxy-script' stderr output:
- 2017-05-26 23:17:32.984 7f796eb1c040 Info: Privoxy version 3.0.26
- 2017-05-26 23:17:32.985 7f796eb1c040 Info: Program name: /usr/bin/privoxy
- [debug] Successfully connected to hostname 'google.com' port '443'
- [debug] Successfully assigned incoming port 25709
- 2017-05-26 23:17:43,763 DEBG 'deluge-script' stdout output:
- [debug] Incoming port for tunnel is '25709'
- [info] Attempting to start Deluge...
- 2017-05-26 23:17:45,609 DEBG 'deluge-script' stdout output:
- [info] Deluge listening interface currently defined as 10.4.10.6
- [info] Deluge listening interface will be changed to 10.13.10.6
- [info] Saving changes to Deluge config file /config/core.conf...
- 2017-05-26 23:17:48,470 DEBG 'deluge-web-script' stdout output:
- [info] Starting Deluge webui...
- 2017-05-26 23:17:51,570 DEBG 'deluge-script' stdout output:
- Setting random_port to False..
- Configuration value successfully updated.
- 2017-05-26 23:17:54,034 DEBG 'deluge-script' stdout output:
- Setting listen_ports to (25709, 25709)..
- Configuration value successfully updated.
- 2017-05-26 23:17:54,097 DEBG 'deluge-script' stdout output:
- [info] Deluge started
- 2017-05-26 23:17:54,098 DEBG 'deluge-script' stdout output:
- [debug] VPN incoming port is 25709
- [debug] VPN IP is 10.13.10.6
- [debug] Deluge incoming port is 25709
- [debug] Deluge IP is 10.13.10.6
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement