-
Notifications
You must be signed in to change notification settings - Fork 114
Deluge not working if "Outgoing Interface" is set to interface name #441
Description
Hello!
First of all, thanks for this project, I started using it and while I am not proficient with Docker, I managed to set up a nice system on my Raspberry Pi 5.
I have a question that concerns the usage of Deluge in said Raspberry Pi. I have been trying for a few hours to get Deluge to start downloading with a VPN active (initially, NordVPN, then I switched to PIA trying both OpenVPN and WireGuard), and in no case there was a way to have a download starting. Without VPN the download speed was amazing, but with VPN, 0, not a single byte.
I tried to change different settings (Gemini helped) and in the end I found out that the issue was that the outgoing interface on Deluge is set to the interface name (e.g. wg0), by changing this to the of the outgoing interface (X.X.X.X), which is already set for the incoming interface, made things work out.
I am not sure this is a specific issue of the container running on raspberry, but here I see that this is specifically set to the VPN_DEVICE_TYPE (interface name?).
I was wondering:
- is this intentional, did I miss a step, or there is indeed something wrong on the raspberry?
- How can I have this IP set up automatically at startup? At the moment, I need to set it up manually.
- Am I missing something in terms of privacy by setting the outgoing interface to the IP of the interface?
This is how I launch the container:
docker run -d \
--name=delugevpn \
--restart=unless-stopped \
--sysctl="net.ipv4.conf.all.src_valid_mark=1" \
--privileged=true \
-p 8112:8112 \
-p 8118:8118 \
-p 9118:9118 \
-p 58846:58846 \
-p 58946:58946 \
-p 58946:58946/udp \
-v /mnt/usb/docker:/data \
-v /home/my_username/DockerVPN/config:/config \
-v /etc/localtime:/etc/localtime:ro \
-e VPN_ENABLED=yes \
-e VPN_USER=<username> \
-e VPN_PASS=<Password> \
-e VPN_PROV=pia \
-e VPN_CLIENT=wireguard \
-e ENABLE_STARTUP_SCRIPTS=no \
-e ENABLE_PRIVOXY=yes \
-e STRICT_PORT_FORWARD=yes \
-e USERSPACE_WIREGUARD=no \
-e ENABLE_SOCKS=yes \
-e SOCKS_USER=<socks_user> \
-e SOCKS_PASS=<socks_pass> \
-e LAN_NETWORK=192.168.1.0/24 \
-e NAME_SERVERS=1.1.1.1,1.0.0.1 \
-e DELUGE_DAEMON_LOG_LEVEL=info \
-e DELUGE_WEB_LOG_LEVEL=info \
-e DELUGE_ENABLE_WEBUI_PASSWORD=yes \
-e DEBUG=false \
-e UMASK=000 \
-e PUID=1000 \
-e PGID=1000 \
binhex/arch-delugevpn
Thanks in advance!