How terrible is double NAT? really?

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

EncryptKeeper,

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,

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.

tsz,

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,

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,

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.

ShortFuse,

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).

Treczoks,

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.

skankhunt42,
@skankhunt42@lemmy.ca avatar

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.

TCB13,
@TCB13@lemmy.world avatar

Yes.

SpaceCadet,

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.

squigglycunt,

great, thanks for your input

SpaceCadet,

You’re welcome, cunt

fjordbasa,

Well that was uncal- …oh

SeeJayEmm,
@SeeJayEmm@lemmy.procrastinati.org avatar

What am I missing?

pacoo2454,

Check their username

wintermute_oregon,

I was like wtf. That was rude for no reason until I saw the are name.

I’m American so that’s a word you don’t use. It’s one of the few unspeakable words

TechieDamien,

That threw me for a loop!

JustEnoughDucks,

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.

YIj54yALOJxEsY20eU,

I’m not sure if its applicable for you or if you are aware but duckdns really helps with this problem. I’ve moved three times since and have never worried about ip addresses.

WhyAUsername_1,

I think you are referring to Public IP? The person above was talking about the static Local IP.

lemmyvore, (edited )

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.

SpaceCadet,

Yes, that’s essentially what I did.

vzq, (edited )

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,

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,

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,

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,

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

TCB13,
@TCB13@lemmy.world avatar

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.

toma,

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).

squigglycunt,

great! thanks man

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • uselessserver093
  • Food
  • aaaaaaacccccccce
  • [email protected]
  • test
  • CafeMeta
  • testmag
  • MUD
  • RhythmGameZone
  • RSS
  • dabs
  • Socialism
  • KbinCafe
  • TheResearchGuardian
  • oklahoma
  • feritale
  • SuperSentai
  • KamenRider
  • All magazines