Skip to content

Learn

Create and share a private torrent

Disk images are far too big to upload to a website. Instead you share yours over BitTorrent: you make a small .torrent file, upload that, and leave your computer seeding while the archive downloads the image from you.

What is a private torrent?

BitTorrent splits a file into pieces and lets computers exchange those pieces directly with each other. A .torrent file is a small description of the data: its name, size, a checksum for each piece, and the address of a tracker, the server that introduces computers that have the file (seeders) to computers that want it.

Normal torrents can also find peers through public networks (DHT, peer exchange and local discovery). A private torrent switches all of those off: your client will only talk to the tracker written in the torrent. DriveArchive uses private torrents because:

  • Access control. Only people the archive has given access can find and download a drive, which matters for images that are restricted or still under review.
  • Accountability. The tracker knows who is seeding and downloading, so it can track download credit and stop misuse.
  • No size limits. Images of hundreds of gigabytes travel directly between computers; nothing needs to be uploaded to the website.

Your tracker URL

Every account has a personal tracker URL (also called an announce URL) containing a secret passkey. You'll find it in the contribute form and on Dashboard → Download credit. It looks like https://tracker.drivearchive.org/announce?passkey=….

Keep it secret. Anyone with your passkey can act as you on the tracker. Don't post it, screenshot it or share torrents you've made with it outside DriveArchive. If you think it has leaked, reset it on your Download credit page and update the tracker URL in your client.

Option 1: qBittorrent (Windows, macOS, Linux)

qBittorrent is free, open source and has a built-in torrent creator.

  1. Open Tools → Torrent Creator.
  2. Click Select file and choose your image (for example drive.img). Choose a single file, not a folder.
  3. Set Piece size (see piece size below), or leave it on Auto.
  4. Tick Private torrent. Also tick Start seeding immediately.
  5. Paste your personal tracker URL into Tracker URLs. Leave Web seed URLs empty.
  6. Click Create Torrent and save the .torrent file. qBittorrent hashes the whole image first, which can take a while for a big drive.

The torrent now appears in your list as Seeding.

Option 2: Transmission (macOS, Linux)

  1. Choose File → Create Torrent File… and select your image.
  2. Add your personal tracker URL under Trackers.
  3. Tick Private, and tick Open when created so it starts seeding.
  4. Click Create. When Transmission asks where the data is, point it at the folder containing the image; it will check it and start seeding.

Option 3: mktorrent (command line)

mktorrent is a small command-line tool, available through most Linux package managers and Homebrew (brew install mktorrent).

mktorrent -p -l 24 -a '<your tracker URL>' drive.img
  • -p makes the torrent private.
  • -l 24 sets the piece size to 224 bytes, i.e. 16 MiB.
  • -a is the tracker (announce) URL. Keep the quotes: the URL contains characters your shell would otherwise interpret.

This writes drive.img.torrent. Open it in your BitTorrent client, point it at the folder holding drive.img, and let it verify and start seeding.

Piece size and other rules

  • Private: always tick the private option. The archive rejects public torrents.
  • One file only: the raw image itself. No folders, no photos or notes alongside it (those go in the form), and don't zip or compress the image.
  • Piece size: bigger images need bigger pieces, otherwise the .torrent file gets large. Roughly: up to 4 GB, 1–2 MiB (-l 20 or 21); up to 100 GB, 4–8 MiB (-l 22 or 23); above that, 16 MiB (-l 24). "Auto" in your client is usually fine.
  • Don't touch the image once you've made the torrent. Moving, renaming or mounting it can stop seeding or change the data.

Submitting

In the contribute form, describe the drive, then on the torrent step upload the .torrent file and paste the image's SHA-256 (see the Windows or macOS guide). You can submit anonymously if you'd rather your name not appear on the drive. If the drive may contain personal data, choose private.

Keep seeding

After you submit, the archive's seedbox joins the torrent and downloads the image from you. That can take hours or days depending on your upload speed, so leave your computer on with the client running. Your submission on the dashboard shows progress.

  • Keep seeding at least until your submission shows that the archive has a complete copy.
  • Once it has, the archive verifies the SHA-256, inspects the image, and a reviewer looks at it.
  • When the drive is published you earn download credit equal to its size. Seeding for longer helps others download faster.

How downloading works for others

Everyone starts with 50 GB of download credit, and earns more for each published contribution. When you have access to a drive, its page offers a personal .torrent file (or magnet link) containing your own tracker URL. Open it in your client and it downloads from the archive's seedbox and any other seeders. The drive's size is deducted from your credit. After downloading, check the SHA-256 against the one on the drive page, and please keep seeding for a while.

Port forwarding basics

Torrents work best when other computers can connect to you. Behind a home router that sometimes needs a little setup:

  • Your client listens on a port (shown in its settings, e.g. qBittorrent: Tools → Options → Connection).
  • Enable UPnP / NAT-PMP in the client; many routers then open the port automatically.
  • If that doesn't work, add a port-forwarding rule in your router for that port (TCP and UDP) to your computer's local IP address.
  • Allow the client through your firewall when asked.
  • Even without an open port, transfers usually still work because the seedbox can accept incoming connections; they may just be slower.