238

I've been putting off renewing my mullvad membership because of the port forwarding thing. I only want to use it for torrenting. Is it really crucial to find a VPN that supports port forwarding? If so, what's the go to option now that it's becoming increasingly uncommon?

you are viewing a single comment's thread
view the rest of the comments
[-] Wistful@discuss.tchncs.de 61 points 1 year ago* (last edited 1 year ago)

Quote from some old guide:

The Importance of Being Connectable:

When it comes to torrents, being connectable can go a long way in helping your ratio. Connectivity is directly related to port forwarding, your router, and incoming torrent connections. Here's how it works:

You upload a new torrent. After going through the upload page and adding the torrent to your client, the client connects to the tracker to do the following:

  1. Tell the tracker it is going to begin seeding a torrent.
  2. Ask the tracker if there are any peers it doesn't know about.

Normally, no one has downloaded the torrent from the site between the time that you upload the torrent and when you add it to your client. So your client will now wait, for 45 minutes (or however long it's been told to wait by the tracker), until it will connect back and ask for more peers.

Now suppose someone downloads your torrent from the site after you added the torrent to your client. Normally, the person's client will ask the tracker for peers, to which the tracker will return your IP address to connect to. That client will then connect to your client, using the IP address and port number it got from the tracker pertaining to your client and the port it accepts incoming connections on. This is where being connectable comes into play. We'll assume your IP address is 139.129.43.5 and your port number used for torrenting is 3058.

When the peer attempts to connect to you on that designated port, your router has to know what to do with the incoming connection. It receives an incoming connection from the peer, on port 3058. If you have your port forwarded to your client correctly, that is, you've told the router what to do with incoming data on a specific port, the router knows to send anything coming in on port 3058 to the computer your client is running on. Now, if you are not connectable, the router doesn't know what to do with items coming in on port 3058, so they are discarded, and the other peer isn't able to connect to you.

If your port isn't forwarded correctly, the peer who just added your torrent to their client will have to wait for 45 minutes, until your client updates with the tracker, and gets the new peer's IP address and port to connect to. If the peer is connectable, you will then make an outbound connection to them, and it will connect successfully. Outbound connections aren't normally blocked by a router, unlike incoming ones, this is why a client doesn't need a port forward for outgoing connections. This scenario is also why you can still seed even if you aren't connectable. This can have very negative consequences for your ratio though as I will now explain.

Here's how not being connectable will hurt you. When you are seeding a torrent in a large swarm and a new peer comes online, his client will attempt to make connections to the other peers. If you aren't connectable, you will have to wait (at max) 45 minutes until your client learns of their existence, before you can start uploading data to them. During this time the peer is getting data from other peers, but not you. By the time your client finally learns of the new peer's existence, the client will already be done downloading! You won't get nearly as much upload than if you were connectable. Depending on the size of the torrent, your client may not get any upload for that peer, because he will have completed the torrent before your client even knew he was present.

The absolute worst case scenario is when both peers aren't connectable. Neither peer will be able to connect to the other, and both will sit without connection indefinitely.

[-] ranger@programming.dev 2 points 1 year ago

How will this work if you are behind double NAT by your isp

[-] CoffeeDart@lemmy.world 2 points 1 year ago

Thanks for the explanation! First time I have somewhat understood what port forwarding does for torrents.

this post was submitted on 01 Jul 2023
238 points (97.2% liked)

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

54698 readers
357 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):


💰 Please help cover server costs.

Ko-Fi Liberapay
Ko-fi Liberapay

founded 1 year ago
MODERATORS