qdm12 / gluetun

VPN client in a thin Docker container for multiple VPN providers, written in Go, and using OpenVPN or Wireguard, DNS over TLS, with a few proxy servers built-in.
https://hub.docker.com/r/qmcgaw/gluetun
MIT License
8.04k stars 372 forks source link

Help: Routing Deluge through GluetunVPN #957

Closed Aranethon closed 2 years ago

Aranethon commented 2 years ago

I've looked all over and tried a number of solutions, but unfortunately I'm still having issues getting Deluge to work while the container is routed through Gluetun.

I'm using Unraid. My VPN is Surfshark, using OpenVPN. I connect my Deluge container to my Gluetun container by adding Deluge's ports to Gluetun then setting up Deluge's network to none, and its extra parameters to --net=container:GluetunVPN. Doing this I am able to access the WebUI, and the VPN IP is correct, but no seeds will connect. The status returns Error: Host not found (authoritative)

I've also attempted to add the ports to FIREWALL_INPUT_PORTS: and FIREWALL_VPN_INPUT_PORTS: both independently and together with the same results. Lastly I turned off the Firewall completely, and the problem still remained.

What else can I do to try and fix this issue?

qdm12 commented 2 years ago

Hello there, maybe setting the Deluge network to none is the problem? I'm not super familiar with the Unraid setting though. You just have to publish the port of the web ui on gluetun to access it, there is no need to fiddle with FIREWALL_INPUT_PORTS or FIREWALL_VPN_INPUT_PORTS really.

If that doesn't work, isn't there a way to use docker-compose.yml files in Unraid?