Skip to content

Commit 241b8ce

Browse files
authored
Added information for black- and whitelisting
1 parent e5b1433 commit 241b8ce

File tree

1 file changed

+28
-3
lines changed

1 file changed

+28
-3
lines changed

README.md

Lines changed: 28 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,48 @@
66

77
With this repo you can easily run your own instance of the opentracker for bitorrent.
88

9-
## How to use it
9+
## How to run an _open_ opentracker
1010
If you want to run a complety open tracker, just pull the docker image and spin up a container:
1111

1212
`docker run -d --name opentracker -p 6969:6969/udp -p 6969:6969 lednerb/opentracker-docker`
1313

1414
This will bind the port `6969` to the docker container (UDP and TCP) and you're good to go.
1515

1616

17-
If you want to config your opentracker instance, just download or pull the github repository and edit the `opentracker.conf` file.
17+
## How to run a _customized_ opentracker instance
18+
19+
If you want to config your opentracker instance, just download or `git clone` the [github repository](https://github.com/Lednerb/opentracker-docker/) and edit the `opentracker.conf` file.
1820

1921
Than you have to build your own image as follows:
2022
1. Edit and save the `opentracker.conf` file
2123
2. Open a terminal and `cd` into the project folder
2224
3. Run `docker build -t yourfancyname/opentracker .`
2325

24-
After the docker image was successfully build you can start a container:
26+
After the docker image was successfully built you can start a container:
2527

2628
`docker run -d --name opentracker -p 6969:6969/udp -p 6969:6969 lednerb/opentracker-docker`
2729

30+
31+
## How to whitelist your opentracker torrents
32+
If you just want to run the opentracker instance for specific torrents you have to whitelist them.
33+
34+
Follow these steps to whitelist your .torrent files:
35+
1. Download or `git clone` the [github repository](https://github.com/Lednerb/opentracker-docker/)
36+
2. Create a file in the project directory named `whitelist.txt`
37+
3. Copy & Paste your torrent info_hashes into the file
38+
4. Uncomment line 37 in the `opentracker.conf`
39+
5. Open a terminal and `cd` into the project folder
40+
6. Run `docker build -t yourfancyname/opentracker .`
2841

42+
Example whitelist.txt:
43+
```
44+
0123456789abcdef0123456789abcdef01234567
45+
890123456789abcdef0123456789abcdef012345
46+
```
47+
48+
After the docker image was successfully built you can start a container:
49+
50+
`docker run -d --name opentracker -p 6969:6969/udp -p 6969:6969 lednerb/opentracker-docker`
51+
52+
## How to blacklist some torrents
53+
Just follow the steps from obove but paste the info_hashes into the `blacklist.txt` file and uncomment line 41 in the `opentracker.conf` file.

0 commit comments

Comments
 (0)