this post was submitted on 14 Dec 2025
260 points (98.9% liked)

Today I Learned

26210 readers
784 users here now

What did you learn today? Share it with us!

We learn something new every day. This is a community dedicated to informing each other and helping to spread knowledge.

The rules for posting and commenting, besides the rules defined here for lemmy.world, are as follows:

Rules (interactive)


Rule 1- All posts must begin with TIL. Linking to a source of info is optional, but highly recommended as it helps to spark discussion.

** Posts must be about an actual fact that you have learned, but it doesn't matter if you learned it today. See Rule 6 for all exceptions.**



Rule 2- Your post subject cannot be illegal or NSFW material.

Your post subject cannot be illegal or NSFW material. You will be warned first, banned second.



Rule 3- Do not seek mental, medical and professional help here.

Do not seek mental, medical and professional help here. Breaking this rule will not get you or your post removed, but it will put you at risk, and possibly in danger.



Rule 4- No self promotion or upvote-farming of any kind.

That's it.



Rule 5- No baiting or sealioning or promoting an agenda.

Posts and comments which, instead of being of an innocuous nature, are specifically intended (based on reports and in the opinion of our crack moderation team) to bait users into ideological wars on charged political topics will be removed and the authors warned - or banned - depending on severity.



Rule 6- Regarding non-TIL posts.

Provided it is about the community itself, you may post non-TIL posts using the [META] tag on your post title.



Rule 7- You can't harass or disturb other members.

If you vocally harass or discriminate against any individual member, you will be removed.

Likewise, if you are a member, sympathiser or a resemblant of a movement that is known to largely hate, mock, discriminate against, and/or want to take lives of a group of people, and you were provably vocal about your hate, then you will be banned on sight.

For further explanation, clarification and feedback about this rule, you may follow this link.



Rule 8- All comments should try to stay relevant to their parent content.



Rule 9- Reposts from other platforms are not allowed.

Let everyone have their own content.



Rule 10- Majority of bots aren't allowed to participate here.

Unless included in our Whitelist for Bots, your bot will not be allowed to participate in this community. To have your bot whitelisted, please contact the moderators for a short review.



Partnered Communities

You can view our partnered communities list by following this link. To partner with our community and be included, you are free to message the moderators or comment on a pinned post.

Community Moderation

For inquiry on becoming a moderator of this community, you may comment on the pinned post of the time, or simply shoot a message to the current moderators.

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] 3abas@lemmy.world 8 points 1 day ago (2 children)

I never suggested NAT is a firewall.

Your firewall is typically the device doing the NAT (or directly on the router if you're a home user and don't have a dedicated hardware firewall). Your firewall/router sits on the edge, exposed with a public IP.

If you desire to expose your laptop, for example, you setup an ingress rule that translates to the laptops local address, and your firewall/router translates all traffic matching the rule and sends it to the laptop.

I'm not sure which part you're not clear on.

[–] hamid@crazypeople.online -4 points 1 day ago (1 children)
[–] 3abas@lemmy.world 1 points 22 hours ago (1 children)

The comment I responded to:

If you have enough IPs then not using NAT makes everything less complicated without any downside to security. If you think otherwise then IPv6 is going to cause you some problems.

From my reading, it's asserting that you don't have to worry about private addressing, which is simply not true.

And from a net admin perspective, the complexity of NATing ipv4 public to private and exposing ULAs (whether you use NAT66 or NPTv6) is comparable.

If they just meant you don't have to worry about the underlying complexity of translating, that's both technically correct and unhelpful. You already don't have to worry about that.

It's this part that makes it clear to me they meant you don't have to worry about private addressing at all: "If you think otherwise then IPv6 is going to cause you some problems."

And I've explained it a few different ways in this thread already, so I don't want to repeat myself, but they are technically correct in that you absolutely could give every device a public IP, and it would be a headache to manage just like OP's example, where they give every device an ipv4 address without NATing...

[–] hamid@crazypeople.online 1 points 17 hours ago

No that image was for the last part of your comment "I’m not sure which part you’re not clear on."

You're right lol this image is for the person your wrote that too sorry.

[–] possiblylinux127@lemmy.zip -5 points 1 day ago* (last edited 1 day ago) (2 children)

From a network component perspective NAT is not a Firewall. It might run on the same device but it is entirely different function

A stateful Firewall is what provides the security. That has nothing to do with NAT. You can port forward a service or you can create a firewall exception. They both do exactly the same thing.

[–] 3abas@lemmy.world 4 points 22 hours ago

I never suggested NAT is a firewall.

[–] AA5B@lemmy.world 1 points 12 hours ago

Sure but the point was that nat allows you to choose private addresses that are by default not routed: the NAT becomes the only way internet traffic can reach your devices