summaryrefslogtreecommitdiff
path: root/content/config/qbittorrent.md
blob: d62b088a5507fa3302bdd401da49502e1304f3b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
---
title: "qBittorrent"
date: 2023-01-10T18:02:13-03:00
draft: false
weight: 2
summary: The qBittorrent project aims to provide an open-source software alternative to µTorrent.
---

## What is qBitorrent?

From their [website](https://www.qbittorrent.org/):

> The qBittorrent project aims to provide an open-source software alternative to µTorrent.

So, just like µTorrent, qBitorrent is a torrent downloader. Pretty easy!

## First, check your VPN!

If you configured your VPN correctly, it should be running. To test, run on your terminal:

```bash
$ yams check-vpn
```

If everything is working correctly, you should get a message like this:

```bash
Getting your qBittorrent IP...
<qBittorrent IP>
Your country in qBittorrent is Brazil

Getting your IP...
<your local IP>
Your local IP country is North Korea

Your IPs are different. qBittorrent is working as expected! ✅
```
If your VPN is working fine, move onward to the [Initial configuration](#initial-configuration).

If the check fails (or you haven't configured the VPN), you'll see a message like this:

```bash
Getting your qBittorrent IP...
<your local IP>
Your country in qBittorrent is North Korea

Getting your IP...
<your local IP>
Your local IP country is North Korea

Your IPs are the same! qBittorrent is NOT working! ⚠️
```

**You should always run a VPN when downloading torrents!** You can manually set your VPN [here](/advanced/vpn/#manual-configuration) or you can run the YAMS installer again and use the automatic installer. Come back here after you have fixed this!

## Initial configuration

In your browser, go to [http://{your-ip-address}:8080/]() and you'll see qBittorrent's admin page. The default username and password are:

```sh
username: admin
password: adminadmin
```
I know, super safe.

[![qbittorrent-1](/pics/qbittorrent-1.png)](/pics/qbittorrent-1.png)

After logging in, you'll see the empty qBittorrent window. Here, you have to click on the gear icon to enter the settings.

[![qbittorrent-2](/pics/qbittorrent-2.png)](/pics/qbittorrent-2.png)

You'll notice qBitorrent has A TON of settings you can change. First, go to the "BitTorrent" tab, check the "When ratio reaches" checkbox, and set it to 0

### Is this a dick move?

Yes.

In case you don't know, the BitTorrent protocol works by sharing (seeding) files across the network. By setting the seeding limit to zero, we are basically saying "Share the torrent **until** I've finished downloading." You'll still share the file across the network while downloading, but when the file completes, the torrent will automatically stop and wait for [Sonarr](/config/sonarr)/[Radarr](/config/radarr) to pick up the file.

For the purposes of this tutorial, we'll leave it at 0, but if you want you can change it later to a less dickish setting.

[![qbittorrent-3](/pics/qbittorrent-3.png)](/pics/qbittorrent-3.png)

Then, we'll continue to the "Web UI" tab. There, we can set it so it won't ask for a password if we are accessing it from the same subnet. This is not required but recommended.

[![qbittorreft-4](/pics/qbittorrent-4.png)](/pics/qbittorrent-4.png)

Now, on the "Advanced" tab, we need to set our Network interface to `tun0`, so it always uses the VPN connection and kills the connection if the VPN goes down for some reason.

[![qbittorreft-5](/pics/qbittorrent-5.png)](/pics/qbittorrent-5.png)

Finally, go to the bottom of the modal and click "Save".

[![qbittorreft-6](/pics/qbittorrent-6.png)](/pics/qbittorrent-6.png)

## That's done!

Excellent! Now we can move forward with [Radarr](/config/radarr).