488
CGNAT version 2 (sh.itjust.works)
you are viewing a single comment's thread
view the rest of the comments
[-] LaggyKar@programming.dev 23 points 6 days ago

I know this is humor, but for the record this wouldn't work. Each simultaneous TCP connection needs a unique four-tuple (source address, source port, destination address, destination port). If a lot the people behind the NAT try to connect to the same place (destination address and port) at the same time (something popular like Google, YouTube or Netflix), and their source address is the same, the source port needs to be different for each connection. So after at most 65535 connections within a short time the NAT would run out of ports and no one behind the same NAT would be able to open new connections to the same place until the NAT mapping expiries.

So you could have at most tens of thousands of people behind the same NAT, maybe even fewer to make it reliable.

[-] Fred@programming.dev 11 points 6 days ago

Don't forget the tech giants are all IPv6 enabled. Google Netflix Apple xhamster Facebook Microsoft are all reachable over v6.

[-] FEIN@lemmy.world 10 points 6 days ago

I think one of these tech giants sounds wrong? It's Meta not Facebook

[-] bss03@infosec.pub 3 points 6 days ago

It's Alphabet not Google, yeah?

[-] LaggyKar@programming.dev 8 points 6 days ago* (last edited 6 days ago)

OK, bad examples. On the other hand e.g. X, GitHub, Pornhub, PSN, Steam or Discord do not support IPv6.

[-] Bane_Killgrind@lemmy.dbzer0.com 5 points 6 days ago

Guess I should start using xhamster over PH for tech puritism reasons

[-] szczuroarturo@programming.dev 1 points 5 days ago

Really discord. Didint discord start existing when ipv6 was becoming more and more normalised unlike the rest of those examples.

this post was submitted on 03 Aug 2025
488 points (99.8% liked)

Programmer Humor

25567 readers
510 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS