Skip to content

Instantly share code, notes, and snippets.

@joselee
Forked from sourcec0de/PrivateTorrent.md
Last active March 28, 2016 21:40
Show Gist options
  • Select an option

  • Save joselee/cc39c8be98ee5995760f to your computer and use it in GitHub Desktop.

Select an option

Save joselee/cc39c8be98ee5995760f to your computer and use it in GitHub Desktop.
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment