Need some help. After searching this topic I managed to add the google nameserver, but I still cant connect to my container. What am I missing?
usermod: no changes
[info] Env var PUID defined as 99
[info] Env var PGID defined as 100
[info] Permissions already set for /config
[info] Starting Supervisor...
2017-02-01 16:24:05,767 CRIT Set uid to user 0
2017-02-01 16:24:05,767 INFO Included extra file "/etc/supervisor/conf.d/transmission.conf" during parsing
2017-02-01 16:24:05,771 INFO supervisord started with pid 15
2017-02-01 16:24:06,772 INFO spawned: 'checkproc-script' with pid 18
2017-02-01 16:24:06,774 INFO spawned: 'start-script' with pid 19
2017-02-01 16:24:06,784 INFO spawned: 'transmission-script' with pid 23
2017-02-01 16:24:06,786 INFO spawned: 'privoxy-script' with pid 25
2017-02-01 16:24:06,790 DEBG 'start-script' stdout output:
[info] VPN is enabled, beginning configuration of VPN
2017-02-01 16:24:06,790 INFO success: checkproc-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2017-02-01 16:24:06,790 INFO success: start-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2017-02-01 16:24:06,791 INFO success: transmission-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2017-02-01 16:24:06,791 INFO success: privoxy-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2017-02-01 16:24:06,814 DEBG 'start-script' stdout output:
[debug] Environment variables defined as follows
2017-02-01 16:24:06,815 DEBG 'start-script' stdout output:
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]="5" [3]="1" [4]="release" [5]="x86_64-unknown-linux-gnu")
BASH_VERSION='4.4.5(1)-release'
DEBUG=true
DIRSTACK=()
ENABLE_PRIVOXY=no
EUID=0
)
HOME=/home/nobody
HOSTNAME=2a66961648a6
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=8.8.8.8
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=15
PS4='+ '
PUID=99
PWD=/
SHELL=/bin/bash
SHELLOPTS=braceexpand:hashall:interactive-comments
SHLVL=2
SUPERVISOR_ENABLED=1
SUPERVISOR_GROUP_NAME=start-script
SUPERVISOR_PROCESS_NAME=start-script
TERM=xterm
TZ=America/Los_Angeles
UID=0
VPN_CONFIG=/config/openvpn/ipvanish-US-Chicago-chi-a16.ovpn
VPN_ENABLED=yes
VPN_PASS=xxxxxxxxxxxxxxxxxxxxxxxx
VPN_PORT=1194
VPN_PROTOCOL=udp
VPN_PROV=custom
VPN_REMOTE=ipvanish-US-Chicago-chi-a16.ovpn
VPN_USER=xxxxxxxxxxxxxxxxxxxxxxxx
WHITELIST='*.*.*.*'
_='[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-02-01 16:24:06,822 DEBG 'transmission-script' stdout output:
[info] VPN is enabled, checking VPN tunnel local ip is valid
2017-02-01 16:24:06,857 DEBG 'start-script' stdout output:
total 12
drwxrwxrwx 1 nobody users 64 Feb 1 16:23 .
drwxrwxr-x 1 nobody users 288 Jan 30 19:48 ..
-rwxrwxrwx 1 nobody users 1684 Jan 11 04:15 ca.ipvanish.com.crt
-rwxrwxrwx 1 nobody users 21 Feb 1 16:23 credentials.conf
-rwxrwxrwx 1 nobody users 467 Feb 1 16:23 ipvanish-US-Chicago-chi-a16.ovpn
2017-02-01 16:24:06,858 DEBG 'start-script' stdout output:
[debug] Contents of ovpn file /config/openvpn/ipvanish-US-Chicago-chi-a16.ovpn as follows...
2017-02-01 16:24:06,860 DEBG 'start-script' stdout output:
client
# Disabled, as we pass this value via env var
;dev tun
# Disabled, as we pass this value via env var
;remote chi-a16.ipvanish.com 443 udp
resolv-retry infinite
nobind
persist-key
persist-remote-ip
ca ca.ipvanish.com.crt
verify-x509-name chi-a16.ipvanish.com name
auth-user-pass credentials.conf
comp-lzo
verb 3
auth SHA256
cipher AES-256-CBC
keysize 256
tls-cipher TLS-DHE-RSA-WITH-AES-256-CBC-SHA:TLS-DHE-DSS-WITH-AES-256-CBC-SHA:TLS-RSA-WITH-AES-256-CBC-SHA
2017-02-01 16:24:06,863 DEBG 'start-script' stdout output:
[info] VPN config file (ovpn extension) is located at /config/openvpn/ipvanish-US-Chicago-chi-a16.ovpn
2017-02-01 16:24:06,866 DEBG 'privoxy-script' stdout output:
[info] Privoxy set to disabled
2017-02-01 16:24:06,868 DEBG fd 24 closed, stopped monitoring <POutputDispatcher at 47628122742584 for <Subprocess at 47628122841672 with name privoxy-script in state RUNNING> (stderr)>
2017-02-01 16:24:06,868 DEBG fd 20 closed, stopped monitoring <POutputDispatcher at 47628122742440 for <Subprocess at 47628122841672 with name privoxy-script in state RUNNING> (stdout)>
2017-02-01 16:24:06,868 INFO exited: privoxy-script (exit status 0; expected)
2017-02-01 16:24:06,870 DEBG received SIGCLD indicating a child quit
2017-02-01 16:24:06,958 DEBG 'start-script' stderr output:
mknod:
2017-02-01 16:24:06,959 DEBG 'start-script' stderr output:
/
2017-02-01 16:24:06,959 DEBG 'start-script' stderr output:
: File exists
2017-02-01 16:24:06,960 DEBG 'start-script' stderr output:
2017-02-01 16:24:06,994 DEBG 'start-script' stdout output:
[info] Default route for container is 172.17.0.1
2017-02-01 16:24:07,009 DEBG 'start-script' stdout output:
[info] Adding 8.8.8.8 to /etc/resolv.conf
[debug] Show name servers defined for container
2017-02-01 16:24:07,010 DEBG 'start-script' stdout output:
nameserver 8.8.8.8
2017-02-01 16:24:07,011 DEBG 'start-script' stdout output:
[debug] Show name resolution for VPN endpoint ipvanish-US-Chicago-chi-a16.ovpn
2017-02-01 16:24:07,050 DEBG 'start-script' stdout output:
;; ->>HEADER<<- opcode: QUERY, rcode: NXDOMAIN, id: 209
;; flags: qr rd ra ; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;; ipvanish-US-Chicago-chi-a16.ovpn. IN A
;; ANSWER SECTION:
;; AUTHORITY SECTION:
. 86398 IN SOA a.root-servers.net. nstld.verisign-grs.com. 2017020101 1800 900 604800 86400
;; ADDITIONAL SECTION:
;; Query time: 35 msec
;; SERVER: 8.8.8.8
;; WHEN: Wed Feb 1 16:24:07 2017
;; MSG SIZE rcvd: 125
2017-02-01 16:24:07,059 DEBG 'start-script' stdout output:
[info] Adding 192.168.1.0/24 as route via docker eth0
2017-02-01 16:24:07,061 DEBG 'start-script' stdout output:
[info] ip route defined as follows...
--------------------
2017-02-01 16:24:07,064 DEBG 'start-script' stdout output:
default via 172.17.0.1 dev eth0
2017-02-01 16:24:07,065 DEBG 'start-script' stdout output:
172.17.0.0/16 dev eth0 proto kernel scope link src 172.17.0.7
192.168.1.0/24 via 172.17.0.1 dev eth0
2017-02-01 16:24:07,066 DEBG 'start-script' stdout output:
--------------------
2017-02-01 16:24:07,071 DEBG 'start-script' stdout output:
[debug] Modules currently loaded for kernel
2017-02-01 16:24:07,075 DEBG 'start-script' stdout output:
Module Size Used by
vhost_net 8037 0
tun 16556 2 vhost_net
vhost 13029 1 vhost_net
macvtap 9551 1 vhost_net
macvlan 11993 1 macvtap
kvm_intel 142275 0
kvm 268324 1 kvm_intel
md_mod 36275 3
xt_CHECKSUM 1271 1
iptable_mangle 1592 1
ipt_REJECT 1457 2
nf_reject_ipv4 2419 1 ipt_REJECT
ebtable_filter 1839 0
ebtables 14232 1 ebtable_filter
xt_nat 1849 7
veth 4665 0
ipt_MASQUERADE 1213 11
nf_nat_masquerade_ipv4 1865 1 ipt_MASQUERADE
iptable_nat 1831 1
nf_conntrack_ipv4 5810 3
nf_nat_ipv4 4327 1 iptable_nat
iptable_filter 1528 1
ip_tables 9422 3 iptable_filter,iptable_mangle,iptable_nat
nf_nat 9852 3 nf_nat_ipv4,xt_nat,nf_nat_masquerade_ipv4
bonding 90588 0
x86_pkg_temp_thermal 4669 0
coretemp 5276 0
e1000e 142034 0
i2c_i801 10759 0
i2c_core 18064 1 i2c_i801
ptp 8988 1 e1000e
ahci 26003 5
libahci 19067 1 ahci
pps_core 5864 1 ptp
2017-02-01 16:24:07,077 DEBG 'start-script' stdout output:
[info] iptable_mangle support detected, adding fwmark for tables
2017-02-01 16:24:07,141 DEBG 'start-script' stdout output:
[info] iptables defined as follows...
--------------------
2017-02-01 16:24:07,145 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 1194 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --dport 9091 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --sport 9091 -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 1194 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --dport 9091 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --sport 9091 -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-02-01 16:24:07,146 DEBG 'start-script' stdout output:
--------------------
2017-02-01 16:24:07,147 DEBG 'start-script' stdout output:
[info] Starting OpenVPN...
2017-02-01 16:24:07,176 DEBG 'start-script' stdout output:
[info] OpenVPN started