Skip to content

Instantly share code, notes, and snippets.

@joselee
joselee / PrivateTorrent.md
Last active March 28, 2016 21:40 — forked from sourcec0de/PrivateTorrent.md
Host your own torrent tracker in ubuntu

Install dependencies

  • sudo apt-get install bittornado ctorrent

Start the bittornado tracker

  • mkdir ~/.bttrack
  • bttrack --port 6969 --dfile ~/.bttrack/dstate --nat_check 0 --scrape_allowed full

Create and seed the torrent file with ctorrent

  • ctorrent -t -u "http://SERVER_IP:6969/announce" -s filename.torrent fileOrFolder
  • ctorrent filename.torrent