User Tools

Site Tools


portainer:dockers:delugevpn

This is an old revision of the document!


DelugeVPN

Deluge is a full-featured ​BitTorrent client for Linux, OS X, Unix and Windows. It uses ​libtorrent in its backend and features multiple user-interfaces including: GTK+, web and console. It has been designed using the client server model with a daemon process that handles all the bittorrent activity. The Deluge daemon is able to run on headless machines with the user-interfaces being able to connect remotely from any platform. This Docker includes OpenVPN and WireGuard to ensure a secure and private connection to the Internet, including use of iptables to prevent IP leakage when the tunnel is down. It also includes Privoxy to allow unfiltered access to index sites.

Version

I used binhex's version

Docker Setup

  • publish a new network port
    • 8112 → 8112 TCP
    • 8128 → 8128 TCP
    • 58846 → 58846 TCP
    • 58946 → 58946 TCP
    • 58946 → 58946 UPD
  • volumes:
    • /data → /mnt/nvme/downloads/
    • /config → /mnt/nvme/appdata/binhex-delugevpn
  • network:
    • Type: bridge
    • Fixed IP address (optional): blank
  • Env:
    • Key 1 (VPN_ENABLED): yes
    • Key 2 (VPN_USER): *enterVPNusername*
    • Key 3 (VPN_PASS): *enterVPNpassword*
    • Key 4 (VPN_PROV): custom
    • Key 6 (STRICT_PORT_FORWARD): yes
    • Key 7 (ENABLE_PRIVOXY): no
    • Key 8 (LAN_NETWORK): 10.23.79.0/24
    • Key 9 (NAME_SERVERS): 209.222.18.222,84.200.69.80,37.235.1.174,1.1.1.1,209.222.18.218,37.235.1.177,84.200.70.40,1.0.0.1
    • Key 10 (DELUGE_DAEMON_LOG_LEVEL): info
    • Key 11 (DELUGE_WEB_LOG_LEVEL): info
    • Key 13 (DEBUG): false
    • Key 14 (UMASK): 000
    • Key 15 (PUID): 99
    • Key 16 (PGID): 100

App Settings

Downloads

  • Download to: /data/incomplete
  • Move completed to: /data/complete (checked)
  • Copy of .torrent files to: (unchecked)
  • nothing else checked

Network

  • Incoming Address: 172.21.36.60 (assume this was autofilled when unraid gave it an ip)
  • Incoming Port: Use Random Port: UNCHECKED, 6890
  • Outgoing Interface: tun0
  • Outgoing Ports: User Random Ports: CHECKED, From and To both 0 and greyed out.
  • Network Extras: All checked
  • Types of Service
    • Peer TOS Byte: 0x00

Encyrption

  • Incoming: Enabled
  • Outgoing: Enabled
  • Level: Either

Bandwidth

  • Maximum Connections: 200
  • Maximum Upload Slots: 4
  • Maximum Download Speed: -1
  • Maximum Upload Speed: -1
  • Maximum Half-Open Connections: 50
  • Maximum Connection Attempts per Second: 20
    • Ignore limits on local network: CHECKED
    • Rate limit IP overhead: UNCHECKED
  • Per Torrent Bandwidth Usage
    • Maximum Connections: -1
    • Maximum Upload Slots: -1
    • Maximum Download Speed: -1
    • Maximum Upload Speed: -1

Interface

  • Allow the use of multiple filters at once: CHECKED
  • Session Timeout: 3600
  • Port: 8112

Daemon

  • Daemon port: 58846
  • Allow Remote Connections: CHECKED

Plugins

  • Blocklist, Extractor, Label: CHECKED

Extractor

  • Extract to: /data/unzipped_torrents
portainer/dockers/delugevpn.1722192239.txt.gz · Last modified: by dirk