Added Advanced VPN settings

This commit is contained in:
Roger Gonzalez 2023-01-15 21:19:49 -03:00
parent eac204e2ad
commit 4492bd9278
Signed by: rogs
GPG Key ID: C7ECE9C6C36EC2E6
4 changed files with 53 additions and 4 deletions

View File

@ -32,20 +32,25 @@ summaryLength = 30
url = "/config/"
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

8
content/advanced/vpn.md Normal file
View File

@ -0,0 +1,8 @@
---
title: "VPN"
date: 2023-01-15T21:16:29-03:00
draft: false
weight: 1
---
Working on it :)

View File

@ -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:

View File

@ -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.