What would be the best way to setup the current network idea

Post new topic   Reply to topic    DD-WRT Forum Index -> General Questions
Author Message
allyouhadtodo
DD-WRT Novice


Joined: 02 Nov 2022
Posts: 1

PostPosted: Wed Nov 02, 2022 22:30    Post subject: What would be the best way to setup the current network idea Reply with quote
Hey.

I've an optical net, which means that my current setup looks like ONT->ISP issued router->devices.

I've purchased a router and put DD-wrt on it, so the network is going to look something like this: ONT -> ISP issued router -> DD-WRT router -> devices

Here's the thing though:

1) I don't want double NAT
2) I need all the devices to go through the DD-WRT router to the internet because I want to connect a RasPi Pihole to the DD-WRT and have all traffic go through Pihole's DNS(something I can't do on my default ISP issued router)
3) I want to have OpenVPN (or w/e else) access to my home network from anywhere in the world

Currently running in a bit of an issue. ISP issued router is on 192.168.1.x network with usual subnet mask, I've connected the DD-WRT to it and at this point I'm stuck.

How do I set it up to look exactly like I want it to as described above?
Sponsor
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12837
Location: Netherlands

PostPosted: Thu Nov 03, 2022 9:17    Post subject: Reply with quote
You have some incompatible demands. Sad

If you are not using the ISP router for its wifi and LAN you can ask your provider to put the router in bridge mode so that everything is being done by DDWRT.

Alternatively place the DDWRT in the DMZ of the ISP router.

The DDWRT's Local IP address should be 192.168.2.1

General DDWRT must read information:
See the forum guidelines with helpful pointers about how to research your router, where and what firmware to download, where and how to post and many other helpful tips:
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087

Linking routers: https://wiki.dd-wrt.com/wiki/index.php/Linking_Routers


P.S. About what router are we talking?

_________________
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
the-joker
DD-WRT Developer/Maintainer


Joined: 31 Jul 2021
Posts: 2146
Location: All over YOUR webs

PostPosted: Thu Nov 03, 2022 9:21    Post subject: Reply with quote
Either put your ISP router in bridge/modem mode mode or set the ISP router to 192.168.2.1 and DD-WRT stays on default 192.168.1.1.

You dont want your ISP router to do and DHCP at all IMOt, if it were me, I'de put ISP router in bridge/modem mode because invariably these run outdated kernels and libraries which maybe susceptible to CVEs and other security issues. DD-WRT gets newer kernels still maintained until 2023/27, assuming your DD-WRT router is something decent and modern'ish.

DMZ is a sledgehammer in case your ISP router doesn't allow you to put it in bridge/mode mode and its easier IMO.

And FYI this is not a new network idea, maybe for you it is, I have that setup (ISP shit in bridge mode) as I advised minus the fiber (the fiber is irrelevant to the setup).

_________________
Saving your retinas from the burn!🔥
DD-WRT Inspired themes for routers
DD-WRT Inspired themes for the phpBB Forum
DD-WRT Inspired themes for the SVN Trac & FTP site
Join in for a chat @ #style_it_themes_public:matrix.org or #style_it_themes:discord

DD-WRT UI Themes Bug Reporting and Discussion thread

Router: ANus RT-AC68U E1 (recognized as C1)
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> General Questions 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 can attach files in this forum
You can download files in this forum