diff options
author | Roger Gonzalez <roger@rogs.me> | 2023-01-16 14:27:46 -0300 |
---|---|---|
committer | Roger Gonzalez <roger@rogs.me> | 2023-01-16 14:27:46 -0300 |
commit | 89ac49add49ae4e741775d889cc271ca1672a815 (patch) | |
tree | f4591e531141e597cfa2c65957f90061f84d3ec6 /content/advanced | |
parent | 4db97db8277c121645e7f799264fc9b5aa92e484 (diff) |
Added VPN to the documentation
Diffstat (limited to 'content/advanced')
-rw-r--r-- | content/advanced/_index.md | 6 | ||||
-rw-r--r-- | content/advanced/vpn.md | 95 |
2 files changed, 100 insertions, 1 deletions
diff --git a/content/advanced/_index.md b/content/advanced/_index.md new file mode 100644 index 0000000..fe83fe5 --- /dev/null +++ b/content/advanced/_index.md @@ -0,0 +1,6 @@ +--- +title: "Advanced" +date: 2023-01-16T10:56:37-03:00 +draft: false +weight: 100 +--- diff --git a/content/advanced/vpn.md b/content/advanced/vpn.md index 271ebe5..ca84150 100644 --- a/content/advanced/vpn.md +++ b/content/advanced/vpn.md @@ -3,6 +3,99 @@ title: "VPN" date: 2023-01-15T21:16:29-03:00 draft: false weight: 1 +summary: Advanced configuration for the VPN, supported VPN lists and manual configuration --- -Working on it :) +Remember: **You should always use a VPN when downloading torrents!**. + +YAMS uses [gluetun](https://github.com/qdm12/gluetun) for VPN. + +### Official supported VPNs + +- [AirVPN](https://github.com/qdm12/gluetun/wiki/AirVPN) +- [Cyberghost](https://github.com/qdm12/gluetun/wiki/Cyberghost) +- [ExpressVPN](https://github.com/qdm12/gluetun/wiki/ExpressVPN) +- [FastestVPN](https://github.com/qdm12/gluetun/wiki/FastestVPN) +- [Hidemyass](https://github.com/qdm12/gluetun/wiki/Hidemyass) +- [IPVanish](https://github.com/qdm12/gluetun/wiki/IPVanish) +- [IVPN](https://github.com/qdm12/gluetun/wiki/IVPN) +- [Mullvad](https://github.com/qdm12/gluetun/wiki/Mullvad) **(Recommended!)** +- [NordVPN](https://github.com/qdm12/gluetun/wiki/NordVPN) +- [Perfect privacy](https://github.com/qdm12/gluetun/wiki/Perfect-privacy) +- [Privado](https://github.com/qdm12/gluetun/wiki/Privado) +- [Private internet access](https://github.com/qdm12/gluetun/wiki/Private-internet-access) +- [PrivateVPN](https://github.com/qdm12/gluetun/wiki/PrivateVPN) +- [ProtonVPN](https://github.com/qdm12/gluetun/wiki/ProtonVPN) +- [PureVPN](https://github.com/qdm12/gluetun/wiki/PureVPN) +- [SlickVPN](https://github.com/qdm12/gluetun/wiki/SlickVPN) +- [Surfshark](https://github.com/qdm12/gluetun/wiki/Surfshark) +- [Torguard](https://github.com/qdm12/gluetun/wiki/Torguard) +- [VPN Secure](https://github.com/qdm12/gluetun/wiki/VPN-Secure) +- [VPN Unlimited](https://github.com/qdm12/gluetun/wiki/VPN-Unlimited) +- [VyprVPN](https://github.com/qdm12/gluetun/wiki/VyprVPN) +- [WeVPN](https://github.com/qdm12/gluetun/wiki/WeVPN) +- [Windscribe](https://github.com/qdm12/gluetun/wiki/Windscribe) + +You can also set a [custom VPN provider](https://github.com/qdm12/gluetun/wiki/Custom-provider), but **this is not officially supported for YAMS. You are on your own here.** + +### Manual configuration + +To manually configure your VPN, you have to edit your `docker-compose.yaml` file. + +First, stop `YAMS`: +```bash +$ yams stop +``` + +Then, open your `docker-compose.yaml` file. For this tutorial, I'm assuming the install location is `/opt/yams`. Also, you don't have to use `vim`, you can use `nano` or any other editor. + +```bash +$ vim /opt/yams/docker-compose.yaml +``` + +On the file, find the `qbitorrent` config and make the following changes: + +```yaml +... + # ports: # qbittorrent -> Comment this line + # - 8080:8080 # qbittorrent -> Comment this line + network_mode: "service:gluetun" -> Uncomment this line +``` + +Then, at the bottom, find the `gluetun` config and make the following changes: + +```yaml +... + - 8080:8080/tcp # gluetun -> Uncomment this line +... + environment: + - VPN_SERVICE_PROVIDER=<vpn_service> # -> Replace "<vpn_service>" with your VPN service provider + - VPN_TYPE=openvpn + - OPENVPN_USER=<vpn_user> # -> Replace "<vpn_user>" with your VPN username + - OPENVPN_PASSWORD=<vpn_password> # -> Replace "<vpn_password>" with your VPN password + - SERVER_COUNTRIES=<vpn_country> # -> Replacee "<vpn_country>" with your VPN country +``` + +Now, restart `YAMS`: + +```bash +$ yams restart +``` + +Finally, check that your VPN is running correctly: + +```bash +$ yams check-vpn + +Getting your qBittorrent IP... +<your_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 it's not running correctly, check every setting and make sure they are all correct. |