| Post Reply | RetroFed Forum Forum Index » Selfhosted |
| Author | Message | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
leanleft
lemmy.ml
leanleft@lemmy.mlJoined: 2020-01-21 |
title: "Internet centralization and the original sin of NAT"
|
||||||||||
| 133 Original | |||||||||||
drkt
scribe.disroot.org
drkt@scribe.disroot.orgJoined: 2024-11-05 |
Some day we'll just have to stop routing people who misuse our common protocols. I already stopped caring about my IP being on blocklists because it only ever ends up on those for the dumbest reasons. If someone can't connect to me then it's their problem. I can't perform remote IT support for every person who bought a Unify firewall and clicked "block bad IPs". I reckon in my life time I will also turn off IPv4 and just stop dealing with it's bullshit. |
||||||||||
| 6 | |||||||||||
irmadlad
lemmy.world
irmadlad@lemmy.worldJoined: 2025-03-24 |
I hear a lot of chatter about CGNAT. How common is that? Anecdotally, I'll have to say, I've never encountered it... ever. |
||||||||||
| 9 | |||||||||||
poVoq
slrpnk.net
poVoq@slrpnk.netJoined: 2022-09-19 |
I hear a lot of chatter about CGNAT. How common is that? Anecdotally, I'll have to say, I've never encountered it... ever.
Like literally all mobile (4/5G) internet connections are behind CGNAT, as is Starlink for example. For landline internet connections it is indeed uncommon. |
||||||||||
| 8 | |||||||||||
|
vividspecter
aussie.zone
vividspecter@aussie.zone Joined: 2025-06-21 |
I hear a lot of chatter about CGNAT. How common is that? Anecdotally, I'll have to say, I've never encountered it... ever.
If you're in the US, it's because all of the major ISPs siphoned up much of the ipv4 address space so they can still offer it to everyone. In Australia, on the other hand, most ISPs provide CGNAT by default, although most of them offer a free opt-out and have ipv6. Mobile services are also typically CGNAT, although many offer ipv6 + 464XLAT (an ipv4 compatibility mode using ipv6). In developing countries some sort of ipv6 solution is almost universal, particularly those with higher populations such as India, since it would cost an absurd amount of money to buy up that amount of ipv4 address space today. |
||||||||||
| 17 | |||||||||||
Possibly linux
lemmy.zip
possiblylinux127@lemmy.zipJoined: 2023-06-26 |
You absolutely shouldn't be exposing service on your computer to the internet Firewalls (not NAT) exist for a reason |
||||||||||
| 19 | |||||||||||
|
Brkdncr
lemmy.world
Brkdncr@lemmy.world Joined: 2023-11-21 |
I hear a lot of chatter about CGNAT. How common is that? Anecdotally, I'll have to say, I've never encountered it... ever.
All starlink residential service is behind cgnat. They have IPv6 but it’s not well documented. |
||||||||||
| 5 | |||||||||||
watson
sopuli.xyz
watson387@sopuli.xyzJoined: 2023-06-06 |
I hear a lot of chatter about CGNAT. How common is that? Anecdotally, I'll have to say, I've never encountered it... ever.
When my ISP switched from cable to fiber this year I got put behind one. |
||||||||||
| 5 | |||||||||||
|
litchralee
sh.itjust.works
litchralee@sh.itjust.works Joined: 2023-07-02 |
I'll add some color to this post. The original FTP is, frankly, a monster of a protocol. Very useful, but an anomalous protocol that even without NAT breaking the end-to-end principle, it is unlikely to have survived modern corporate firewall rulesets in any case. The fact that FTP was even ported for TCP is its own historical quirk. BTW, that is the term which this post is missing: the end-to-end principle is the design philosophy that the network itself should not have to perform work on payloads transmitted, except to carry it towards the destination. This also implies that no fields or bits should be modified in transit, once it leaves the sender; encap/decap restores the fields so that the receiver is none the wiser. NAT breaks end-to-end in two respects: corruption of the original sender, and corruption of L4 port numbers. Note that Legacy IP also violated end-to-end, when packets are fragmented due to MTU issues. With IPv6, fragmentation by the network is disallowed outright, and the technical case for NAT is non-existent. There's something to be said about adopters of NAT, that they were facing a Hobson's choice: use NAT so that they could connect early dial-up users to the emerging Internet, or reinvent the 20 year experiment of the Internet so that it could scale properly. In 1995, IPv6 did not exist so they made the only real choice available. In the year 2026 though, that argument doesn't hold water: it is a choice to continue to ignore the dual-stack and IPv6-only internet. There's a quote that all sufficiently complex technical problems are in-fact political, and this is that: the modern case for Legacy IP and NAT is rooted in inertia, resource scarcity (eg hyperscale cloud companies buying up IP subnets), and recalcitrance by professionals that abdicate their responsibility to their clients to pursue the available technology. There is no colorable technical rationale for why IPv6 best practices cannot be adopted today for most organizations, when all network hardware, all major consumer and enterprise OS's, and all mobile phones support v6. Note that I said "best practices", because a minority of orgs such as certain American ISPs have undertaken truly bonkers decisions that are putting us on track for the very same sins as Legacy IP. The fact that some ISPs assign nothing but a single /128 via DHCP6 is absurd: this malpractice perpetuates the same problem as NAT44, except that there's no good excuse for it. Even the most delusional of ISPs will never run out of /128 addresses in their assigned /32. Per best practice, even handing out /48's to customers is not a problem either, because that's 65536 customers and if that's really a problem, just ask the RIR for another /32, which they can do as RIR dues-paying members. There is no practical limit, except that some people just cannot math properly to see that there's no practical limit. When a technical solution to a technical problem fails because of innumeracy by those tasked with implementing it, then that's so much worse than any 1990s workaround. I've harped a lot about IPv6 because its strength today is that it's technically competent, future-proofed, and most importantly, practitioners that saw the first travesty of NAT will not allow a redux to play out with IPv6. The technical reasons to deploy NAT66 are non-existent: it is always a workaround for political issues. I can (just barely) accept NPTv6 as a like subnet-for-subnet mapping that does not harm L4, but that's still glossing over a political issue. IPv6 gave network engineers real choices in numbers and administering their networks, and while some will squander it, I will be encouraging people to not let that happen. |
||||||||||
| 32 | |||||||||||
|
cmnybo
discuss.tchncs.de
cmnybo@discuss.tchncs.de Joined: 2023-06-11 |
Like literally all mobile (4/5G) internet connections are behind CGNAT, as is Starlink for example. For landline internet connections it is indeed uncommon.
Starlink has supported IPv6 for years. You have to put their router in bypass mode and connect your own to open ports in the firewall though. They delegate a /56 prefix and it's stable. Mine hasn't changed in over 3 years. Since my cell carrier also provides IPv6, I can access my SFTP server remotely without dealing with any NAT. |
||||||||||
| 2 | |||||||||||
|
quadrant5835
lemmy.zip
quadrant5835@lemmy.zip Joined: 2026-01-27 |
I hear a lot of chatter about CGNAT. How common is that? Anecdotally, I'll have to say, I've never encountered it... ever.
I'm in the US and my ISP gives everyone CGNAT by default. On the lower tier plans, we have the option to buy a semi-static IP for an extra fee. The higher tier plans include the semi-static IP for free upon request. I have also been talking with them about IPv6. They will only grant customers a /64 prefix because their pool of v6 addresses is so small, they would run out of their allocation if they granted customers a /60. By only giving customers a single /64 I cannot implement v6 on my VLANs. This is incredibly frustrating considering v6 has like so many addresses it's not even like a number most people know. Like a trillion trillion or whatever. And you're telling me I can only have one (subnet)? |
||||||||||
| 4 | |||||||||||
|
vrek
programming.dev
vrek@programming.dev Joined: 2023-06-20 |
If you're in the US, it's because all of the major ISPs siphoned up much of the ipv4 address space so they can still offer it to everyone. In Australia, on the other hand, most ISPs provide CGNAT by default, although most of them offer a free opt-out and have ipv6. Mobile services are also typically CGNAT, although many offer ipv6 + 464XLAT (an ipv4 compatibility mode using ipv6). In developing...
Ford has the entire 19.x.x.x ip address space, Benz has all of 53.x.x.x Why? |
||||||||||
| 9 | |||||||||||
|
Err(()).unwrap()
lemmy.world
rtxn@lemmy.world Joined: 2023-06-24 |
Ford has the entire 19.x.x.x ip address space, Benz has all of 53.x.x.x Why?
Early adopters. I work at a university that owns multiple /24 blocks (and probably an entire /16, but no concrete evidence) because they were assigned during the internet's infancy. |
||||||||||
| 5 | |||||||||||
xavier666
lemmy.umucat.day
xavier666@lemmy.umucat.dayJoined: 2025-06-06 |
If you're in the US, it's because all of the major ISPs siphoned up much of the ipv4 address space so they can still offer it to everyone. In Australia, on the other hand, most ISPs provide CGNAT by default, although most of them offer a free opt-out and have ipv6. Mobile services are also typically CGNAT, although many offer ipv6 + 464XLAT (an ipv4 compatibility mode using ipv6). In developing...
Some ISPs in India provide dynamic public IP, which is way better than CGNAT. You just need to run a DDNS client on your router. |
||||||||||
| 1 | |||||||||||
poVoq
slrpnk.net
poVoq@slrpnk.netJoined: 2022-09-19 |
Starlink has supported IPv6 for years. You have to put their router in bypass mode and connect your own to open ports in the firewall though. They delegate a /56 prefix and it's stable. Mine hasn't changed in over 3 years. Since my cell carrier also provides IPv6, I can access my SFTP server remotely without dealing with any NAT.
Yes, I am aware. But that is not very helpful if you want to host something publicly or even just want it accessible from the random wifi hotspot you might use that more likely than not is IPv4 only. |
||||||||||
| 1 | |||||||||||
|
VK4SSH
lemmy.radio
VK4SSH@lemmy.radio Joined: 2026-09-01 |
Early adopters. I work at a university that owns multiple /24 blocks (and probably an entire /16, but no concrete evidence) because they were assigned during the internet's infancy.
I believe the smallest range you can announce over BGP is a /24. So it's not really anything special (I'm even authorised to use one), a /16 is less common these days though. |
||||||||||
| 1 | |||||||||||
|
non_burglar
lemmy.world
non_burglar@lemmy.world Joined: 2023-06-16 |
You're talking about 2 different things here. Bit masking part of what is now CIDR was implementable since the mid 90s on network segments, it's the logic to route packets based on CIDR that was integrated into RIP, GRIP, and BGP. Also, CIDR can't alleviate multi-hop routing address exhaustion. |
||||||||||
| 1 | |||||||||||
|
TORFdot0
lemmy.world
TORFdot0@lemmy.world Joined: 2023-06-30 |
You absolutely shouldn't be exposing service on your computer to the internet Firewalls (not NAT) exist for a reason
NAT is not a firewall (as you mention) but the premise that it should be trivial to run an internet connected service isn’t realistic when there are so many bad actors on the network |
||||||||||
| 2 | |||||||||||
|
Kairos
lemmy.today
LodeMike@lemmy.today Joined: 2023-12-26 |
People think hosting their own services is unsafe are correct for them because they don't know how the internet works or anything. |
||||||||||
| 5 | |||||||||||
|
enchantedgoldapple
sopuli.xyz
enchantedgoldapple@sopuli.xyz Joined: 2025-10-26 |
This was an extremely interesting and informative read. I have been fascinated by computer networks and recently started reading about them. I was surprised that I was able to understand almost the entirety of the article despite my limited knowledge of networks. Are there recommendations for textbooks or resources that explain computer networks in a manner similar to that of this article? |
||||||||||
| 5 | |||||||||||
|
eleitl
lemmy.zip
eleitl@lemmy.zip Joined: 2025-06-05 |
I am one of few people who runs a proper dual-stack with a single static IPv4 and a static IPv6 subnet. Nevertheless I also participate in experimental network overlays like https://yggdrasil-network.github.io/ and distributed storage like IPFS. |
||||||||||
| 3 | |||||||||||
tko
tkohhh.social
tko@tkohhh.socialJoined: 2023-06-27 |
In the same way that the XKCD hand-waved FTP, this article hand-waves the idea that we shouldn't be concerned about who can access our self-hosted services. I'm not saying it's wrong, but I'd like more of an explanation on why we shouldn't be concerned about allowing anybody on the internet having direct communication with our computers. |
||||||||||
| 4 | |||||||||||
tko
tkohhh.social
tko@tkohhh.socialJoined: 2023-06-27 |
This was an extremely interesting and informative read. I have been fascinated by computer networks and recently started reading about them. I was surprised that I was able to understand almost the entirety of the article despite my limited knowledge of networks. Are there recommendations for textbooks or resources that explain computer networks in a manner similar to that of this article?
I read "Networking for Dummies" in 2005, and it gave me a GREAT baseline understanding. I don't recall how much it discussed ipv6 at that time, but I imagine the newer editions cover it. |
||||||||||
| 4 | |||||||||||
|
WhyJiffie
sh.itjust.works
WhyJiffie@sh.itjust.works Joined: 2023-07-11 |
In the same way that the XKCD hand-waved FTP, this article hand-waves the idea that we shouldn't be concerned about who can access our self-hosted services. I'm not saying it's wrong, but I'd like more of an explanation on why we shouldn't be concerned about allowing anybody on the internet having direct communication with our computers.
it presents firewalls like some useless burden, I don't get how can one see it like that in this age |
||||||||||
| 4 | |||||||||||
mlg
lemmy.world
mlg@lemmy.worldJoined: 2023-07-29 |
Saw the title and I already knew IPv6 was still gonna be "not enough adoption" lol. The overly aggressive lockdown from NAT is not entirely misplaced though. Windows is already notorious for default hosting an atrocious level of protocols that are anywhere between "I can get your NetNTLMv2 hash for free" to "gg ez RCE as SYSTEM user". Linux and Unix were also not magically protected either, like every FTP server implementation has had several RCE vulns and it was so bad that Linus himself pointed out how easy it was to abuse buffer overflow vulns even after the addition of NX mem protection with return to libc, several years before ASLR finally landed in Linux and Windows. Seriously, the early 2000s was the wild west of vulns because everything was still written in C++ so you could just waltz into any binary, find some stack/heap overflow, and you're on your way to an RCE. NAT (and firewall) most definitely did prevent millions of users from getting rekt by a metric ton of malware that operated on the ability to connect to those services. |
||||||||||
| 2 | |||||||||||
|
FE80
lemmy.world
FE80@lemmy.world Joined: 2025-02-08 |
I'm in the US and my ISP gives everyone CGNAT by default. On the lower tier plans, we have the option to buy a semi-static IP for an extra fee. The higher tier plans include the semi-static IP for free upon request. I have also been talking with them about IPv6. They will only grant customers a /64 prefix because their pool of v6 addresses is so small, they would run out of their allocation if ...
This is an absurd excuse, IPv6 blocks are cheap. buy more. |
||||||||||
| 2 | |||||||||||
|
Decronym
Bot
Decronym@lemmy.decronym.xyz Joined: 2026-01-05 |
Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I've seen in this thread:
[Thread #94 for this comm, first seen 2nd Sep 2026, 22:50] |
||||||||||
| 1 | |||||||||||
|
Joined: 2022-11-07 |
Saw the title and I already knew IPv6 was still gonna be "not enough adoption" lol. The overly aggressive lockdown from NAT is not entirely misplaced though. Windows is already notorious for default hosting an atrocious level of protocols that are anywhere between "I can get your NetNTLMv2 hash for free" to "gg ez RCE as SYSTEM user". Linux and Unix were also not magically protected either, lik...
@mlg @leanleft otoh, it could be argued that widespread usage of NATs kept people from actually hardening their software stacks. For servers, admins moved from hole-ridden garbage like sendmail to stuff that was designed with security in mind like postfix. However, for desktop software and home stuff, there was never much of a need, so a lot of the biggest companies have cultures of extremely sloppy security practices in shipped software. And it's slated to get worse with AI adoption... |
||||||||||
| 2 | |||||||||||
Appoxo
lemmy.dbzer0.com
Appoxo@lemmy.dbzer0.comJoined: 2023-07-01 |
@mlg @leanleft otoh, it could be argued that widespread usage of NATs kept people from actually hardening their software stacks. For servers, admins moved from hole-ridden garbage like sendmail to stuff that was designed with security in mind like postfix. However, for desktop software and home stuff, there was never much of a need, so a lot of the biggest companies have cultures of extremely s...
As usual, nuances have layers. |
||||||||||
| 3 | |||||||||||
|
max_t
lemmy.world
max_t@lemmy.world Joined: 2026-08-24 |
Saw the title and I already knew IPv6 was still gonna be "not enough adoption" lol. The overly aggressive lockdown from NAT is not entirely misplaced though. Windows is already notorious for default hosting an atrocious level of protocols that are anywhere between "I can get your NetNTLMv2 hash for free" to "gg ez RCE as SYSTEM user". Linux and Unix were also not magically protected either, lik...
Sure nooe is focussing on OS security if all is behind a NAT anyway. Cause and effect might be reversed here. Also since basicall, every server is running linux today, this cannot be so bad, right? |
||||||||||
| 1 | |||||||||||
|
litchralee
sh.itjust.works
litchralee@sh.itjust.works Joined: 2023-07-02 |
it presents firewalls like some useless burden, I don't get how can one see it like that in this age
This and the comment it replies to make the categorical error which is to assume that NAT exists as part-and-parcel to firewalling. This is not the case. Many American university and corporate networks do still adhere to the end-to-end principle by giving every device a public IP address. They can do this because they are among the few legacy entities that actually have enough for their needs, such as a Class A (aka /8) subnet on Legacy IP. At the same time, these entities employ firewalls that don't allow unsolicited inbound traffic (and sometimes also block disallowed outbound traffic). NAT is not a firewall, and the OP correctly points out that by using NAT or CGNAT, the end to end principle is demolished, with no way for the victims to recover. OP mentions "firewalls" exactly twice, to compare how they are not firewalls and are still necessary in spite of NAT. Nobody is credibly suggesting that everyone should switch to IPv6 without a firewall. Every single domestic router for the past two decades has included a firewall, and that would not change in an all IPv6 world. I wish to reiterate an example I've used in the past, which is that the most famous address in the USA is 1600 Pennsylvania Ave, Washington DC. Anyone can send letters and parcels directly to this address as-written, with no need to rewrite the address to first arrive at the Secret Service. And yet, all such parcels and letters will be thoroughly scrutinized by the Secret Service anyway at an off-site facility, and some indeed will be let through to the occupants of the residence. NAT is address mutilation, and the United States Postal Service does not require nor allow that. |
||||||||||
| 0 | |||||||||||
|
WhyJiffie
sh.itjust.works
WhyJiffie@sh.itjust.works Joined: 2023-07-11 |
This and the comment it replies to make the categorical error which is to assume that NAT exists as part-and-parcel to firewalling. This is not the case. Many American university and corporate networks do still adhere to the end-to-end principle by giving every device a public IP address. They can do this because they are among the few legacy entities that actually have enough for their needs, ...
OP writes:
my ISP router does not have firewall settings, despite supporting IPv6. it has a DMZ setting, able to forward all incoming traffic to a specific internal IP, and that's it. I have a similar experience with cheap consumer routers too. |
||||||||||
| 0 | |||||||||||
tko
tkohhh.social
tko@tkohhh.socialJoined: 2023-06-27 |
This and the comment it replies to make the categorical error which is to assume that NAT exists as part-and-parcel to firewalling. This is not the case. Many American university and corporate networks do still adhere to the end-to-end principle by giving every device a public IP address. They can do this because they are among the few legacy entities that actually have enough for their needs, ...
My comment, which you refer to, said nothing about NAT -or- firewalls. Rather, it's a direct response to the second sentence in the article's opening paragraph: "To the average computer user, the idea that someone could just… connect to your computer feels exotic, or even dangerous..." You may be correct that nobody would recommend implementing IPv6 without a firewall. But this article avoids the subject of firewalls completely, which in combination with that opening paragraph leaves the distinct impression that we shouldn't be concerned about it because that's the way the internet was meant to be. Of course this has nothing to do with NAT or IPv6, and the value of IPv6 can't be overstated. But to ignore the security part of the equation is going to have one of two effects: 1) people who don't know better will think they can use IPv6 without a firewall, or 2) people who understand the risks will be skeptical of the claims that IPv6 is better because you are leaving out an important part of the equation. |
||||||||||
| 2 | |||||||||||
Arda
piefed.social
Arda@piefed.socialJoined: 2026-09-10 |
You absolutely shouldn't be exposing service on your computer to the internet Firewalls (not NAT) exist for a reason
Depends |
||||||||||
| 1 | |||||||||||
| Post Reply |
Back to top |