I cannot for the life of me figure out what is going on. I am using Rancher 1.6. I had this installed and running smoothly on a previous machine. I got a new machine, did the install and cannot access the UI at all. Even tried blowing out the config folder and starting from scratch. The logs show no issue, shows. Here is the yml:
delugevpn:
cap_add:
- NET_ADMIN
image: binhex/arch-delugevpn
environment:
VPN_ENABLED: 'yes'
VPN_PROV: airvpn
ENABLE_PRIVOXY: 'yes'
LAN_NETWORK: 192.168.1.1/24
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
DELUGE_DAEMON_LOG_LEVEL: info
DELUGE_WEB_LOG_LEVEL: info
DEBUG: 'false'
UMASK: '000'
PGID: '1100'
PUID: '1100'
stdin_open: true volumes:
- /mnt/zpool2/apps/deluge/data:/data
- /mnt/zpool2/apps/deluge/config:/config
tty: true
ports:
- 8112:8112/tcp
- 8118:8118/tcp
- 58846:58846/tcp
- 58946:58946/tcp
labels: io.rancher.container.pull_image: always
HERE are the logs:
___. .__ .__
\_ |__ |__| ____ | |__ ____ ___ ___
| __ \| |/ \| | \_/ __ \\ \/ /
| \_\ \ | | \ Y \ ___/ > <
|___ /__|___| /___| /\___ >__/\_ \
\/ \/ \/ \/ \/
https://hub.docker.com/u/binhex/
2019-05-16 14:29:43.473098 [info] System information Linux 0ced337a1d1b 4.14.85-rancher #1 SMP Sat Dec 1 12:40:08 UTC 2018 x86_64 GNU/Linux
2019-05-16 14:29:43.516948 [info] PUID defined as '1100'
2019-05-16 14:29:43.614217 [info] PGID defined as '1100'
2019-05-16 14:29:43.692712 [info] UMASK defined as '000'
2019-05-16 14:29:43.725289 [info] Permissions already set for volume mappings
2019-05-16 14:29:43.771946 [info] DELUGE_DAEMON_LOG_LEVEL defined as 'info'
2019-05-16 14:29:43.813738 [info] DELUGE_WEB_LOG_LEVEL defined as 'info'
2019-05-16 14:29:43.855183 [info] VPN_ENABLED defined as 'yes'
2019-05-16 14:29:43.909683 [info] OpenVPN config file (ovpn extension) is located at /config/openvpn/AirVPN_Spain_UDP-443.ovpn
dos2unix: converting file /config/openvpn/AirVPN_Spain_UDP-443.ovpn to Unix format...
2019-05-16 14:29:43.973419 [info] VPN remote line defined as 'remote es.vpn.airdns.org 443'
2019-05-16 14:29:44.010198 [info] VPN_REMOTE defined as 'es.vpn.airdns.org'
2019-05-16 14:29:44.048144 [info] VPN_PORT defined as '443'
2019-05-16 14:29:44.096935 [info] VPN_PROTOCOL defined as 'udp'
2019-05-16 14:29:44.136620 [info] VPN_DEVICE_TYPE defined as 'tun0'
2019-05-16 14:29:44.172465 [info] VPN_PROV defined as 'airvpn'
2019-05-16 14:29:44.202096 [info] LAN_NETWORK defined as '192.168.1.1/24'
2019-05-16 14:29:44.246305 [info] NAME_SERVERS defined as '8.8.8.8,8.8.4.4'
2019-05-16 14:29:44.286562 [info] VPN_OPTIONS not defined (via -e VPN_OPTIONS)
2019-05-16 14:29:44.333397 [info] ENABLE_PRIVOXY defined as 'yes'
2019-05-16 14:29:44.894983 [info] Starting Supervisor...
2019-05-16 14:29:45,100 INFO Included extra file "/etc/supervisor/conf.d/delugevpn.conf" during parsing
2019-05-16 14:29:45,100 INFO Set uid to user 0 succeeded
2019-05-16 14:29:45,105 INFO supervisord started with pid 13
2019-05-16 14:29:46,109 INFO spawned: 'privoxy-script' with pid 143
2019-05-16 14:29:46,111 INFO spawned: 'start-script' with pid 144
2019-05-16 14:29:46,114 INFO spawned: 'watchdog-script' with pid 145
2019-05-16 14:29:46,115 INFO reaped unknown pid 14
2019-05-16 14:29:46,127 DEBG 'start-script' stdout output:
[info] VPN is enabled, beginning configuration of VPN
2019-05-16 14:29:46,127 INFO success: privoxy-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2019-05-16 14:29:46,127 INFO success: start-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2019-05-16 14:29:46,128 INFO success: watchdog-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2019-05-16 14:29:46,131 DEBG 'watchdog-script' stderr output:
dos2unix: converting file /config/core.conf to Unix format...
2019-05-16 14:29:46,196 DEBG 'start-script' stdout output:
[info] Default route for container is 10.42.0.1
2019-05-16 14:29:46,204 DEBG 'start-script' stdout output:
[info] Adding 8.8.8.8 to /etc/resolv.conf
2019-05-16 14:29:46,210 DEBG 'start-script' stdout output:
[info] Adding 8.8.4.4 to /etc/resolv.conf
2019-05-16 14:29:46,368 DEBG 'start-script' stdout output:
[info] Attempting to load iptable_mangle module...
2019-05-16 14:29:46,370 DEBG 'start-script' stderr output:
modprobe: FATAL: Module iptable_mangle not found in directory /lib/modules/4.14.85-rancher
2019-05-16 14:29:46,371 DEBG 'start-script' stdout output:
[warn] Unable to load iptable_mangle module using modprobe, trying insmod...
2019-05-16 14:29:46,375 DEBG 'start-script' stderr output:
insmod: ERROR: could not load module /lib/modules/iptable_mangle.ko: No such file or directory
2019-05-16 14:29:46,376 DEBG 'start-script' stdout output:
[warn] Unable to load iptable_mangle module, you will not be able to connect to the applications Web UI or Privoxy outside of your LAN
[info] unRAID/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'
2019-05-16 14:29:46,414 DEBG 'start-script' stdout output:
[info] Docker network defined as 10.42.0.0/16
2019-05-16 14:29:46,423 DEBG 'start-script' stdout output:
[info] Adding 192.168.1.1/24 as route via docker eth0
2019-05-16 14:29:46,425 DEBG 'start-script' stderr output:
Error: Invalid prefix for given prefix length.
2019-05-16 14:29:46,425 DEBG 'start-script' stdout output:
[info] ip route defined as follows...
--------------------
2019-05-16 14:29:46,426 DEBG 'start-script' stdout output:
default via 10.42.0.1 dev eth0
10.42.0.0/16 dev eth0 proto kernel scope link src 10.42.60.5
2019-05-16 14:29:46,427 DEBG 'start-script' stdout output:
--------------------
2019-05-16 14:29:46,606 DEBG 'start-script' stdout output:
[info] iptables defined as follows...
--------------------
2019-05-16 14:29:46,608 DEBG 'start-script' stdout output:
-P INPUT DROP
-P FORWARD ACCEPT
-P OUTPUT DROP
-A INPUT -i tun0 -j ACCEPT
-A INPUT -s 10.42.0.0/16 -d 10.42.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 8112 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --sport 8112 -j ACCEPT
-A INPUT -s 192.168.1.0/24 -i eth0 -p tcp -m tcp --dport 58846 -j ACCEPT
-A INPUT -s 192.168.1.0/24 -d 10.42.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 10.42.0.0/16 -d 10.42.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 8112 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --sport 8112 -j ACCEPT
-A OUTPUT -d 192.168.1.0/24 -o eth0 -p tcp -m tcp --sport 58846 -j ACCEPT
-A OUTPUT -s 10.42.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
2019-05-16 14:29:46,609 DEBG 'start-script' stdout output:
--------------------
2019-05-16 14:29:46,610 DEBG 'start-script' stdout output:
[info] Starting OpenVPN...
2019-05-16 14:29:46,626 DEBG 'start-script' stdout output:
Thu May 16 14:29:46 2019 WARNING: file 'user.key' is group or others accessible
Thu May 16 14:29:46 2019 WARNING: file 'ta.key' is group or others accessible
Thu May 16 14:29:46 2019 OpenVPN 2.4.7 [git:makepkg/2b8aec62d5db2c17+] x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Feb 19 2019
Thu May 16 14:29:46 2019 library versions: OpenSSL 1.1.1b 26 Feb 2019, LZO 2.10
2019-05-16 14:29:46,627 DEBG 'start-script' stdout output:
[info] OpenVPN started
2019-05-16 14:29:46,627 DEBG 'start-script' stdout output:
Thu May 16 14:29:46 2019 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
2019-05-16 14:29:46,627 DEBG 'start-script' stdout output:
Thu May 16 14:29:46 2019 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Thu May 16 14:29:46 2019 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
2019-05-16 14:29:46,628 DEBG 'start-script' stdout output:
Thu May 16 14:29:46 2019 TCP/UDP: Preserving recently used remote address: [AF_INET]185.183.106.2:443
Thu May 16 14:29:46 2019 Socket Buffers: R=[212992->212992] S=[212992->212992]
Thu May 16 14:29:46 2019 UDP link local: (not bound)
Thu May 16 14:29:46 2019 UDP link remote: [AF_INET]185.183.106.2:443
2019-05-16 14:29:46,803 DEBG 'start-script' stdout output:
Thu May 16 14:29:46 2019 TLS: Initial packet from [AF_INET]185.183.106.2:443, sid=eec4098b 08ffa336
2019-05-16 14:29:47,012 DEBG 'start-script' stdout output:
Thu May 16 14:29:47 2019 VERIFY OK: depth=1, C=IT, ST=IT, L=Perugia, O=airvpn.org, CN=airvpn.org CA,
[email protected]
2019-05-16 14:29:47,012 DEBG 'start-script' stdout output:
Thu May 16 14:29:47 2019 VERIFY KU OK
Thu May 16 14:29:47 2019 Validating certificate extended key usage
Thu May 16 14:29:47 2019 ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication
Thu May 16 14:29:47 2019 VERIFY EKU OK
Thu May 16 14:29:47 2019 VERIFY OK: depth=0, C=IT, ST=IT, L=Perugia, O=airvpn.org, CN=Eridanus,
[email protected]
2019-05-16 14:29:47,483 DEBG 'start-script' stdout output:
Thu May 16 14:29:47 2019 Control Channel: TLSv1.2, cipher TLSv1.2 DHE-RSA-AES256-GCM-SHA384, 4096 bit RSA
Thu May 16 14:29:47 2019 [Eridanus] Peer Connection Initiated with [AF_INET]185.183.106.2:443
2019-05-16 14:29:48,646 DEBG 'start-script' stdout output:
Thu May 16 14:29:48 2019 SENT CONTROL [Eridanus]: 'PUSH_REQUEST' (status=1)
2019-05-16 14:29:48,821 DEBG 'start-script' stdout output:
Thu May 16 14:29:48 2019 PUSH: Received control message: 'PUSH_REPLY,comp-lzo no,redirect-gateway def1 bypass-dhcp,dhcp-option DNS 10.16.140.1,route-gateway 10.16.140.1,topology subnet,ping 10,ping-restart 60,ifconfig 10.16.140.169 255.255.255.0,peer-id 1,cipher AES-256-GCM'
2019-05-16 14:29:48,822 DEBG 'start-script' stdout output:
Thu May 16 14:29:48 2019 OPTIONS IMPORT: timers and/or timeouts modified
Thu May 16 14:29:48 2019 OPTIONS IMPORT: compression parms modified
Thu May 16 14:29:48 2019 OPTIONS IMPORT: --ifconfig/up options modified
Thu May 16 14:29:48 2019 OPTIONS IMPORT: route options modified
Thu May 16 14:29:48 2019 OPTIONS IMPORT: route-related options modified
Thu May 16 14:29:48 2019 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
Thu May 16 14:29:48 2019 OPTIONS IMPORT: peer-id set
Thu May 16 14:29:48 2019 OPTIONS IMPORT: adjusting link_mtu to 1625
Thu May 16 14:29:48 2019 OPTIONS IMPORT: data channel crypto options modified
Thu May 16 14:29:48 2019 Data Channel: using negotiated cipher 'AES-256-GCM'
Thu May 16 14:29:48 2019 Outgoing Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
Thu May 16 14:29:48 2019 Incoming Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
Thu May 16 14:29:48 2019 ROUTE_GATEWAY 10.42.0.1/255.255.0.0 IFACE=eth0 HWADDR=02:c6:ef:ad:48:e3
2019-05-16 14:29:48,822 DEBG 'start-script' stdout output:
Thu May 16 14:29:48 2019 TUN/TAP device tun0 opened
2019-05-16 14:29:48,823 DEBG 'start-script' stdout output:
Thu May 16 14:29:48 2019 TUN/TAP TX queue length set to 100
Thu May 16 14:29:48 2019 /usr/bin/ip link set dev tun0 up mtu 1500
2019-05-16 14:29:48,826 DEBG 'start-script' stdout output:
Thu May 16 14:29:48 2019 /usr/bin/ip addr add dev tun0 10.16.140.169/24 broadcast 10.16.140.255
2019-05-16 14:29:48,829 DEBG 'start-script' stdout output:
Thu May 16 14:29:48 2019 /root/openvpnup.sh tun0 1500 1553 10.16.140.169 255.255.255.0 init
2019-05-16 14:29:48,898 DEBG fd 8 closed, stopped monitoring <POutputDispatcher at 140366125504104 for <Subprocess at 140366125504944 with name privoxy-script in state RUNNING> (stdout)>
2019-05-16 14:29:48,898 DEBG fd 10 closed, stopped monitoring <POutputDispatcher at 140366125601344 for <Subprocess at 140366125504944 with name privoxy-script in state RUNNING> (stderr)>
2019-05-16 14:29:48,899 INFO exited: privoxy-script (exit status 0; expected)
2019-05-16 14:29:48,899 DEBG received SIGCHLD indicating a child quit
2019-05-16 14:29:48,902 DEBG 'watchdog-script' stdout output:
[info] Deluge listening interface IP 0.0.0.0 and VPN provider IP 10.16.140.169 different, marking for reconfigure
2019-05-16 14:29:48,906 DEBG 'watchdog-script' stdout output:
[info] Deluge not running
2019-05-16 14:29:48,910 DEBG 'watchdog-script' stdout output:
[info] Deluge Web UI not running
2019-05-16 14:29:48,919 DEBG 'watchdog-script' stdout output:
[info] Privoxy not running
2019-05-16 14:29:48,974 DEBG 'start-script' stdout output:
Error: could not find any address for the name: `ns1.google.com'
2019-05-16 14:29:48,986 DEBG 'start-script' stdout output:
Error: could not find any address for the name: `resolver1.opendns.com'
2019-05-16 14:29:49,041 DEBG 'start-script' stdout output:
[warn] Cannot determine external IP address, exhausted retries setting to tunnel IP '10.16.140.169'
2019-05-16 14:29:49,124 DEBG 'watchdog-script' stdout output:
[info] Attempting to start Deluge...
[info] Removing deluge pid file (if it exists)...
2019-05-16 14:29:49,472 DEBG 'watchdog-script' stdout output:
[info] Deluge listening interface currently defined as 0.0.0.0
[info] Deluge listening interface will be changed to 0.0.0.0
[info] Saving changes to Deluge config file /config/core.conf...
2019-05-16 14:29:49,850 DEBG 'watchdog-script' stdout output:
[info] Deluge process started
[info] Waiting for Deluge process to start listening on port 58846...
2019-05-16 14:29:50,228 DEBG 'watchdog-script' stdout output:
[info] Deluge process listening on port 58846
2019-05-16 14:29:50,902 DEBG 'watchdog-script' stdout output:
[info] No torrents with state 'Error' found
2019-05-16 14:29:50,903 DEBG 'watchdog-script' stdout output:
[info] Starting Deluge Web UI...
2019-05-16 14:29:50,903 DEBG 'watchdog-script' stdout output:
[info] Deluge Web UI started
2019-05-16 14:29:51,054 DEBG 'watchdog-script' stdout output:
[info] Attempting to start Privoxy...
2019-05-16 14:29:52,065 DEBG 'watchdog-script' stdout output:
[info] Privoxy process started
[info] Waiting for Privoxy process to start listening on port 8118...
2019-05-16 14:29:52,085 DEBG 'watchdog-script' stdout output:
[info] Privoxy process listening on port 8118
2019-05-16 14:29:53,323 DEBG 'start-script' stdout output:
Thu May 16 14:29:53 2019 /usr/bin/ip route add 185.183.106.2/32 via 10.42.0.1
2019-05-16 14:29:53,326 DEBG 'start-script' stdout output:
Thu May 16 14:29:53 2019 /usr/bin/ip route add 0.0.0.0/1 via 10.16.140.1
2019-05-16 14:29:53,329 DEBG 'start-script' stdout output:
Thu May 16 14:29:53 2019 /usr/bin/ip route add 128.0.0.0/1 via 10.16.140.1
2019-05-16 14:29:53,331 DEBG 'start-script' stdout output:
Thu May 16 14:29:53 2019 Initialization Sequence Completed