This project is based heavily on the fork of docker-transmission-openvpn. All VPN configurations are now moved to a separate repository.
This container contains OpenVPN and Deluge with a configuration where Deluge is running only when OpenVPN has an active tunnel. It bundles configuration files for many popular VPN providers to make the setup easier.
$ docker run --cap-add=NET_ADMIN -d \
--sysctl=net.ipv6.conf.all.disable_ipv6=1 \
-v /your/storage/path/to/downloads/:/download \
-v /your/storage/path/to/config/:/config \
-e OPENVPN_PROVIDER=PIA \
-e OPENVPN_CONFIG=France \
-e OPENVPN_USERNAME=user \
-e OPENVPN_PASSWORD=pass \
-e LOCAL_NETWORK=192.168.0.0/16 \
-p 8112:8112 \
ebrianne/docker-deluge-openvpn
version: '3.2'
services:
deluge-openvpn:
volumes:
- '/your/storage/path/to/downloads/:/download'
- '/your/storage/path/to/config/:/config'
environment:
- OPENVPN_PROVIDER=PIA
- OPENVPN_CONFIG=France
- OPENVPN_USERNAME=user
- OPENVPN_PASSWORD=pass
- LOCAL_NETWORK=192.168.0.0/16
cap_add:
- NET_ADMIN
sysctls:
- net.ipv6.conf.all.disable_ipv6=1
ports:
- '8112:8112'
image: ebrianne/docker-deluge-openvpn
The documentation for this image is hosted on GitHub pages:
https://ebrianne.github.io/docker-deluge-openvpn/
Access http://HOSTIP:PORT from a browser on the same network. Default password is deluge
.
If you want to access Deluge from a Local client other than the WEB UI, like Trieme for Android App:
Edit the file /your/storage/path/to/config/auth
to add a new line username:password:10
, save changes and restart container.
Credential | Default Value |
---|---|
Host |
HOST IP |
Port |
58846 |
Username |
username |
Password |
password |