manage DDWRT router behind 2 routers from internet

Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking
Author Message
kenza750
DD-WRT Novice


Joined: 03 Jan 2012
Posts: 5
Location: Netherlands

PostPosted: Fri Jun 14, 2019 17:18    Post subject: manage DDWRT router behind 2 routers from internet Reply with quote
All,

First of all I would like to say hello to everybody on this beautiful forum Very Happy

For some time I am playing around with DDWRT in my home-setup. PFA the layout of my devices and connections.

At this point I would like to be able to manage the 2 DD-WRT devices from outside my LAN. I managed to do this for the EA6900 router, but I can not achieve to gain access to the GUI of the second EA6400 which is behind the EA6900.

What I did so far:
1. in EA6900: I enabled web GUI https port 443
2. in AVM: added port forward 443 to the EA6900 (WAN IP: 192.168.0.100)
3. This enables me to access the GUI of the EA6900 from outside my LAN.
4. in EA6400: enabled web GUI https port 444 (just +1)

BUT now....how do I get to the GUI of the EA6400?? I disabled the WAN-port on the EA6400 but I assigned it to the switch, so basically I now have 5 LAN ports available on the EA6400. LAN-IP of the EA6400 is 10.0.0.2.

So what must I configure (and where) to have access to the second DD-WRT device? I was thinking I should forward p444 in the EA6900 to the LAN-IP of the 6400, right? Well, this doesn't work Sad I also tried to forward p444 in the AVM router, but I can only forward it to the EA6900.

What am I doing wrong??

(Just some extra info: I wanted to remove the AVM-box from my network, but this one is required to get access to the internet; provider does not give the configuration. Basically the AVM is just to provide access to the internet. Al of my devices like pc's NAS, phones etc are connected to the DD-WRT devices; the EA6900 is the unit which handles all traffic, ip-addresses, wifi etc). EA6400 is just an extra AP to cover my third floor.
Sponsor
kenza750
DD-WRT Novice


Joined: 03 Jan 2012
Posts: 5
Location: Netherlands

PostPosted: Sat Jun 15, 2019 8:20    Post subject: Reply with quote
@eibgrad/d0ugh: thanks for your reply and suggstios to improve the setup.

My initial thoughts were to put the AVM into bridge mode, but I'm also using a DECT telephone which connects to the AVM (which has built-in dect baasestation). I do not know whether this functionality will be lost when I'll put the AVM into bridge. I will search on that.

Secondly, OpenVPN is what I also want to run. That's one of the reasons why I decided to put the EA6900 running DDWRT Smile.

@d0ugh: you mentioned "running your own VPN server at home"...Do you mean you have a subscription with a VPN-provider and using that account to configure the DDWRT OpenVPN?

Regarding the different subnets: I prefer to just have only 1 subnet, but because I want the EA6900 to handle all the routing, I decided to put everything behind the AVM into a seperate subnet. Ideally I want to completely remove the AVM (but the provider does not want to share the config to configure my own router) OR put it into bridge mode.
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12837
Location: Netherlands

PostPosted: Sat Jun 15, 2019 12:56    Post subject: Reply with quote
Set the WAN IP of the EA 6900 in the DMZ of the Fritzbox so that everything is forwarded to the EA6900 and you do not have to port forward on the Fritzbox

Are you running a modified CFE on the EA6900 or have taken other measures to circumvent the 32 K bug?

If not see my signature for EA6900 info

_________________
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
kenza750
DD-WRT Novice


Joined: 03 Jan 2012
Posts: 5
Location: Netherlands

PostPosted: Sat Jun 15, 2019 20:25    Post subject: Reply with quote
Thx EGC. DMZ is a good suggestion to make it easier. Didn’t think of it.
At this moment I am trying to find a way to setup my ea6900 to replace the AVM. I have found a topic of another person on some forum who managed to configure his own router in a way that it can replace the providers AVM (configuring VLANS and Vendorclass etc).

@32kb NVRAM bug: I followed your install guide to install dd-wrt on my EA6900. I used your second method to mitigate the bug (quote):

“The second method removes empty NVRAM variables. You can remove the empty NVRAM variables by telnetting into your router (the login username is always: root) and execute the following two commands:
for line in `nvram show | grep =$ `; do var=${line%*=}; nvram unset $var; done
nvram commit

You can set the first line: “for line in `nvram show | grep =$ `; do var=${line%*=}; nvram unset $var; done” without the quotes in your startup script at the Administration/Commands tab so that after a reboot your NVRAM size stays low.
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12837
Location: Netherlands

PostPosted: Sun Jun 16, 2019 9:51    Post subject: Reply with quote
You should be fine, but keep an eye on your nvram usage
_________________
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
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking 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