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?

  • Borger@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    0
    ·
    4 days ago

    You can absolutely use Tailscale; your host in the unrestricted country needs to be set up as an exit node (CLI argument in Linux, or a menu option in the system tray in Windows.)

    Then, your local machine needs to be set up to use that remote machine as its exit node. (tailscale up --exit-node=remote-tailnet-ip-here)

    • imetators@lemmy.dbzer0.comOP
      link
      fedilink
      English
      arrow-up
      0
      ·
      4 days ago

      I am thinking to do this but only one thing bothers me. I want only qBittorrent to be using VPN, not the rest of the machine. Is there a way to set only qBittorrent with Tailscale?

      • Borger@lemmy.blahaj.zone
        link
        fedilink
        English
        arrow-up
        0
        ·
        4 days ago

        Ah, sorry I hadn’t appreciated you were after split tunnelling… You can do this with Tailscale for services where you’re connecting to a fixed IP/FQDN, which I think rules out torrenting/P2P unfortunately.

        The only way I’ve seen to pass a specific app’s traffic through Tailscale appears to be an Android exclusive feature.

        If I’m wrong someone please correct me!