Here is a straightforward process to turn your Raspberry Pi into a high performance Bit-torrent server that can be used to download or upload Bit-torrent. Using Raspberry Pi as a BitTorrent can be good for users who are using more than one OS or hardware or prefer to download their stuff in the background while doing any other work. It can also be useful if you want to access all your BitTorrent in one place without changing hardware.

We would be using Transmission daemon as our BitTorrent client as it is very lightweight and comes with a nice Web UI. We will be reverse proxy Transmission daemon using Nginx as it lets give performance benefits. This tutorial is for Debian based Linux distributions for Raspberry Pi like Raspbian or if you prefer minimal build, I recommend the Raspbian-UA-Netinst. Let’s get started.


If you are root user, you don’t require to have sudo before every command.

Updating local package database.

sudo apt update

Installing Transmission daemon.

sudo apt-get install transmission-daemonCode language: JavaScript (javascript)

Installing Nginx.

sudo apt-get install nginx-fullCode language: JavaScript (javascript)

Stopping Transmission Daemon to write changes in settings.json file.

service transmission-daemon stop

Editing settings.json that is in /etc/transmission-daemon/settings.json.

nano /etc/transmission-daemon/settings.json

Your configuration file should look something like this.

Code language: JSON / JSON with Comments (json)

You can change the configuration as you prefer to suite your needs. It is a simple `JSON` document that can be edited easily and can do many performance differences. I would recommend that you should change the `rpc-username`, `rpc-password` string and disable `rpc-whitelist-enabled` If you wan’t all `ip` address to access the Transmission Daemon. The most important thing to change is `rpc-bind-address`. change it

"rpc-bind-address": ""Code language: CSS (css)


"rpc-bind-address": ""Code language: CSS (css)

This will let Transmission daemon run on instead of making it run on the external ip address and makes slow as it has needs to first know the IP and then run it. Next is reverse proxy it is using NGINX. For that we can edit the default located in /etc/nginx/site-enabled/default Replace the file content with this.

server {
	listen 80;
	location / {
		proxy_set_header Host $host;
		proxy_set_header X-Real-IP $remote_addr;
Code language: Nginx (nginx)
service nginx start 

Let’s start transmission daemon.

service transmission-daemon start

Now you have Transmission daemon running on port 80 of your Raspberry Pi address. Visit your Raspberry Pi IP address and you should have the Transmission Web UI waiting for you to add a new BitTorrent. The amount of BitTorrent you download also depends on the SD card size. It is recommended that you use an external HDD to serve storage purpose.

Thanks for reading. If you have any question, feel free to leave a comment below.

I compiled a list of software and services that I use to improve my workflow, here is the link to the list.

Darryl Dias

I’m Darryl. I’m a 3D Artist, Programmer and Linux enthusiast. On this site I share my insights, tips and tricks, tutorials, methods and best practices.