I’ve been setting up my first nas and set up DNS routing from my router to adguard home, which then routes traffic to nginx-proxy-manager, which then routes to the docker container for the intended service. I’ve spent days pulling my hair out, trying to figure out what the issue was - why all my services behind NPM were periodically unreachable on my browser. after a wifi reset on my laptop they’d come back online, but why? today I found out that although my router correctly had the DHCP setting correctly set up to route IPv4 traffic to adguard, there was a separate section in the router settings that handles IPv6 settings, and that this was set up to look for my ISP’s assigned DNS provider. Just posting on the off chance anyone finds this helpful or entertaining. I am extremely tired (I have a 3 month old baby) so please bare with the poor formatting of the post!

  • aichan@piefed.blahaj.zone
    link
    fedilink
    English
    arrow-up
    9
    ·
    17 小时前

    Hey, congrats on your first NAS! I also struggled a lot at the beginning, but once you figure out some stuff at least you achieve an stable-ish baseline. And congrats on the baby too, good luck trying to manage both ;)

  • surewhynotlem@lemmy.world
    link
    fedilink
    English
    arrow-up
    9
    arrow-down
    10
    ·
    17 小时前

    I disabled ipv6 across the board. I don’t want my internal devices to be individually routable from the outside. I don’t have a million devices. It’s complexity I don’t want.

    Is there anything I’m missing?

    • slazer2au@lemmy.world
      link
      fedilink
      English
      arrow-up
      15
      arrow-down
      2
      ·
      16 小时前

      Do you not run a firewall? Because your concerns are 100% fixed with a statefull firewall.

      • surewhynotlem@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        ·
        10 小时前

        I think I worded this poorly. My point about being individually routable is that, that’s the only benefit IPv6 seems to have. Unless I’m missing something.

      • Onomatopoeia@lemmy.cafe
        link
        fedilink
        English
        arrow-up
        4
        arrow-down
        5
        ·
        14 小时前

        Or, just completely bypass any config by simply not using IP6 for an environment where it offers no advantage

          • ogy@fedia.ioOP
            link
            fedilink
            arrow-up
            1
            ·
            7 小时前

            I ended up having to. I’d have liked to keep IPv6 on, but my router wasn’t letting me permanently route the IPv6 traffic to my nas. something about my ISP using dynamic addresses so it would change periodically, and the router wouldn’t accept the format of IP addresses that I generated.

            • cmnybo@discuss.tchncs.de
              link
              fedilink
              English
              arrow-up
              1
              ·
              6 小时前

              Some ISPs just have a broken IPv6 implementation. If they do it correctly, they should delegate a /56 prefix that doesn’t change unless the DUID on your router changes or your PoP changes.

    • thelittleblackbird@lemmy.world
      link
      fedilink
      English
      arrow-up
      9
      arrow-down
      2
      ·
      16 小时前

      Well…

      Ipv6 is needed for peer to peer networks, easier for vpn and full mndgoru if you want to have a vps…

      With it, you can avoid Cgnats and home Nats and usually it is faster and more reliable than ipv4.

      So, see it for yourself…

      • HelloRoot@lemy.lol
        link
        fedilink
        English
        arrow-up
        3
        arrow-down
        1
        ·
        edit-2
        13 小时前

        Every time I try to use Ipv6, I run into dozens of weird issues and bugs and my selfhosted stuff becomes unusable/unreliable.

        I don’t know where the issue exactly lies in the chain of networking, but it sure is annoying as a motherfucker to debug. As far as I can tell none of my stuff is the problem and the issue lies either with my ISP or VPS provider.

        For now, I removed the AAAA entries and suddenly everything works without any hiccups. Wake me up when those issues are solved… maybe in 10 or 20 years…

        • thelittleblackbird@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          arrow-down
          1
          ·
          12 小时前

          Don’t know what to say,

          I maintain a double stack since 5 years and apart of some small nuisance I never had a real problem.

          Ipv6 has been with us for more than 20 years, and It is true that to have that fine grain control in ipv6 you will need to go to a prosumer devices, but those are not that expensive and if you have a home lab you should check on them anyway…

          Things are mature despite your bad experiences

          • HelloRoot@lemy.lol
            link
            fedilink
            English
            arrow-up
            1
            ·
            edit-2
            4 小时前

            Not as mature as ipv4 apperantly.

            ipv6 works fine on my intranet.

            If big company A or B can’t get their shit together don’t blame the victim. But if you don’t believe me, I invite you to a debugging session. Honestly I’d be happy to be proven wrong if it works in the end.

          • ogy@fedia.ioOP
            link
            fedilink
            arrow-up
            2
            ·
            7 小时前

            I think it varies massively by ISP. my ISP has not implemented IPv6 properly so it causes all sorts of grief for me

    • 4am@lemmy.zip
      link
      fedilink
      English
      arrow-up
      3
      arrow-down
      3
      ·
      11 小时前

      NAT is not a security feature. This is a poor recommendation. Just because something has a globally-routable address does not make it accessible from anywhere.

      • surewhynotlem@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        ·
        10 小时前

        I didn’t say it was a security feature. But I also don’t really want my ISP knowing how many devices are in my house.

        • jake_jake_jake_@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          edit-2
          46 分钟前

          Depending on how your ISP is doing IPv6, the typical way would just route the entire prefix to your router, and the ISP would not know how many addresses are used, in the sense that there is no table (no neighbor discovery is needed). If your ISP is keeping data of flows from your prefix then it could start counting unique addresses, but there isn’t really good a reason to and it wouldn’t be accurate. Some devices pull and use more than one address, and quiet devices might not get picked up by flows which are typically sampled at a ratio.