• Brkdncr@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    2
    ·
    21 hours ago

    Port forwarding is a function of NAT. It’s only needed because there aren’t enough ipv4 addresses for every device, so in most networks a lot of devices share a single ip and specific ports are forwarded to specific internal hosts

    IPv6 has a large enough address space that this isn’t needed. You can still do it if you want. But mostly you just need a firewall without any NAT.

    There’s more to it than this but you should get the idea.

    • vextuu@ttrpg.networkOP
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      1
      ·
      20 hours ago

      That’s great and all, but how does it help with VPNs only forwarding one port?

      • Brkdncr@lemmy.world
        link
        fedilink
        English
        arrow-up
        4
        arrow-down
        1
        ·
        20 hours ago

        You responded to a question with an incorrect answer. I was correcting that.

        VPNs shouldn’t need to forward any ports when using ipv6. They can provide an entire ipv6 subnet to you.