binhex / arch-delugevpn

Docker build script for Arch Linux base with Deluge, Privoxy and OpenVPN
GNU General Public License v3.0
696 stars 112 forks source link

Cannot see webUI from local netwerk #167

Open FunDeckHermit opened 4 years ago

FunDeckHermit commented 4 years ago

Hi,

I have checked the logs and double checked the VPN but I can't seem to figure out how to get a webUI visible. I think the VPN is up and I think the webUI is up. It's just not visible to me.

The LAN_NETWORK variable is my biggest guess. From the documentation it's not obvious what it does.

My docker-compose looks like this:

version: '2'
services:
  deluge:
    image: binhex/arch-delugevpn:latest
    container_name: deluge
    restart: always
    expose:
      - 8112
      - 8118
    ports:
      - "58846:58846"
      - "58946:58946"
    cap_add:
      - NET_ADMIN
    environment:
      - PUID=1000
      - PGID=1000
      - VPN_ENABLED=yes
      - VPN_USER=3NHGXP4Q
      - VPN_PASS=GH3aNzUN
      - VPN_PROV=custom
      - STRICT_PORT_FORWARD=yes
      - ENABLE_PRIVOXY=no
      - LAN_NETWORK=192.168.178.0/24
      - NAME_SERVERS=1.1.1.1,8.8.4.4
      - UMASK=000
      - DEBUG=true
      - DELUGE_DAEMON_LOG_LEVEL=error
      - DELUGE_WEB_LOG_LEVEL=info
    volumes:
      - ./config:/config
      - /mnt/king1/downloads:/data
      - /etc/localtime:/etc/localtime:ro

VPN and webUI are running. image My local IP is 192.168.178.24, the host's local IP is 192.168.178.60. I'm trying to reach 192.168.178.60:8118, it just shows me a blank page.

My IPTables look like this:

Chain INPUT (policy ACCEPT)
target     prot opt source               destination
ACCEPT     tcp  --  anywhere             anywhere             tcp dpt:8118

Chain FORWARD (policy DROP)
target     prot opt source               destination
DOCKER-USER  all  --  anywhere             anywhere
DOCKER-ISOLATION-STAGE-1  all  --  anywhere             anywhere
ACCEPT     all  --  anywhere             anywhere             ctstate RELATED,ESTABLISHED
DOCKER     all  --  anywhere             anywhere
ACCEPT     all  --  anywhere             anywhere
ACCEPT     all  --  anywhere             anywhere
ACCEPT     all  --  anywhere             anywhere             ctstate RELATED,ESTABLISHED
DOCKER     all  --  anywhere             anywhere
ACCEPT     all  --  anywhere             anywhere
ACCEPT     all  --  anywhere             anywhere

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

Chain DOCKER (2 references)
target     prot opt source               destination

Chain DOCKER-ISOLATION-STAGE-1 (1 references)
target     prot opt source               destination
DOCKER-ISOLATION-STAGE-2  all  --  anywhere             anywhere
DOCKER-ISOLATION-STAGE-2  all  --  anywhere             anywhere
RETURN     all  --  anywhere             anywhere

Chain DOCKER-ISOLATION-STAGE-2 (2 references)
target     prot opt source               destination
DROP       all  --  anywhere             anywhere
DROP       all  --  anywhere             anywhere
RETURN     all  --  anywhere             anywhere

Chain DOCKER-USER (1 references)
target     prot opt source               destination
RETURN     all  --  anywhere             anywhere

And my IP addresses are: image

binhex commented 4 years ago

I'm trying to reach 192.168.178.60:8118, it just shows me a blank page. a blank page or a 404 this site cannot be reached?, if its a blank page then i would suspect your browser is blocking, possibly adblocker or script blocking, try another browser, also try another device.

FunDeckHermit commented 4 years ago

Hello @binhex,

Thanks for your quick reply. Using other devices also gives me the same result. Chrome tells me when accessing 192.168.178.60:8112 -> ERR_CONNECTION_REFUSED From localhost it tells me -> ERR_CONNECTION_RESET

I'm also running other services (like Jacket) on the server which can be reached without problems. What else could it be?

FunDeckHermit commented 4 years ago

It looks a-lot like this: https://github.com/sgtsquiggs/docker-deluge-openvpn#access-the-webui

jefftr66 commented 4 years ago

Having the same issue - Web UI won't load. Have tried multiple things with no success. Logs are in pastbin.

https://pastebin.com/eLBZqxrd