• 1 Post
  • 23 Comments
Joined 1 year ago
cake
Cake day: June 18th, 2023

help-circle
















  • In simpler times, everyone that connected to the internet had an IP address. It’s 4 bytes, which means 4 digits between 0 and 255, so your IP might be 127.6.99.0. In these simpler times everyone could connect to everyone else, but if you want to run different services on your ip like a web server, email, etc, you had to do it on different ports. So if I connect to you on port 80, by convention that was web traffic. On port 21 was for file transfer. But that’s just convention. Any service can be on any port as long as you know which ip and which port to connect to. BitTorrent is no different. It listens on a port for connections from others.

    It then got more complicated because people had multiple devices on their home internet connection and there aren’t enough ip addresses to give every device one. So then there was port forwarding (nat). All the devices share one IP address, and the router has rules for which port for incoming connections to forward to which internal device. Two devices can’t use the same port because there would be no way to know where to send the connection.

    VPN is the same concept. You’re sharing an IP with that other people on one VPN server and if you want other people to connect to you you need a port forwarded just to you, like you would do on your router.

    Very high level. I’ll try to answer if you have more specific questions


  • Some vpns support usually a single port forward but it can be restricted to certain servers and potentially tricky to set up. Others can answer better on individual providers.

    But just to correct a common misconception, port forwarding has nothing to do with seeding vs leeching. Port forwarding is so that you are connectable (others can connect to you). Two peers that are not connectable cannot connect to each other, but as long as one is connectable then a connection can be made and data can be uploaded/downloaded between the two.

    So not being connectable will reduce the number of peers you can connect to, which will only really be an issue on torrents with few peers