summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Gonzalez <roger@rogs.me>2023-01-15 21:19:49 -0300
committerRoger Gonzalez <roger@rogs.me>2023-01-15 21:19:49 -0300
commit4492bd92787db43bdaf8024d2a8b00caddd8703c (patch)
treed10b64e5a1cb95716c8603bbf127b1044ebebb0f
parenteac204e2ada6d632ce5865bdb4a89dc362aaed52 (diff)
Added Advanced VPN settings
-rw-r--r--config.toml13
-rw-r--r--content/advanced/vpn.md8
-rw-r--r--content/config/qbittorrent.md34
-rw-r--r--content/install/using-the-cli.md2
4 files changed, 53 insertions, 4 deletions
diff --git a/config.toml b/config.toml
index b3a715a..4e138f2 100644
--- a/config.toml
+++ b/config.toml
@@ -33,19 +33,24 @@ summaryLength = 30
weight = 3
[[menu.main]]
+ name = "Advanced"
+ url = "/advanced/"
+ weight = 4
+
+[[menu.main]]
name = "FAQs"
url = "/faqs/"
- weight = 4
+ weight = 5
[[menu.main]]
name = "Donate"
url = "/donate/"
- weight = 5
+ weight = 6
[[menu.main]]
name = "Contact"
url = "/contact/"
- weight = 6
+ weight = 7
[[menu.main]]
name = "Matrix"
@@ -63,7 +68,7 @@ summaryLength = 30
homepage_button_text = 'Install YAMS'
homepage_intro = 'YAMS is a basic but powerful media server, easy to install in a bash script'
homepage_image = '/install-yams.gif'
- mainSections = ['install', 'config', 'faqs', 'donate', 'contact']
+ mainSections = ['install', 'config', 'faqs', 'donate', 'contact', 'advanced']
## You can enable to add anchor links to header elements
enable_anchor_link = true
diff --git a/content/advanced/vpn.md b/content/advanced/vpn.md
new file mode 100644
index 0000000..271ebe5
--- /dev/null
+++ b/content/advanced/vpn.md
@@ -0,0 +1,8 @@
+---
+title: "VPN"
+date: 2023-01-15T21:16:29-03:00
+draft: false
+weight: 1
+---
+
+Working on it :)
diff --git a/content/config/qbittorrent.md b/content/config/qbittorrent.md
index cad4457..cb22adc 100644
--- a/content/config/qbittorrent.md
+++ b/content/config/qbittorrent.md
@@ -14,6 +14,40 @@ From their [website](https://www.qbittorrent.org/):
So, just like µTorrent, qBitorrent is a torrent downloader. Pretty easy!
+## First, if you are using the VPN...
+
+Check if its running correctly. On your terminal, run:
+
+```bash
+$ yams check-vpn
+```
+
+If everything is working correctly, you should get a message like this:
+
+```bash
+Getting your qBittorrent IP...
+<qBittorrent IP>
+
+Getting your IP...
+<your local IP>
+
+Your IPs are different. qBittorrent is working as expected! ✅
+```
+
+If the check fails, you'll see a message like this:
+
+```bash
+Getting your qBittorrent IP...
+<your local IP>
+
+Getting your IP...
+<your local IP>
+
+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 settings](/advanced/vpn). You can 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:
diff --git a/content/install/using-the-cli.md b/content/install/using-the-cli.md
index a2e7f4d..afbe8ea 100644
--- a/content/install/using-the-cli.md
+++ b/content/install/using-the-cli.md
@@ -25,6 +25,7 @@ restart restarts yams services
stop stops all yams services
start starts yams services
destroy destroy yams services so you can start from scratch
+check-vpn checks if the VPN is working as expected
```
Everything is very self-explanatory, but I'll go in more detail here:
@@ -33,6 +34,7 @@ Everything is very self-explanatory, but I'll go in more detail here:
- `stop`: Stops all the services gracefully.
- `start`: Starts all the services.
- `destroy`: Destroys all the services so you can start the configuration from scrath. ⚠️ Be careful! ⚠️ There's no going back after this!
+- `check-vpn`: Checks the IP of the qBittorrent service and compares it to your own IP. If they are the same, it's goign to warn you.
If you get a `docker` permission error trying to use the CLI, go [here](/faqs/) to fix it.