Double NAT Linksys WRT1900AC

Post new topic   Reply to topic    DD-WRT Forum Index -> Marvell MVEBU based Hardware (WRT1900AC etc.)
Goto page 1, 2  Next
Author Message
chzuck
DD-WRT Novice


Joined: 24 Aug 2014
Posts: 26
Location: Pennsylvania

PostPosted: Tue Jun 04, 2024 13:43    Post subject: Double NAT Linksys WRT1900AC Reply with quote
At times I have problems accessing my desktop with other PCs on my home network. I did some network troubleshooting and the result was that I have double NAT. I have DD WRT, build 44048 on my Linksys WRT1900AC router. I have operating mode set as Gateway and from what I have been able to learn this may be my problem. I think it should be set to router. Am I right in my thinking? I am using a Netgear DM 200 Modem.
Sponsor
dale_gribble39
DD-WRT Guru


Joined: 11 Jun 2022
Posts: 2072

PostPosted: Tue Jun 04, 2024 15:27    Post subject: Reply with quote
The *first* thing you need to do is upgrade to a more recent build. 44048 vestigial fallback build is no longer required and has unpatched vulnerabilities. You may wish to flash and stay on the last K4.9 release, or flash current release - but the most important thing to remember is you will be required to reset to defaults after you flash and reboot because the nvram variables have changed on certain bits.

Last K4.9 Release: New Build - 10/14/2023 - r53633

https://download1.dd-wrt.com/dd-wrtv2/downloads/betas/2023/10-14-2023-r53633/


Current release as of this post: New Build - 05/24/2024 - r56490

https://download1.dd-wrt.com/dd-wrtv2/downloads/betas/2024/05-24-2024-r56490/

_________________
"The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep." - Robert Frost

"I am one of the noticeable ones - notice me" - Dale Frances McKenzie Bozzio

<fact>code knows no gender</fact>

This is me, knowing I've ruffled your feathers, and not giving a ****
Some people are still hard-headed.

--------------------------------------
Mac Pro (Mid 2012) - Two 2.4GHz 6-Core Intel Xeon E5645 processors 64GB 1333MHz DDR3 ECC SDRAM OpenSUSE Leap 15.5
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 13441
Location: Netherlands

PostPosted: Tue Jun 04, 2024 15:38    Post subject: Reply with quote
Double NAT is not a problem, having different subnets can be a problem and your firewall.

Besides you are running an old and unsafe build, recent builds are 56490

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
chzuck
DD-WRT Novice


Joined: 24 Aug 2014
Posts: 26
Location: Pennsylvania

PostPosted: Tue Jun 04, 2024 17:26    Post subject: Reply with quote
I thank you both. I will update as you suggested and go from there. Could you tell me if I was correct in setting the mode to router instead of gateway?
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 13441
Location: Netherlands

PostPosted: Tue Jun 04, 2024 17:31    Post subject: Reply with quote
Router mode is not very useful do not use it for now
_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087


Last edited by egc on Tue Jun 04, 2024 17:51; edited 1 time in total
Per Yngve Berg
DD-WRT Guru


Joined: 13 Aug 2013
Posts: 6968
Location: Romerike, Norway

PostPosted: Tue Jun 04, 2024 17:42    Post subject: Reply with quote
Router Mode will turn off NAT. For Routing to work, you must set a Static Route on the Upstream Router.
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 13441
Location: Netherlands

PostPosted: Tue Jun 04, 2024 17:55    Post subject: Reply with quote
For seamless access setup as a Wireless Access Point: https://github.com/egc112/ddwrt/blob/main/Wireless%20Access%20Point.md

If you want to keep the router on its own subnet see attached doc how to open up the firewall and set a static route.

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
chzuck
DD-WRT Novice


Joined: 24 Aug 2014
Posts: 26
Location: Pennsylvania

PostPosted: Thu Jun 06, 2024 3:09    Post subject: Reply with quote
My router is a WRT 1900AC ver1. Is r53633 the build I should install?
Is there a good tutorial on the process for updating to a new build? It has been quite sometime since I worked with dd-wrt and I want to do this correctly.
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 15243
Location: Texas, USA

PostPosted: Thu Jun 06, 2024 3:36    Post subject: Reply with quote
Sticky: DD-WRT Installation, Upgrade & Basic Setup–Cliff Notes

Which build depends on intended use and ISP bandwidth...

_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
chzuck
DD-WRT Novice


Joined: 24 Aug 2014
Posts: 26
Location: Pennsylvania

PostPosted: Thu Jun 06, 2024 13:43    Post subject: Reply with quote
kernel-panic69 wrote:
Sticky: DD-WRT Installation, Upgrade & Basic Setup–Cliff Notes

Which build depends on intended use and ISP bandwidth...


Would you have a link where I could educate myself on how to chose a build?
chzuck
DD-WRT Novice


Joined: 24 Aug 2014
Posts: 26
Location: Pennsylvania

PostPosted: Thu Jun 06, 2024 14:47    Post subject: Reply with quote
Per Yngve Berg wrote:
Router Mode will turn off NAT. For Routing to work, you must set a Static Route on the Upstream Router.

No other routers, just a Netgear modem.
ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 3380
Location: Germany

PostPosted: Thu Jun 06, 2024 15:23    Post subject: Reply with quote
Modem not in bridge mode?

Or what makes you think that otherwise double NAT is done?

_________________
Quickstart guides:
use Pi-Hole as simple DNS-Server with DD-WRT
VLAN configuration via GUI - 1 CPU port
VLAN configuration via GUI - 2 CPU ports (R7800, EA8500 etc)

Routers
Marvell OCTEON TX2 - QHora-322 - OpenWrt 23.05.3 - Gateway
Qualcomm IPQ8065 - R7800 - DD-WRT - WAP
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 15243
Location: Texas, USA

PostPosted: Thu Jun 06, 2024 16:44    Post subject: Reply with quote
chzuck wrote:
kernel-panic69 wrote:
Sticky: DD-WRT Installation, Upgrade & Basic Setup–Cliff Notes

Which build depends on intended use and ISP bandwidth...


Would you have a link where I could educate myself on how to chose a build?

In short, read announcements, stickies, and build release threads. Since you have an upstream modem, knowing what your ISP-advertised speeds would help determine if you want to join the folks testing the current releases or holding back on the last 4.9 kernel release as NAT acceleration development is still ongoing.
Announcement: Forum guidelines and pointers, read first!
Announcement: Marvell forum FAQ – README
Where do I find the best build for my router?

_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
chzuck
DD-WRT Novice


Joined: 24 Aug 2014
Posts: 26
Location: Pennsylvania

PostPosted: Thu Jun 06, 2024 17:58    Post subject: Reply with quote
kernel-panic69 wrote:
Sticky: DD-WRT Installation, Upgrade & Basic Setup–Cliff Notes

Which build depends on intended use and ISP bandwidth...


10 mbps, probably very slow by most standards. But we can stream movies pretty well, once in awhile it seems the resolution suffers, but mostly works well. It is just my wife and I and she does not use the Internet much.
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 15243
Location: Texas, USA

PostPosted: Thu Jun 06, 2024 18:45    Post subject: Reply with quote
Your modem can be placed in modem mode only to remove double NAT, but double NAT shouldn't be your issue with connecting between devices on the LAN side of your WRT1900AC. Placing the modem in modem-only mode may require changing WAN connection type in DD-WRT, so if it is connecting to the internet just fine, I don't see a reason to change that. It could be other DD-WRT / Windows configuration issues or using such and old build. Need more information to determine the problem, specifically screenshots of DD-WRT configuration, including wireless, that apply.

https://www.netgear.com/support/product/dm200/
https://www.downloads.netgear.com/files/GDC/DM200/DM200_UM_EN.pdf

_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
Goto page 1, 2  Next Display posts from previous:    Page 1 of 2
Post new topic   Reply to topic    DD-WRT Forum Index -> Marvell MVEBU based Hardware (WRT1900AC etc.) All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum