Sign inSign up

doctorjei/deluge-openvpn

By doctorjei

•Updated over 5 years ago

OpenVPN and Deluge with WebUI; based on ebrianne/docker-deluge-openvpn (GitHub)

Image
0

287

doctorjei/deluge-openvpn repository overview

⁠OpenVPN and Deluge with WebUI

Build/Push (master) Docker Pulls

⁠Acknowledgments

This project is based heavily on the fork of docker-transmission-openvpn⁠.

⁠Quick Start

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 \
              -v /your/storage/path/to/downloads/:/downloads \
              -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 \
              --log-driver json-file \
              --log-opt max-size=10m \
              -p 8112:8112 \
              -p 58846:58846 \
              -p 58946:58946 \
              ebrianne/docker-deluge-openvpn

⁠Docker Compose

version: '3.2'
services:
    deluge-openvpn:
        volumes:
            - '/your/storage/path/to/downloads/:/downloads'
            - '/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=0
        logging:
            driver: json-file
            options:
                max-size: 10m
        ports:
            - '8112:8112'
            - '58846:58846'
            - '58946:58946'
        image: ebrianne/docker-deluge-openvpn

⁠Documentation

The full documentation is available at https://haugene.github.io/docker-transmission-openvpn/⁠.

⁠Environment variables

VariableValue
OPENVPN_USERNAMENone
OPENVPN_PASSWORDNone
OPENVPN_PROVIDERNone
CREATE_TUN_DEVICEtrue
ENABLE_UFWfalse
UFW_EXTRA_PORTSNone
UFW_ALLOW_GW_NETfalse
PUIDNone
PGIDNone
DROP_DEFAULT_ROUTENone
HEALTH_CHECK_HOSTgoogle.com
LANGen_US.UTF-8
LANGUAGEen_US.UTF-8
TERMxterm
LOCAL_NETWORKNone

⁠Access the WEBUI

Access http://HOSTIP:PORT⁠ from a browser on the same network. Default password is deluge.

⁠Local Client Access

If you want to access Deluge from a Local client other than the WEBUI, 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.

CredentialDefault Value
HostHOSTIP
Port58846
Usernameusername
Passwordpassword

Tag summary

Content type

Image

Digest

Size

87.9 MB

Last updated

over 5 years ago

docker pull doctorjei/deluge-openvpn