hi so I got this running on a custom br0 interface with static IP.
however I cannot access the UI on port 8112 anywhere on my network, only works from container itself.
i noticed the iptables rules allows from 192.168.1.0/24 as source and destination and also allow 8112 as input from eth0 so not sure why I cant access from anywhere.
edit: I did notice the listen address in core.conf is the tun0 address and not eth0.
this could be the issue?
2018-07-15 00:21:48.419484 [info] Starting Supervisor...
2018-07-15 00:21:48,835 CRIT Set uid to user 0
2018-07-15 00:21:48,835 INFO Included extra file "/etc/supervisor/conf.d/delugevpn.conf" during parsing
2018-07-15 00:21:48,839 INFO supervisord started with pid 6
2018-07-15 00:21:49,842 INFO spawned: 'start-script' with pid 98
2018-07-15 00:21:49,846 INFO spawned: 'flexget' with pid 99
2018-07-15 00:21:49,848 INFO spawned: 'deluge-script' with pid 100
2018-07-15 00:21:49,851 INFO spawned: 'deluge-web-script' with pid 101
2018-07-15 00:21:49,855 INFO spawned: 'privoxy-script' with pid 102
2018-07-15 00:21:49,856 DEBG 'start-script' stdout output:
[info] VPN is enabled, beginning configuration of VPN
2018-07-15 00:21:49,856 INFO success: start-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2018-07-15 00:21:49,856 INFO success: flexget entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2018-07-15 00:21:49,856 INFO success: deluge-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2018-07-15 00:21:49,856 INFO success: deluge-web-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2018-07-15 00:21:49,856 INFO success: privoxy-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2018-07-15 00:21:49,860 DEBG 'deluge-script' stdout output:
[info] Deluge config file already exists, skipping copy
2018-07-15 00:21:49,862 DEBG 'flexget' stdout output:
[info] Starting Flexget daemon...
2018-07-15 00:21:49,863 DEBG 'deluge-script' stdout output:
[info] VPN is enabled, checking VPN tunnel local ip is valid
2018-07-15 00:21:49,863 DEBG 'flexget' stdout output:
Creating config.yml from template.
2018-07-15 00:21:49,869 DEBG 'privoxy-script' stdout output:
[info] Privoxy set to disabled
2018-07-15 00:21:49,870 DEBG fd 31 closed, stopped monitoring <POutputDispatcher at 22965530039792 for <Subprocess at 22965530811208 with name privoxy-script in state RUNNING> (stderr)>
2018-07-15 00:21:49,870 DEBG fd 27 closed, stopped monitoring <POutputDispatcher at 22965530040944 for <Subprocess at 22965530811208 with name privoxy-script in state RUNNING> (stdout)>
2018-07-15 00:21:49,870 INFO exited: privoxy-script (exit status 0; expected)
2018-07-15 00:21:49,870 DEBG received SIGCLD indicating a child quit
2018-07-15 00:21:49,880 DEBG 'flexget' stderr output:
cp: cannot stat '/config.yml': No such file or directory
2018-07-15 00:21:49,881 DEBG 'flexget' stderr output:
chown: cannot access '/home/nobody/.flexget/config.yml': No such file or directory
2018-07-15 00:21:49,881 DEBG 'flexget' stderr output:
chmod: cannot access '/home/nobody/.flexget/config.yml': No such file or directory
2018-07-15 00:21:49,881 DEBG 'flexget' stdout output:
Using userdefined Flexget-webui password of password
2018-07-15 00:21:49,887 DEBG 'start-script' stdout output:
[info] VPN config file (ovpn extension) is located at /config/openvpn/AirVPN_Sweden_UDP-443.ovpn
2018-07-15 00:21:49,898 DEBG 'start-script' stderr output:
dos2unix: converting file /config/openvpn/AirVPN_Sweden_UDP-443.ovpn to Unix format...
2018-07-15 00:21:49,937 DEBG 'start-script' stdout output:
[info] Default route for container is 192.168.1.1
2018-07-15 00:21:49,940 DEBG 'start-script' stdout output:
[info] Adding 8.8.8.8 to /etc/resolv.conf
2018-07-15 00:21:49,943 DEBG 'start-script' stdout output:
[info] Adding 37.235.1.174 to /etc/resolv.conf
2018-07-15 00:21:49,946 DEBG 'start-script' stdout output:
[info] Adding 8.8.4.4 to /etc/resolv.conf
2018-07-15 00:21:49,949 DEBG 'start-script' stdout output:
[info] Adding 37.235.1.177 to /etc/resolv.conf
2018-07-15 00:21:49,957 DEBG 'start-script' stdout output:
[info] Adding 192.168.1.0/24 as route via docker eth0
2018-07-15 00:21:49,958 DEBG 'start-script' stderr output:
RTNETLINK answers: File exists
2018-07-15 00:21:49,958 DEBG 'start-script' stdout output:
[info] ip route defined as follows...
--------------------
2018-07-15 00:21:49,959 DEBG 'start-script' stdout output:
default via 192.168.1.1 dev eth0
2018-07-15 00:21:49,959 DEBG 'start-script' stdout output:
192.168.1.0/24 dev eth0 proto kernel scope link src 192.168.1.75
2018-07-15 00:21:49,959 DEBG 'start-script' stdout output:
--------------------
2018-07-15 00:21:49,979 DEBG 'start-script' stdout output:
[info] iptable_mangle support detected, adding fwmark for tables
2018-07-15 00:21:50,020 DEBG 'start-script' stdout output:
[info] Docker network defined as 192.168.1.0/24
2018-07-15 00:21:50,097 DEBG 'start-script' stdout output:
[info] iptables defined as follows...
--------------------
2018-07-15 00:21:50,100 DEBG 'start-script' stdout output:
-P INPUT DROP
-P FORWARD ACCEPT
-P OUTPUT DROP
-A INPUT -i tun0 -j ACCEPT
-A INPUT -s 192.168.1.0/24 -d 192.168.1.0/24 -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 -i eth0 -p tcp -m tcp --dport 3539 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --sport 3539 -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 192.168.1.0/24 -d 192.168.1.0/24 -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 -o eth0 -p tcp -m tcp --dport 3539 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --sport 3539 -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
2018-07-15 00:21:50,101 DEBG 'start-script' stdout output:
--------------------
[info] Starting OpenVPN...
2018-07-15 00:21:50,159 DEBG 'start-script' stdout output:
[info] OpenVPN started
2018-07-15 00:21:50,660 DEBG 'flexget' stdout output:
2018-07-15 00:21 CRITICAL manager Failed to find configuration file config.yml
2018-07-15 00:21 INFO manager Tried to read from: /, /home/nobody/.flexget, /home/nobody/.config/flexget
2018-07-15 00:21:50,660 DEBG 'flexget' stderr output:
Could not instantiate manager: No configuration file found.
2018-07-15 00:21:51,255 DEBG 'flexget' stderr output:
Could not instantiate manager: Config `/home/nobody/.flexget/config.yml` does not appear to be a file.
2018-07-15 00:21:51,292 DEBG fd 11 closed, stopped monitoring <POutputDispatcher at 22965530004152 for <Subprocess at 22965530811856 with name flexget in state RUNNING> (stdout)>
2018-07-15 00:21:51,292 DEBG fd 16 closed, stopped monitoring <POutputDispatcher at 22965530845912 for <Subprocess at 22965530811856 with name flexget in state RUNNING> (stderr)>
2018-07-15 00:21:51,292 INFO exited: flexget (exit status 1; not expected)
2018-07-15 00:21:51,292 DEBG received SIGCLD indicating a child quit
2018-07-15 00:21:51,808 DEBG 'deluge-script' stdout output:
[info] Deluge not running
[info] Deluge listening interface IP 0.0.0.0 and VPN provider IP 10.x.xx.xx different, marking for reconfigure
[info] Attempting to start Deluge...
2018-07-15 00:21:52,124 DEBG 'deluge-script' stdout output:
[info] Deluge listening interface currently defined as 10.x.x.x
[info] Deluge listening interface will be changed to 10.x.x.x
[info] Saving changes to Deluge config file /config/core.conf...
2018-07-15 00:21:52,379 DEBG 'deluge-script' stdout output:
[info] Deluge started
2018-07-15 00:21:52,677 DEBG 'deluge-web-script' stdout output:
[info] Starting Deluge webui...