- Description
Deluge is a torrent backend built on libtorrent. It has a GTK/Web GUI frontend similar to utorrent. Deluge is multi-platform, but probably works best on linux...but then again what doesn't? Here's a few tips/tricks when using Deluge on Ubuntu
- PPA
Add the PPA to your repo list as it will give you the best up-to-date version of the client.
Instructions: https://launchpad.net/~deluge-team/+archive/ppa
Install what the server will need: sudo apt-get install deluged deluge-web
- SSL for the Web UI
http://dev.deluge-torrent.org/wiki/Faq#HowdoIusehttps
- Startup Script
This is a startup script that I found on Deluge's forums and modified to work with Ubuntu. This script is useful for headless servers as it will start the backend and also the web-UI.
http://pastebin.com/GB9dK5Sh
- Remote GTK UI With Putty
You can install the Deluge client on a windows machine and use ssh tunneling to connect to the backend on the server. This way the torrent client will act like it's running on your machine, but will continue to run even when you close the windows client.
Configure the daemon using the WebUI:
Log into the Web UI, then go to preferences, and Daemon. Note the Daemon port, and then check Allow Remote Connections.
On the server:
- Add a new user to the auth file:
echo "username:password:level" >> ~/.config/deluge/auth
eg. "draggy:password:10" 10 is admin, check the Deluge FAQ for more user levels
- Restart the daemon using the init.d script
sudo /etc/init.d/deluge-daemon restart
On the windows Machine:
Note: If you're only going to run the remote GTK UI on a local machine, you don't need to tunnel with putty. The following section is only if you're at a remote location and want to tunnel to your deluge daemon on a remote server. I assume those who are wanting to do this know enough about networks to know the difference and why we tunnel with putty to remote servers.
- Setup Putty to connect to the remote server
enter the
[email protected]
navigate to SSH/Tunnels
add Source Port: 58846
Destination: 127.0.0.2:58846
(or whatever port the daemon is running off of)
Go back to sessions and save it, then run the saved session.
- Install Deluge
- Open Deluge, go to preferences, Interface, and uncheck "Classic Mode"
- Restart Deluge
- The connection manager should popup, if it doesn't, click on the button at the top of the UI
- Remove the default local connection, and add a new one
User/Pass: whatever user/pass you set in the auth
Host: 127.0.0.2
Port: 58846
You can set it to auto connect/hide the window on startup, or whatever options you want.
- Hit connect, and with some luck your GTK UI will connect to the daemon and show you all of your settings and torrents.