• Laser@feddit.org
    link
    fedilink
    arrow-up
    4
    arrow-down
    3
    ·
    24 hours ago

    Idk man, NAT makes a lot of sense once you get used to it.

    That’s a lie, NAT is bullshit, sometimes necessary, but it will never “make sense”.

    • slate@sh.itjust.works
      link
      fedilink
      arrow-up
      6
      arrow-down
      2
      ·
      23 hours ago

      I like that none of my local devices are externally addressable unless an outgoing connection has been established. You can (and should) achieve the same thing with ipv6, but then it’s essentially just maintaining a NAT table without the translation piece. I think that makes sense in both protocols.

      • Eager Eagle@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        19 hours ago

        exactly, I also like this peace of mind for my home network and see no benefit in using ipv6 there. Similarly for any VPC I deploy to an IaaS.

        • unquietwiki@programming.dev
          link
          fedilink
          English
          arrow-up
          1
          ·
          52 minutes ago

          I’m actually trying a hybrid approach with some VPCs: use firewalled IPv6 ports for remote management, direct to the VMs; while siphoning off the IPv4 traffic to a basic Linux host with Netfilter rules acting as a NAT router. I keep the benefits of using IPv6, without eating up a bunch of external IPv4 addresses, that I would also have to account for on filtering.

      • Laser@feddit.org
        link
        fedilink
        arrow-up
        2
        ·
        23 hours ago

        I like that none of my local devices are externally addressable unless an outgoing connection has been established.

        This can also be achieved using (other) firewall rules.

        but then it’s essentially just maintaining a NAT table without the translation piece.

        So… a firewall?

        NAT isn’t a security feature and shouldn’t be relied on for managing access to hosts.

        It also breaks the assumption of IP that connections between hosts are end-to-end, which requires sophisticated solutions so that everything works (more or less).

        I too employ NAT to make services accessible over IPv4. But only because it doesn’t work otherwise. Not because it “makes sense”. I don’t use it at all for IPv6.