47

Ultimately, I only want to use Proton VPN for torrenting and seeding, while not using Proton VPN for browsing the internet, using Steam and Discord (essentially everything else).

I'm currently using Proton VPN for torrenting, but sadly it doesn't support using a kill switch if I'm already using split tunneling. I read that NordVPN can use both simultaneously, but I'm not sure if this is actually true. Should I switch VPN so that I can use split tunneling and a kill switch together?

Essentially, I only want to use the VPN for torrenting, and it would be nice to be able to use a kill switch for the torrent if it loses connection.

Thank you.

all 34 comments
sorted by: hot top controversial new old
[-] _cryptagion@lemmy.dbzer0.com 3 points 5 hours ago

Turn the Proton killswitch off and use split tunneling, then bind your torrent client to the VPN. This is more reliable than a built-in killswitch.

Or if you're on Linux, spin up one of Binhex's bittorrent+vpn containers. Since you're using Proton, the containers from Binhex will automagically make sure your torrent client is using the random open port Proton picks each time you connect.

[-] InvalidName2@lemmy.zip 6 points 11 hours ago

If you go the qbittorrent route, my piece of advice is to always check the settings after any updates.

It was maybe around 8 or 9 years ago, but after one of the updates, all my settings got wiped and set back to defaults I assume.

I didn't notice until I ended up getting a nastygram from my ISP.

It's never happened since, but needless to say I always double check now.

[-] InvestBurnout@fedia.io 11 points 13 hours ago

Could you use qbittorrent and bind the network interface to ProtonVPN? And then split tunnel whatever apps you want from the GUI?

[-] taco@piefed.social 7 points 12 hours ago

This is the answer. Much more reliable than the killswitches.

[-] Moonrise2473@feddit.it 20 points 16 hours ago

If you are on Linux the best option is to run this:

https://github.com/haugene/docker-transmission-openvpn

Basically a small "virtual machine" that assures that the torrent traffic always passes through the VPN. No VPN=no traffic

[-] dan@upvote.au 2 points 5 hours ago* (last edited 5 hours ago)

If you're going the Docker router, I'd run separate Docker containers rather than an all-in-one. You get the same functionality, but you can route more than one app through the VPN.

Create a Gluetun container to use for the VPN, then have other containers configured to use the Gluetun container as their network.

All you need to do for the other containers is use network_mode: "service:gluetun" if you're using docker-compose, or --network=container:gluetun in the Docker command line otherwise.

https://github.com/qdm12/gluetun-wiki/blob/main/setup/connect-a-container-to-gluetun.md

Works great in Unraid especially, since the option to route a container's network through another container is available in the Unraid UI.

[-] _cryptagion@lemmy.dbzer0.com 1 points 5 hours ago* (last edited 5 hours ago)

That won't work for the OP, they are using Proton VPN, which randomizes the port number in a half-hearted attempt to "stop" piracy. They would need to use a script to bind their torrent client to the open port each time the container started, and also any time the connection was lost and Proton reconnected.

Binhex has images that do this automatically, but as far as I know there isn't any other way to do it that's as easy or reliable as an all-in-one container. Binding it to a Gluetun container will connect, but you won't get very good speeds or peers because it won't be port forwarded.

[-] dan@upvote.au 1 points 3 hours ago* (last edited 3 hours ago)

Ah, I forgot that some VPNs don't have good port forwarding support. AirVPN does! Older AirVPN accounts can forward up to 20 ports, and you pick the port numbers out of a list of available ones. I think they limited it to 5 ports for new accounts.

[-] iAmTheTot@sh.itjust.works 20 points 16 hours ago* (last edited 15 hours ago)

With qbittorrent, you can just set it to do this. Tell it to only use the VPN interface.

[-] avidamoeba@lemmy.ca 3 points 14 hours ago

The absolute most foolproof and failproof way to do it. They can used Docker for Windows as well, even though that is more resource intensive since it actually runs a Linux VM under the covers.

[-] MangioneDontMiss@lemmy.ca 9 points 16 hours ago

Kill switches are unreliable

[-] CubitOom@infosec.pub 8 points 17 hours ago

Best thing to do in a situation like this is to have a bake off. Just pay the smallest amount of money you can to test out other services till you can form your own opinion.

I would test mullvad. It does split tunneling with a kill switch at the same time, it also allows you to do local networking without split tunneling. It doesn't do any logging and you can pay in cash. I use it to seed and in my torrent app (qbittorrent) I set it to only connect to internet through my VPN so even if the kill switch somehow failed, the moment I'm no longer on the VPN my torrents stop no matter if I'm leeching or seeding.

For further research, I suggest the piracy megathread

[-] Chronographs@lemmy.zip 4 points 13 hours ago

Proton recently added local network access but the main thing is that it supports port forwarding unlike mullvad. Absolutely should be setting your vpn and the interface in qbitorrent though as you said, it’s much more reliable and convenient than a killswitch imo

[-] CubitOom@infosec.pub 1 points 13 hours ago

That's cool to know. I haven't yet tried to port forward on my vpn. Normally I just do that in my network or using istio.

[-] Chronographs@lemmy.zip 2 points 13 hours ago

Yeah port forwarding from your router won’t do anything if you’re using a vpn so you need it to be supported by the vpn to download and seed most effectively

[-] BlueRingedOctopus@lemmy.dbzer0.com 1 points 13 hours ago

I don't have a VPN and don't have a static IP (nor do I want to pay for them). Can I still forward my port using this **istio **thing ?

[-] CubitOom@infosec.pub 2 points 13 hours ago

Istio is a serivce mesh for Kubernetes. It's great but not intended for something like sharing media from home.

It sounds however like you might benefit from Dynamic DNS (DDNS) if you are trying to work around not having a static IP. I use this method for my Jellyfin server since it would cost too much to host that data on a public cloud provider.

[-] miss_demeanour@piefed.ca 3 points 16 hours ago

Excellent response. Covered the bases.

[-] laconiancruiser@lemmy.zip 1 points 11 hours ago* (last edited 11 hours ago)

I am attempting to solve this via firewall. I block all RFC1918 source traffic on the LAN interface but allow all traffic on the VPN interface. That seems to function reliably. I’ve tested that I can egress while the VPN is active but not at all when it goes down.

If this is not a good solution, let me know, but it seems reliable and doesn’t require any other tooling.


I realize this doesn’t fit your use case since you have other connections you don’t want in the VPN, but I’m still curious if others use this setup.

[-] plinky@hexbear.net 5 points 17 hours ago

can't you just force torrent program to use vpn as a only network connection

[-] Yourname942@lemmy.dbzer0.com 3 points 17 hours ago

Honestly, I'm not really sure - I am using Proton VPN and qbittorrent.

[-] frongt@lemmy.zip 9 points 17 hours ago

Yes, in qbittorrent, bind it to the VPN interface.

[-] Yourname942@lemmy.dbzer0.com 4 points 17 hours ago

oh okay, thank you. For some reason, I didn't realize binding the torrent was effectively the same as a kill switch (or at least in terms of protecting my ip)

[-] curbstickle@lemmy.dbzer0.com 5 points 17 hours ago

Sort of - its a kill switch specific to qbitorrent at that point, since the adapter isn't working, qbittorrent won't connect to anything. It will not impact anything else running though.

You could also make a container for the VPN connection, and have a qbitorrent container use the VPN containers networking, which would then leave other containers to make use of it as well. This is what I do, its a bit more complicated of a setup though.

[-] Yourname942@lemmy.dbzer0.com 3 points 17 hours ago

Yeah that does seem a bit complicated, or at least confusing to me - I'm not sure what you mean by container.

[-] curbstickle@lemmy.dbzer0.com 0 points 16 hours ago

Containers are little virtual machines (Docker, LXC, etc) that run a specific tool or group of tools.

Like having a little VM that Rand just qbitorrent, and you would access it via the webui rather than the desktop client.

Short version, dont worry about that for now, just bind your torrent client to the network interface of the VPN itself.

[-] cupcakezealot@piefed.blahaj.zone 3 points 16 hours ago

wouldn't just changing the network interface in your torrent client to your vpn do this anyway?

[-] tastemyglaive@lemmy.ml 1 points 15 hours ago* (last edited 15 hours ago)

Use Linux & the Android app Rethink while it's still being funded by Mozilla (you never know). Easily configure your devices to split apps among different VPNs. If you know how to look around you can find public proxies. 😉 I would really not recommend trusting Proton, but I know Mullvad (also untrustworthy & visibly confined to west-friendly datacenters) makes it super easy by snagging all the files from the website, Proton might have something similar

[-] Mordikan@kbin.earth 0 points 16 hours ago

The only real constraint here is VPN port forwarding. You would need a VPN provider that supports that in order to hit DHT swarms. So, just make sure the provider has that.

As for kill switching, run the VPN and torrent client through docker. There is probably already a docker image out there that does that depending on what provider you go with. Essentially what you'd be doing is sandboxing your torrent client and then only passing in the VPN interface via docker network to that client. If the VPN tunnel goes down there is no other egress point off the network segment and zero chance for traffic using a different interface.

[-] dan@upvote.au 2 points 5 hours ago

You don't need a provider-specific Docker container. Gluetun (https://github.com/qdm12/gluetun) supports a lot of providers, but you can use any provider through a custom config.

this post was submitted on 14 Aug 2025
47 points (98.0% liked)

Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ

63502 readers
677 users here now

⚓ Dedicated to the discussion of digital piracy, including ethical problems and legal advancements.

Rules • Full Version

1. Posts must be related to the discussion of digital piracy

2. Don't request invites, trade, sell, or self-promote

3. Don't request or link to specific pirated titles, including DMs

4. Don't submit low-quality posts, be entitled, or harass others



Loot, Pillage, & Plunder

📜 c/Piracy Wiki (Community Edition):

🏴‍☠️ Other communities

FUCK ADOBE!

Torrenting/P2P:

Gaming:


💰 Please help cover server costs.

Ko-Fi Liberapay
Ko-fi Liberapay

founded 2 years ago
MODERATORS