top 50 comments

sorted by: hot top controversial new old
[–] 126 points 9 months ago (34 children)

One of the startups I worked for did business with Ford. We needed info about their networks to get them connected to our service in AWS, and in the process we learned that they still use public IPs for everything. Every workstation, server, router, etc. connected to the internet from a public IP, no NAT and only protected by extremely complicated firewall rules. Their IT team must be in constant distress, or super defensive about their architecture haha

  • source
  • hideshow 34 child comments
  • [–] 45 points 9 months ago (24 children)

    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.

  • source
  • parent
  • hideshow 24 child comments
  • [–] 37 points 9 months ago (21 children)

    NAT isn’t “security” in the cryptographic sense, but saying “no NAT has no downside to security” ignores what NAT + private addressing is used for: a hard boundary that prevents a whole class of accidental exposure.

    Easy examples:

    Home network analogy: Your laptop has a private IP (192.168.x.x). People on the internet can’t just connect to it unless you explicitly port-forward. If your router’s firewall rule is messy or you temporarily enable a service, that laptop still isn’t automatically internet-reachable. With public IPs on every device, a single bad rule can put that laptop directly on the internet.

    Someone enables RDP/SSH “just to test something"? Behind NAT, it’s usually still not reachable inbound unless you publish it. With public addressing everywhere, one mis-scoped firewall rule (or host firewall disabled) can instantly make it reachable from anywhere.

    With NAT, “what’s internet-facing?” is basically “what did we intentionally publish on the edge” (load balancer, reverse proxy, VPN gateway). With public IPs on every endpoint, “what’s internet-facing?” becomes “prove the firewall posture for thousands of hosts and ports,” which is harder and riskier at scale.

    You’re right that IPv6 removes the address shortage reason for NAT. But IPv6 does not mean “everything must be publicly reachable.” The IPv6 equivalent of “internal-only” is using ULA (fc00::/7) for internal addressing, and/or using globally routable IPv6 but keeping a default-deny inbound firewall and publishing only through controlled ingress (reverse proxy, load balancer, VPN/Zero Trust).

    So the point isn’t “NAT = security.” The point is: NAT + private addressing is a very effective exposure control and mistake-buffer. You can replicate the security model without NAT (especially in IPv6), but you do it with addressing design + strict firewalling + controlled ingres, not by claiming there’s no downside.

    You don't want every device on your network publicly addressable, it's going to cause you some problems.

  • source
  • parent
  • hideshow 21 child comments
  • [–] 8 points 9 months ago (17 children)

    That's not how that works

    NAT is not a firewall. If you don't have a Firewall in place bad things will happen.

    For IPv6 you just set your Firewall to deny all and then add exceptions as needed. That is the default pretty much everywhere.

  • source
  • parent
  • hideshow 17 child comments
  • [–] 8 points 9 months ago (6 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.

  • source
  • parent
  • hideshow 6 child comments
  • load more comments (6 replies)
  • load more comments (9 replies)
  • [–] 2 points 9 months ago

    Lots of text here but a firewall with inbound deny default rule is considerably easier to manage than port and ip address translation. It’s also possible to get unexpected inbound traffic with NAT. It’s how Tailscale works for example. Sounds like a security failure to me.

  • source
  • parent
  • [–] 1 point 9 months ago

    hard boundary that prevents a whole class of accidental exposure.

    Yeah, that’s a firewall. I fucking hate hearing about how NAT is more “secure” than public IPs. It's not. It’s not a fucking security feature and should not be treated as one or relied upon implicitly or in any way at all. This is the kind of shit that slows down IPv6 adoption because it’s “less secure”

    JFC if you’re relying on NAT for security then you’re doing it wrong. Period.

  • source
  • parent
  • [–] 1 point 9 months ago

    Just wait until the day ipv6 is finally adopted readily and we’ll have this same argument about whether IPv6 addresses are a security feature when a /64 is too big a range to scan

  • source
  • parent
  • [–] 17 points 9 months ago (1 child)

    I hosted the CISO dinner at Auto-ISAC a few years ago. Very calm and collected group who know they're on the precipice of Armageddon at all times.

    GM dude was particularly kind. All but harassed me until I promised to change my travel habits and take red-eyes bc to optimize the amount of minutes with family is p0. Stuck with me.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 7 points 9 months ago

    …connected to the internet from a public IP, no NAT and only protected by extremely complicated firewall rules. Their IT team must be in constant distress, or super defensive about their architecture haha

    Why they will be protected like everyone else. With the same default rule like every other company.

    I think it more odd that they haven’t sold it for a lot of money.

  • source
  • parent
  • [–] 36 points 9 months ago (5 children)

    I see now why we were predicted to run out of IPv4 addresses, and also why we don't appear to have actually run out of them yet.

    Although why they still have such massive ranges of IPs is crazy.

  • source
  • hideshow 5 child comments
  • [–] 32 points 9 months ago (2 children)

    That's legacy addressing for you

    There is a reason IPv6 is a thing

  • source
  • hideshow 2 child comments
  • [–] 30 points 9 months ago (2 children)

    I've been in IT since 1997. Back in the old times, network blocks were like free. I've worked for several places with full /8 public CIDRs - One employer didn't even NAT the addresses and every PC and server on our network had a public IP address. Firewalls were in place so the IPs weren't public in the traditional sense, but it was always fun explaining to some new hire why our IP addresses didn't look like they expected.

  • source
  • hideshow 2 child comments
  • [–] 14 points 9 months ago (1 child)

    That's when I started my career, '98 for me. I was installing cable internet and DSL when those were new. Everyone just jacked straight into the internet, straight into the wall, butt naked! I was telling all my customers to download ZoneAlarm. :)

  • source
  • parent
  • hideshow 1 child comment
  • [–] 1 point 9 months ago

    Everyone just jacked straight into the internet, straight into the wall, butt naked!

    That explains all the semen on the Internet in the 90’s; jacking it butt naked straight into the internet will have that effect.

  • source
  • parent
  • [–] 24 points 9 months ago (4 children)
  • [–] 12 points 9 months ago* (2 children)

    Domain squatting is bad!

    /s

    Money. Pure and simple.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 26 points 9 months ago (1 child)

    I bet it's an artifact from beginning of IP and they were given a huge chunk.

    There is nothing legally we can about it. I suspect if they were smaller and less monied we could

  • source
  • parent
  • hideshow 1 child comment
  • [–] 21 points 9 months ago* (last edited 9 months ago)

    I use to work for a small company who owned two A blocks. It was nuts. I wonder how much they sold them for. Maybe they still own them.

    EDIT: They don't own them anymore it looks like.

  • source
  • [–] 14 points 9 months ago

    I worked for a small insurance company owned by a slightly larger organization. That organization had a class B address space. They gave us 4 class C's from that class B, or about 1000 addresses in the 1990's for a company with 50 employees.

  • source
  • [–] 4 points 9 months ago (1 child)

    My university had an entire /8 block and no real centralized IT. A number of departments ran NAT internally but the default was that every computer was assigned a public IP. This included connecting a laptop to the network in the library or in a dorm room. At some point they did require associating your MAC with a student or staff ID in order to acquire an IP.

    There was also a pretty robust collection of drives shared on the network. Some were intentional and slightly nefarious, some were accidental and the people didn't even realize they were sharing.

    This was over 25 years ago.

  • source
  • hideshow 1 child comment
  • load more comments
    view more: next ›