Transmission is a lightweight, free, open-source BitTorrent client. On a server, it runs as a background service without a screen and is controlled through a web interface in your browser: add torrents, pause them, limit speeds, and track progress. It also has a watch folder, where Transmission automatically starts new .torrent files. This lets your VPS download and seed around the clock while your own computer is off. In this guide, we’ll show you two ways to set it up: the easy way as a One-Click App, which gets Transmission running with HTTPS and password protection in just a few clicks, and a manual installation with Docker Compose. After that, you’ll learn how to manage torrents, transfer completed downloads to your computer, and understand the limitations.
With BitTorrent, you don’t just download files—you also distribute them to others. Only share content that you have the rights to or that may be freely redistributed, such as Linux distributions, open-source releases, works under a Creative Commons license, or your own files. Under our Terms and Conditions, you are responsible for all content on your server and must not use it for illegal purposes. Sharing copyrighted content without the rights holder’s permission is not allowed. Rights holders send complaints to us, and violations may result in your service being suspended in whole or in part.
A torrent client on a server, often called a seedbox, is useful if:
- you want to download and seed large files around the clock without having to leave your PC running for days.
- you want to reduce the load on your home internet connection, because uploads and downloads use the data center’s connection.
- you want to distribute your own large files, such as mod packs, project releases, or images that you have the rights to share.
- you want torrents to start automatically: just place a
.torrentfile in the watch folder, and Transmission takes care of the rest. - you’re looking for a lightweight client that runs well even on a small VPS.
A VPS is less suitable if you want to store very large amounts of data permanently. Storage space can run out quickly. Plan your storage based on the size of your downloads and regularly clean up completed files. For an overview of what a VPS can do as a seedbox, see Seedbox VPS.
The app catalog includes two torrent clients. Both download and seed reliably, but they focus on different things:
| Transmission | qBittorrent | |
|---|---|---|
| Interface | Simple, with few settings | Many settings; includes VueTorrent as a One-Click App |
| One-Click App credentials | Generated during installation and available in the App environment | Temporary password in the container logs |
| Watch folder | Set up and enabled in the One-Click App | Not preconfigured |
| RSS downloads | Not built in | Built in |
If you just want to download torrents through a browser or watch folder, Transmission is the simpler choice. If you need detailed rules, such as categories, RSS downloads, or many settings for each torrent, see the guide How to Set Up qBittorrent on a Linux Server.
The quickest way to get Transmission running is through your VPS’s One-Click Apps. With a domain, the app is accessible directly over HTTPS and is protected from the start with a generated username and password. You don’t need a reverse proxy or certificate.
- A Linux VPS (Debian or Ubuntu) with One-Click Apps set up. For instructions, see Setting Up One-Click Apps.
- Enough free storage for the files you want to download.
- To retrieve completed files: access via SSH or SFTP.
- Open your VPS in the ZapX dashboard and switch to the One-Click Apps tab.
- Find Transmission in the app catalog and click Install app.
- Use a custom subdomain or zap.cloud is already selected, with a random name. Leave the option enabled or enter your own name: you’ll use the domain to access the interface over HTTPS.
- You don’t need to fill in anything under App configuration. It only shows two Automatically generated values:
SERVICE_USER_ADMIN(username) andSERVICE_PASSWORD_ADMIN(password). Both are generated securely during installation. - Click Queue installation. After about a minute, Transmission will show as online on the app card.
You can find your credentials in the app settings (the gear icon on the app card), under the App environment tab and Automatically generated values:
SERVICE_USER_ADMINis the username.SERVICE_PASSWORD_ADMINis the password.
Use the eye icon to show a value and the icon next to it to copy it.
Then open the app’s Access link. Transmission uses simple HTTP authentication: your browser displays a small login window instead of a separate login page. Enter your username and password there. You’ll then be taken to the torrent overview, and the address will change to /transmission/web/.
The web interface and the endpoint at /transmission/rpc respond with “401 Unauthorized” without valid credentials. Don’t change the password in the settings.json file inside the container: according to the image documentation, the image expects credentials exclusively through environment variables. Otherwise, Transmission can no longer be stopped cleanly.
The One-Click App does not expose the torrent port 51413 externally. Downloads still work because Transmission initiates connections to other peers itself: in a test, a Debian installation image downloaded from more than 40 peers in a few seconds. However, other peers can’t connect to your server on their own. That’s why the settings under Network show “IPv4 port is Closed,” and completed torrents upload very little. If seeding is important to you, use the manual installation below, which opens the port.
The app creates three Docker volumes for /downloads, /watch, and /config. Transmission uses them as follows:
| Folder in container | Contents |
|---|---|
/downloads/incomplete | Torrents that are still downloading |
/downloads/complete | Completed downloads |
/watch | Watch folder: Transmission automatically starts any .torrent files placed here |
/config | Settings and your torrent list |
Update Transmission in the app settings (gear icon) under App update. Click Check for updates, then install a new version with Apply update. If the app is up to date, there isn’t a newer version in the app catalog yet.
Settings, the torrent list, downloads, and the watch folder are stored in Docker volumes and are preserved during updates. Also copy important completed files to your computer or another storage location—a volume is not a backup.
The rest of this guide covers the manual installation of Transmission with Docker Compose on your VPS. For example, use this method if you don’t use One-Click Apps on your server or want to open the torrent port for incoming connections. We’ll use the linuxserver.io image, which is also used by the One-Click App.
- A Linux VPS running Debian or Ubuntu, with SSH access. See First Access via SSH.
- Docker and Docker Compose. See Installing Docker. Check the installation with
docker --versionanddocker compose version. - For HTTPS: a domain or subdomain whose A record points to your VPS’s IP address (e.g.,
torrent.example.com).
Transmission itself uses very few resources, and CPU and memory are rarely bottlenecks. Storage and network are what matter:
| Resource | What to consider |
|---|---|
| Storage space | The combined size of all torrents stored on the server at the same time, plus some extra space |
| Network | Seeding generates ongoing uploads, which count toward your traffic quota |
| CPU and RAM | Usage increases with the number of active torrents and connections |
The web interface listens on port 9091. You don’t need to open this port if you use a reverse proxy as described below. For incoming connections from other peers, however, you need peer port 51413 for both TCP and UDP. With ufw, allow only what you need:
ufw allow OpenSSH
ufw allow 80/tcp
ufw allow 443/tcp
ufw allow 51413/tcp
ufw allow 51413/udp
ufw enable
Ports published by Docker with ports: are accessible externally even if ufw blocks them. Docker adds its own rules ahead of ufw rules. Therefore, bind the web interface to 127.0.0.1 as shown in the Compose file below. For more information about firewalls, see Managing the Firewall on Linux.
Create a directory for Transmission and switch to it:
mkdir -p /opt/transmission
cd /opt/transmission
Store the credentials in a .env file that only root can read. The following command generates a random password:
umask 077
printf 'TRANSMISSION_USER=admin\nTRANSMISSION_PASS=%s\n' "$(openssl rand -base64 24 | tr -d '/+=')" > .env
cat .env
Make a note of the displayed password. Then create the Compose file with nano docker-compose.yml. It’s based on the example in the official linuxserver.io documentation:
services:
transmission:
image: lscr.io/linuxserver/transmission:4.1.4
container_name: transmission
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Berlin
- USER=${TRANSMISSION_USER}
- PASS=${TRANSMISSION_PASS}
- PEERPORT=51413
volumes:
- ./config:/config
- ./downloads:/downloads
- ./watch:/watch
ports:
- 127.0.0.1:9091:9091
- 51413:51413
- 51413:51413/udp
restart: unless-stopped
Here’s what the entries mean:
image: Transmission 4.1.4 at a fixed version, as in the One-Click App. Using a fixed version lets you decide when to update.PUIDandPGID: Transmission creates files under this user and group ID. With1000, downloads belong to the system’s first regular user.TZ: The time zone for timestamps in the interface and logs.USERandPASS: Enable login to the web interface. The values come from the.envfile in the same directory. Without these two lines, the interface is unprotected.PEERPORT: The port for torrent connections. It must match the two51413entries underports:../config:/config: Settings and your torrent list are stored in theconfigdirectory next to the Compose file../downloads:/downloads: Downloads go to/opt/transmission/downloads, with in-progress downloads in theincompletesubfolder and completed ones incomplete../watch:/watch: The watch folder. If you place a.torrentfile here, Transmission automatically starts the torrent.127.0.0.1:9091:9091: The web interface is only accessible from the server itself. External access goes through the reverse proxy.
Start the container:
docker compose up -d
Check whether it’s running with docker compose ps, and view the logs with docker compose logs -f.
Because the web interface only listens on 127.0.0.1, you’ll access it through an SSH tunnel the first time. Run this command on your own computer:
ssh -L 9091:localhost:9091 root@SERVER_IP
Replace SERVER_IP with your VPS’s IP address, then open http://localhost:9091 in your browser. The browser will ask for your username and password: use the values from the .env file. To check whether the peer port is accessible externally, open Edit preferences from the menu (three lines in the top-right corner), then select the Network tab. If the port is open, it will show “IPv4 port is Open.”
To access Transmission without a tunnel, put a reverse proxy with a valid certificate in front of it. For the basics, see Setting Up a Reverse Proxy with nginx and Creating an SSL Certificate (Let's Encrypt). An nginx server block looks like this:
server {
listen 80;
server_name torrent.example.com;
client_max_body_size 50M;
location / {
proxy_pass http://127.0.0.1:9091;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
}
client_max_body_size allows you to upload larger .torrent files through the interface. Then obtain the certificate with certbot --nginx -d torrent.example.com. Certbot adds HTTPS and HTTP redirection to the block. Transmission authentication continues to work unchanged through the proxy.
The image supports two optional variables: WHITELIST allows access only from specific IP addresses, and HOST_WHITELIST allows access only through specific domain names. If they’re left empty, both checks are disabled. If you set HOST_WHITELIST, enter your domain there, e.g., torrent.example.com; otherwise, Transmission will reject requests through the proxy.
For more tips on securing your server, see Linux Security Tips.
The most important folder to back up is config, which contains your settings and torrent list. Stop Transmission first so the files are in a consistent state:
cd /opt/transmission
docker compose stop
tar -czf transmission-config-$(date +%F).tar.gz config
docker compose start
Also back up downloads in the downloads folder if you aren’t already copying them to your computer. If you want to change settings directly in config/settings.json that aren’t available in the interface, stop the container first as well; otherwise, Transmission will overwrite your changes when it shuts down.
Back up the config folder first and read the release notes for the new version. Then enter the new version number in docker-compose.yml and restart Transmission:
cd /opt/transmission
docker compose pull
docker compose up -d
Remove old images with docker image prune. Your torrents and settings will be preserved because they’re stored in the config folder.
After setup, add torrents through the interface or the watch folder. An official torrent for a Linux distribution is a good way to try it out, such as the Debian installation image from debian.org.
Click Open in the top-left corner. In the dialog that appears, select a .torrent file from your computer, or paste a magnet link or the address of a .torrent file. You can see progress directly in the list. Inspector shows details about peers, files, and trackers. Use Start and Stop to resume or pause selected torrents.
Instead of adding each torrent individually through the interface, you can simply place .torrent files in the watch folder, for example, using SFTP. Transmission continuously checks the folder, automatically starts new torrents, and then renames each file to <name>.torrent.added. This makes it easy to see which files have already been picked up.
- Manual installation: The watch folder is
/opt/transmission/watch. - One-Click App: The watch folder is in the Docker volume whose name ends in
transmission-watch(find the path as described in the next section).
The easiest way to retrieve completed files is via SFTP, using a program such as FileZilla or WinSCP. For instructions on connecting, see Connect via SFTP.
- Manual installation: Completed files are in
/opt/transmission/downloads/complete. - One-Click App: Files are in the
completesubfolder of the Docker volume whose name ends intransmission-downloads. Use these two commands to find the exact path on the server:
docker volume ls | grep transmission-downloads
docker volume inspect -f '{{ .Mountpoint }}' VOLUME_NAME
Replace VOLUME_NAME with the name from the first command. Connect via SFTP as the root user and open the path shown, which starts with /var/lib/docker/volumes/.
After downloading a file, remove the torrent by right-clicking it in the list. You can choose whether to remove only the entry or delete the downloaded data as well. This keeps enough storage available for new downloads.
Open Edit preferences from the menu in the top-right corner. In the Speed tab, set the maximum download and upload speeds for Transmission. Under Alternative Speed Limits, you can set a second, lower limit and switch to it using the turtle icon in the toolbar, or schedule it to activate automatically at set times. In the Torrents tab, use Stop seeding at ratio to set the upload-to-download ratio at which a completed torrent stops seeding. This helps you keep traffic and server load under control.
To connect remote-control apps that support the Transmission interface, use your domain, port 443 (HTTPS), the path /transmission/rpc, and the same credentials as in the web interface.
- Storage space: Plan for the full size of each torrent for as long as its files remain on the server. If you run out of storage, increase it in the Manage plan tab of your VPS.
- Traffic: Downloads and uploads count toward your VPS’s traffic quota. For what happens if you exceed it, see Traffic Quota, Throttling, and Traffic Packages.
- Sustained load: Under our Terms and Conditions, a service must not use so much network capacity on a sustained basis that it affects other customers or the platform. If you have many active torrents, set reasonable speed and connection limits.
- No incoming connections with the One-Click App: The peer port isn’t accessible externally; see above.
- No media playback: Transmission only downloads files. To stream your own videos and music, use a media server such as Jellyfin.
You’ve set up Transmission on your VPS, found your credentials, and learned where downloads and the watch folder are located and how to transfer completed files to your computer. Your server can now download and seed around the clock without putting a load on your PC or home internet connection. Only use it for content you’re allowed to share.
Prefer not to deal with Docker manually? Use the easy One-Click App option described above under “The easy way: Transmission as a One-Click App.”
