Hi,

I’ve been trying to work out my network architecture with the pieces i have today:

  • isp box with 10gig dac downlink, 4 ssd bays
  • pfsense box with dual 10gig dac card
  • switch with 10gig dac uplink and multi gig rj45
  • main proxmox host
  • other devices (laptops, iot…)

ive ran into a dilemma regarding switching my isp box to bridge mode:

  • if i do, i lose wlan and nas capabilities
  • if i dont, i have to contend with double nat

i’m sure that eventually i will get an ap (maybe unifi) and a dedicated nas (either home built or something like synology or asustore), but for the moment, i want to keep cost down and gradually add new pieces

i was wondering if double nat is of huge performance and maintenance implications, or if i would be okay running this setup for a few months until i get to add an ap and nas?

thank you

  • DefederateLemmyMl@feddit.nl
    link
    fedilink
    English
    arrow-up
    35
    ·
    1 year ago

    Using double NAT here because my ISP won’t even support/allow putting their box in bridge mode and I don’t even have root access to it, just some limited functionality via their web GUI.

    I haven’t had any issues with it.

    • lemmyvore@feddit.nl
      link
      fedilink
      English
      arrow-up
      19
      arrow-down
      1
      ·
      edit-2
      1 year ago

      Can you set the ISP box to designate your router as DMZ (de-militarized zone)? Your router needs to get a static IP from the private subnet defined by their router, then you mark that IP as DMZ in their router’s settings.

      It’s not technically the same as bridge mode, the ISP box continues to act as a router but also exposes your router fully to the internet so you can mostly ignore theirs afterward.

    • JustEnoughDucks@feddit.nl
      link
      fedilink
      English
      arrow-up
      4
      ·
      1 year ago

      Exact same situation, but I have had issues with the shitty ISP box resetting itself on an outage and simply not forwarding traffic from the open ports to my router with a static IP. It would just say “no” and I had to change the static IP on the ISP box and reboot everything and then it would work fine. It has been fine for 3-4 months without needing anything, but sometimes it is annoying.

  • wwwwhatever@lemmy.omat.nl
    link
    fedilink
    English
    arrow-up
    15
    ·
    1 year ago

    You’ll be fine. In the past stuff like ftp and sip could get confused by double nat, but not so much today. And stuff like opening a port from outside to the inside needs some planning through double nat.

    We run it in the office for years now and it is totally fine. We are in a building with multiple companies sharing internet and we wanted our own network within, so we are using double nat (internet modem and our switch).

  • vzq@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    13
    ·
    edit-2
    1 year ago

    It’s not a huge issue. Especially if you can forward ports in bulk to the second router.

    I’m surprised your ISP box can route traffic at 10G btw.

    Also be sure to check out grandstream APs and other alternatives . I run UniFi but I’m not sure I would deploy it today. Especially if you already have a pfsense box.

    • squigglycunt@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      5
      arrow-down
      1
      ·
      1 year ago

      its advertised as 10gbps but other people with the same box managed to get 8gbps during synthetic tests. not too shabby

      ill checkout those APs, do you have any specific models or other brands you would recommend? i’d be interested in 5Ghz (mayybe 6Ghz) and vlans by ssid (802.1 something 😂)

      thanks man

      • InvertedParallax@lemm.ee
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        Using unifi with that setup, 4 vlans for 4 ssids, I’m fine with it, but I think there’ll be some hate here for anything unifi nowadays.

        • vzq@lemmy.blahaj.zone
          link
          fedilink
          English
          arrow-up
          3
          arrow-down
          1
          ·
          1 year ago

          Yeah, I’m a very satisfied customer too, I didn’t mean to come off as a hater.

          I’m just a bit hesitant to recommend UniFi to people that run their own routers because they seem to be moving hard toward integrated solutions for the controller.

          • InvertedParallax@lemm.ee
            link
            fedilink
            English
            arrow-up
            2
            ·
            1 year ago

            Worked on some of the chips they used, I like the way they rolled, but agree, they’re moving towards the dark side.

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

        Can you tell us what ISP is, and what’s the router brand and model? Even better add pictures? Seems like some Altice owned ISP.

  • Encrypt-Keeper@lemmy.world
    link
    fedilink
    arrow-up
    5
    ·
    edit-2
    1 year ago

    If it’s double NAT where you have control over both boxes, it’s not that big a deal. First of all, it only matters at all if you’re trying to forward ports for remote access to your services, in which case you just need to add two port forwarding rules for each service, instead of one, one in each firewall. Alternatively if the ISP router allows it, see if it has a 1:1 NAT feature, this way it forwards ALL the ports to your private router, where you can then be selective about which ports to allow.

    Alternatively, if you’re not trying to host services on your LAN for public access and consumption (Which would be a bad idea at this point in time anyway given your level of knowledge) don’t worry about the NAT or port forwarding at all and just use a mesh VPN like Tailscale (Optionally with the self hosted control application Headscale) and use that to access your services which outside home securely.

    • LazerFX@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      4
      arrow-down
      1
      ·
      1 year ago

      Some routers will call the 1:1 NAT feature, “DMZ” (Short for Demilitarised Zone). The idea is that you just act as a pass-through, in this case, “passing through” the external internal to the internal router.

  • Decronym@lemmy.decronym.xyzB
    link
    fedilink
    English
    arrow-up
    6
    arrow-down
    2
    ·
    edit-2
    1 year ago

    Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I’ve seen in this thread:

    Fewer Letters More Letters
    AP WiFi Access Point
    IP Internet Protocol
    NAT Network Address Translation
    VPN Virtual Private Network

    4 acronyms in this thread; the most compressed thread commented on today has 10 acronyms.

    [Thread #105 for this sub, first seen 4th Sep 2023, 08:55] [FAQ] [Full list] [Contact] [Source code]

  • skankhunt42@lemmy.ca
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    I double NAT. My ISP box gives off WiFi for consoles, guests, some IOT. UPNP is enabled and I generally don’t care what goes on there.

    My FW is an OPNSense box and everything I do is behind that. I’ve opened ports, run Tailscale, etc and have had no problems at all. All it is is an extra device to open a NAT rule in if I want to open something up.

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

    No issues with double NAT. I even had a setup with an internal and external net, and the provision that any network link originating from (not passing through) the outer NAT router would raise an alert on the inner NAT router - which would simply switch the outer NAT router off.

  • ShortFuse@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    1
    ·
    1 year ago

    Double NAT with DMZ.

    Those SIP ALGs are more trouble than they are worth. If you are using SIP devices, use a different outbound port on each device (eg: 5060, 5061, 5062).

  • tsz@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    6
    ·
    1 year ago

    If you’re using double NAT, you’re doing something wrong. If you want to do it right, stop using double nat. If that doesn’t matter to you, and you’re comfortable supporting a broken-by-design network, do it.

    • LazerFX@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      1
      ·
      1 year ago

      I’m going to briefly explain why I downvoted… this (I feel) is an unhelpful comment that doesn’t explain anything. You say, “[if] you’re comfortable support a broken-by-design network, do it.”, but you don’t explain why it’s a broken-by-design network.

      I’ll say - I agree with you, but the comment doesn’t actually enhance the conversation and comes off as abrasive and unhelpful. If I’m looking for information, I’d rather be given education (Even if it’s just a, “Go here for why you don’t do that!”), not just a, “Don’t do it” with no assistance and help for how to do it right.

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

        If you don’t understand why it’ss broken, I guess that’s on you. If you’re to tbe point op is in terms of their needs, network topology etc and you still don’t understand the fundamentals, what do you expect me to say to resolve that? If you’re OK with supporting your broken, incorrectly configured network, then by all means. If you are not, then expect the answer from those you’re asking for help from to be “fix your shit”. Do not expect anyone to educate you. It’s like arguing with creationists - you picked this dumbass thing to get behind, I’m not on the hook to explain basic logic to you.