Deluge on Docker - use Synology VPN
Posted: Tue Aug 17, 2021 9:16 am
Hi,
I have Deluge running in Docker on my Synology NAS. I can log into Deluge no issues, I can also successfully connect Sonarr to Deluge. However I want to run my Delug downloads through a VPN. I have configured Synology VPN client to connect successfully through IPVanish, However my Deluge Docker container is still routing through Ip address not the VPN IP address. ( as displayed in the status bar of Deluge).
Each of my docker containers has a separate Ip on my LAN, this was the only way to get Sonarr to connect to Deluge (same issue with Jackett). So don't want to change this so not sure if there is something I can do in the dockercompose to route through the default gateway of the synology, when the VPN is active
thanks in advance
Docker Compose is
I have Deluge running in Docker on my Synology NAS. I can log into Deluge no issues, I can also successfully connect Sonarr to Deluge. However I want to run my Delug downloads through a VPN. I have configured Synology VPN client to connect successfully through IPVanish, However my Deluge Docker container is still routing through Ip address not the VPN IP address. ( as displayed in the status bar of Deluge).
Each of my docker containers has a separate Ip on my LAN, this was the only way to get Sonarr to connect to Deluge (same issue with Jackett). So don't want to change this so not sure if there is something I can do in the dockercompose to route through the default gateway of the synology, when the VPN is active
thanks in advance
Docker Compose is
Code: Select all
deluge:
image: ghcr.io/linuxserver/deluge
container_name: deluge
restart: unless-stopped
ports:
- 8112:8112
volumes:
- /etc/localtime:/etc/localtime:ro
- /volume1/docker/deluge/config:/config:rw
- /volume1/data/downloads:/data/downloads:rw
environment:
- PUID=1026
- PGID=101
- UMASK=002
networks:
HAHome:
ipv4_address: 192.168.0.115
networks:
HAHome:
driver: macvlan
driver_opts:
parent: ovs_bond0
ipam:
config:
- subnet: 192.168.0.0/24
gateway: 192.168.0.1
ip_range: 192.168.0.1/24