The question above for the most part, been reading up on it. Also want to it for learning purposes.

  • Reliant1087@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 year ago

    So even though the device has a public address, the route is through the firewall, hence the ability to filter traffic?

    • Unaware7013@kbin.social
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      Yes, the firewall is still your transition point from your internal network to your ISP network. Just like with ipv4, you should be configuring your ipv6 firewall to only allow designated traffic into your network from the internet.

    • orangeboats@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      1 year ago

      Right. Packets still have to go through your router, assuming that your router has firewall turned on, it goes like this:

      1. Your router receives a packet.

      2. It checks whether the packet is “expected” (a “related” packet) - by using connection tracking.

        For example, if ComputerA had sent something to ServerX before, and now the packet received by router says “from ServerX to ComputerA”, then the packet is let through - surely, this packet is just a reply to ComputerA’s previous requests.

      3. If step 2 fails - we know this is a new incoming packet. Possibly it comes from an attacker, which we don’t want. And so the router checks whether there is a rule that allows such a packet to go through (the assumption is that since you are explicitly allowing it, you know how to secure yourself.)

        If I have setup a firewall rule that says “allow packets if their destination is ComputerB, TCP port 25565”, and the received packet matches this description, the router lets it through.

      4. Finally, the packets that the router accepts from the previous steps are forwarded to the relevant LAN hosts.