I just (<30 minutes ago) updated this Docker (binhex-delugevpn) and suddenly I'm unable to connect to the web-interface; it simply states the "192.168.1.251 heeft de verbinding geweigerd." (meaning: IP has refused the connection).
I noticed in the logs something about running /sbin/modprobe iptable_mangle on the host, which I did to add iptable_mangle kernel-module. That did not resolve the issue either.
2017-04-27 16:27:09.657900 [info] Starting Supervisor...
2017-04-27 16:27:09,854 CRIT Set uid to user 0
2017-04-27 16:27:09,854 INFO Included extra file "/etc/supervisor/conf.d/delugevpn.conf" during parsing
2017-04-27 16:27:09,856 INFO supervisord started with pid 6
2017-04-27 16:27:10,858 INFO spawned: 'start-script' with pid 111
2017-04-27 16:27:10,859 INFO spawned: 'deluge-script' with pid 112
2017-04-27 16:27:10,860 INFO spawned: 'deluge-web-script' with pid 113
2017-04-27 16:27:10,861 INFO spawned: 'privoxy-script' with pid 114
2017-04-27 16:27:10,867 DEBG 'start-script' stdout output:
[info] VPN is enabled, beginning configuration of VPN
2017-04-27 16:27:10,868 INFO success: start-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2017-04-27 16:27:10,868 INFO success: deluge-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2017-04-27 16:27:10,868 INFO success: deluge-web-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2017-04-27 16:27:10,868 INFO success: privoxy-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2017-04-27 16:27:10,873 DEBG 'privoxy-script' stdout output:
[info] Privoxy set to disabled
2017-04-27 16:27:10,873 DEBG fd 26 closed, stopped monitoring <POutputDispatcher at 47549797512544 for <Subprocess at 47549798290208 with name privoxy-script in state RUNNING> (stderr)>
2017-04-27 16:27:10,873 DEBG fd 22 closed, stopped monitoring <POutputDispatcher at 47549797513552 for <Subprocess at 47549798290208 with name privoxy-script in state RUNNING> (stdout)>
2017-04-27 16:27:10,873 INFO exited: privoxy-script (exit status 0; expected)
2017-04-27 16:27:10,874 DEBG received SIGCLD indicating a child quit
2017-04-27 16:27:10,875 DEBG 'start-script' stdout output:
[info] VPN default certs defined, copying to /config/openvpn/...
2017-04-27 16:27:10,877 DEBG 'deluge-script' stdout output:
[info] Deluge config file already exists, skipping copy
2017-04-27 16:27:10,878 DEBG 'deluge-script' stdout output:
[info] VPN is enabled, checking VPN tunnel local ip is valid
2017-04-27 16:27:10,880 DEBG 'start-script' stdout output:
[info] VPN config file (ovpn extension) is located at /config/openvpn/openvpn.ovpn
2017-04-27 16:27:10,888 DEBG 'start-script' stderr output:
dos2unix: converting file /config/openvpn/openvpn.ovpn to Unix format...
2017-04-27 16:27:10,921 DEBG 'start-script' stdout output:
[info] Default route for container is 172.17.0.1
2017-04-27 16:27:10,923 DEBG 'start-script' stdout output:
[info] Adding 8.8.8.8 to /etc/resolv.conf
2017-04-27 16:27:10,926 DEBG 'start-script' stdout output:
[info] Adding 37.235.1.174 to /etc/resolv.conf
2017-04-27 16:27:10,928 DEBG 'start-script' stdout output:
[info] Adding 8.8.4.4 to /etc/resolv.conf
2017-04-27 16:27:10,931 DEBG 'start-script' stdout output:
[info] Adding 37.235.1.177 to /etc/resolv.conf
2017-04-27 16:27:10,936 DEBG 'start-script' stdout output:
[info] Adding 192.168.1.0/24 as route via docker eth0
2017-04-27 16:27:10,937 DEBG 'start-script' stdout output:
[info] ip route defined as follows...
--------------------
2017-04-27 16:27:10,937 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.6
192.168.1.0/24 via 172.17.0.1 dev eth0
2017-04-27 16:27:10,938 DEBG 'start-script' stdout output:
--------------------
2017-04-27 16:27:10,945 DEBG 'start-script' stdout output:
[info] iptable_mangle support detected, adding fwmark for tables
2017-04-27 16:27:10,961 DEBG 'start-script' stdout output:
[info] Docker network defined as 172.17.0.0/16
2017-04-27 16:27:11,008 DEBG 'start-script' stdout output:
[info] iptables defined as follows...
--------------------
2017-04-27 16:27:11,010 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.1.0/24 -i eth0 -p tcp -m tcp --dport 58846 -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 192.168.1.0/24 -o eth0 -p tcp -m tcp --sport 58846 -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-04-27 16:27:11,010 DEBG 'start-script' stdout output:
--------------------
[info] Starting OpenVPN...
2017-04-27 16:27:11,016 DEBG 'start-script' stdout output:
[info] OpenVPN started
2017-04-27 16:27:11,008 DEBG 'start-script' stdout output:
[info] iptables defined as follows...
--------------------
2017-04-27 16:27:11,010 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.1.0/24 -i eth0 -p tcp -m tcp --dport 58846 -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 192.168.1.0/24 -o eth0 -p tcp -m tcp --sport 58846 -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-04-27 16:27:11,010 DEBG 'start-script' stdout output:
--------------------
[info] Starting OpenVPN...
2017-04-27 16:27:11,016 DEBG 'start-script' stdout output:
[info] OpenVPN started
2017-04-27 16:27:12,430 DEBG 'deluge-script' stdout output:
[info] Deluge not running
2017-04-27 16:27:12,431 DEBG 'deluge-script' stdout output:
[info] Deluge listening interface IP 0.0.0.0 and VPN provider IP 10.16.10.6 different, marking for reconfigure
2017-04-27 16:27:18,480 DEBG 'deluge-script' stdout output:
[info] Attempting to start Deluge...
2017-04-27 16:27:18,705 DEBG 'deluge-script' stdout output:
[info] Deluge listening interface currently defined as 10.7.10.6
[info] Deluge listening interface will be changed to 10.16.10.6
[info] Saving changes to Deluge config file /config/core.conf...
2017-04-27 16:27:18,480 DEBG 'deluge-script' stdout output:
[info] Attempting to start Deluge...
2017-04-27 16:27:18,705 DEBG 'deluge-script' stdout output:
[info] Deluge listening interface currently defined as 10.7.10.6
[info] Deluge listening interface will be changed to 10.16.10.6
[info] Saving changes to Deluge config file /config/core.conf...