Skip to content

Instantly share code, notes, and snippets.

View undso's full-sized avatar

Alexander Friedrichs undso

View GitHub Profile
@undso
undso / PrivateTorrent.md
Created September 18, 2016 14:30 — forked from sourcec0de/PrivateTorrent.md
Host a private torrent tracker, and seed a torrent on ubuntu 12.10

Install dep, and start tracker

sudo apt-get install bittornado ctorrent
bttrack --port 6969 --dfile ~/.bttrack/dstate --logfile ~/.bttrack/tracker.log --nat_check 0 --scrape_allowed full

Now, create a torrent file

ctorrent -t -u "YOUR_SERVER_IP:6969/announce" -s new_file_name.torrent file_or_folder_for_torrent