I recently bought a Mullvad VPN 1 month subscription for privacy sake. I understand that they aren’t able to bypass Netflix Geo Location like windscribe and that is okay. I just want to make sure I’m able to torrent securely, if possible.
Seems Mullvad already has an article on how to set up qBittorrent:
Using BitTorrent more securely | Mullvad VPN
Using BitTorrent more securely
CONNECTIVITY
Last updated: 10 March 2021
Use the BitTorrent protocol more securely by following these steps.
We only provide instructions for the qBittorrent client. Others like µTorrent, Vuze, and BitComet are not open source, contain adware or junkware, or aren’t equipped with good privacy settings.
#Binding qBittorrent to an interface
The first step is to bind qBittorrent to the Mullvad network interface to prevent it from leaking your IP in some situations.
#Windows
- Start the Mullvad app and connect to a location.
- Open qBittorrent.
- Click on Tools > Options… > Advanced.
- Change Network interface to Mullvad.
- Click on OK.
- Click on File > Exit and then start qBittorrent again.
- Continue with the steps in the next section.
#Linux
- Start the Mullvad app and connect to a location.
- Open qBittorrent.
- Click on Tools > Preferences > Advanced
- Change Network interface to one of the following depending on the app and protocol you are using:
- Mullvad app using OpenVPN: tun0
- Mullvad app using WireGuard kernel: wg-mullvad
- Mullvad app using WireGuard userspace: tun0
- WireGuard standalone: mlvd-xx
- OpenVPN standalone: tun0 - Click on OK.
- Click on File > Exit and then start qBittorrent again.
- Continue with the steps in the next section.
#macOS
- Start the Mullvad app and connect to a location.
- Open the Terminal app.
- Run the command
ifconfig | grep -A 2 utun - Check which utun interface Mullvad is using by looking for the internal IP “inet 10.x.x.x”.
- Open qBittorrent.
- Click on the Preferences button on the toolbar.
- Click on Advanced.
- Change Network interface to the utun interface you found above.
- Click on OK.
- Click on the qbittorrent main menu > Quit qbittorrent and then start qBittorrent again.
- Continue with the steps in the next section.
#Recommended qBittorrent settings
- Click on Tools.
- Click on Options (in Windows) or Preferences (in Linux and macOS)
- Click on BitTorrent.
- Check Enable anonymous mode.
- Uncheck (disable) Enable DHT.
- Uncheck (disable) Enable PeX.
- Uncheck (disable) Enable Local peer discovery.
- Click on Connection.
- For Peer connection protocol, use the drop-down menu to select TCP.
#Mullvad app settings
If you use the Mullvad desktop app then go to Settings > Advanced and enable “Always require VPN”. This will block your Internet if you disconnect it by mistake.
#Check for leaks
Go to the Mullvad Connection check page and click on the Torrent check tab. Click on the UDP and HTTP buttons to launch the tests. Note that this test does not work if you use SOCKS5 in the Bittorrent client.
#Port forwarding
Read our Port forwarding guide if you want to set up a port forward to the Bittorrent client. This should improve your seeding. Add the port in qBittorrent > Connection > “Port used for incoming connections”. Note that this does not work with SOCKS5 enabled.
#Troubleshooting
##When I have enabled the SOCKS5 proxy with qBittorrent, why is the torrent shown as offline?
The SOCKS5 protocol does not support port forwarding, so if you use trackerless torrents, you might need to have DHT enabled. Otherwise, you might need to disable the SOCKS5 proxy.
##qBittorrent shows the status as Stalled
If you use our SOCKS5 proxy then you will need to change the IP-address depending on if you use WireGuard or OpenVPN, and restart qBittorrent.
##qBittorrent for Linux shows the status as Stalled
If you switch between WireGuard and OpenVPN you will need to re-bind the network interface and restart qBittorrent.
The issue with answering people with “Just google it” or “X already has info on how to do Y” is that in the future, perhaps google will point you to this very thread as the first result, or the link that someone says to use instead of actual instructions could be dead.
Why? Is there a reason to go OpenVPN over Wire Guard (in the context of this thread)?
You’re the fucking GOAT my friend.
https://the-eye.eu/redarcs – mass edited with https://redact.dev/
If you use the Mullvad desktop app then go to Settings > Advanced and enable “Always require VPN”. This will block your Internet if you disconnect it by mistake.
#Check for leaks
This option is no longer available. Should i enable Lockdown mode? That seems like what you’re recommending.
Does Mullvad have to be on for it to show on the interface list?
Yup. The link is very dead
If you search “mullvad vpn qbittorrent” it now actually is the first result. The link is dead aswell …
sorry, old bad advice, I use WireGuard lately.
Curious about that too. Did you figure out what the alternative was?
I found the page on internet archive