this post was submitted on 11 Nov 2023
28 points (96.7% liked)
Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ
54462 readers
272 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 |
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
This idea of ports and connectability is something I don't understand. I guess I don't know what ports really do.
As I dig into VPN setup I realize how little I understand about networking. I search for answers and find I don't even understand the answers and have a hard time finding search terms that lead me to that basic level to build up my understanding.
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