I currenly reside in a country with strict piracy rules but also have access to the internet in a country where piracy is not enforced. I want to setup a VPN and route qBittorrent’s traffic through it. The idea is to do something like this:

I am fresh to selfhosting and most of the time have no clue how to achieve what I want. So far I have tried Tailscale but I think it won’t work how I want it to. If it helps, I have domain name registered. Can anybody point me to the right direction?

  • MajesticTechie@feddit.uk
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 days ago

    run installer curl -L https://install.pivpn.io/ | bash

    • configure wireguard
    • setup non root user
    • Set a port

    Create a user with pivpn add

    Example:

    root@funhaus:~# pivpn add
    Enter a Name for the Client: user.name
    

    The conf file can also be found in /home/user.name/configs

    Copy the conf to your machine. Install WireGuard and use that conf.

    In qbitorrent you should make sure the application is set to use the VPN network, otherwise it’ll use both. Go to Settings > Advanced > Set Wireguard from “Network Interface”