Open spoke123 opened 4 years ago
I have the same issue with docker, I can't run the project correctly because of it :/
I got it to run with this config in docker-compose, but clearly it makes the VPN useless
vpn:
container_name: vpn
image: dperson/openvpn-client:latest
cap_add:
- net_admin # required to modify network interfaces
restart: unless-stopped
volumes:
- /dev/net:/dev/net:z # tun device
- ${ROOT}/config/vpn:/vpn # OpenVPN configuration
security_opt:
- label:disable
deluge:
container_name: deluge
image: linuxserver/deluge:latest
restart: unless-stopped
environment:
- PUID=${PUID} # default user id, defined in .env
- PGID=${PGID} # default group id, defined in .env
- TZ=${TZ} # timezone, defined in .env
volumes:
- ${ROOT}/downloads:/downloads # downloads folder
- ${ROOT}/config/deluge:/config # config files
ports:
- 8112:8112 # port for deluge web UI to be reachable from local network
First of all I'd like to say thanks for bringing this together and the work you've put in so far documenting it! Unfortunately I haven't been able to get things working just yet though...
I am able to load deluge html with 'curl localhost:8112' in the guest shell using vagrant ssh but 'curl -v 192.168.7.7:8112' from the host machine times out.
I tried using 'config.vm.network :forwarded_port, guest: 8112, host: 8112' in the Vagrantfile instead of the 192.168.7.7 private network, which "connects" with 'curl -v localhost:8112' but resets without loading any html.
The only way I was able to access the deluge webui on my host was by using the above portforwarding, commenting out the entire vpn: section of the docker-compose.yml and changing deluge's network from 'service:vpn' to 'host' - then localhost:8112 loads perfectly. Does this imply it is a VPN firewall issue?
Are other people able to set this up successfully? I'm very new to this so might be making a simple mistake but have spent a few days researching and trying to debug butseem to have run out of options. Any advice would be greatly appreciated!
I'm using Ubuntu 18:04.4 LTS with VirtualBox Version: 6.1 and Vagrant 2.2.7 on MacOS Catalina 10.15.3